summaryrefslogtreecommitdiff
path: root/include/rtnl.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-10-14 14:15:21 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-10-14 14:15:21 +0200
commit6d8e8898bd6b68dc07305b0e2b1d3e007fa37dfd (patch)
tree9cabbeca2758070717b99d2aff21b463e3ff8c18 /include/rtnl.h
parentb6997d2f97406ca50ad536be16e09bb68dbd1ed4 (diff)
downloadconnman-6d8e8898bd6b68dc07305b0e2b1d3e007fa37dfd.tar.gz
connman-6d8e8898bd6b68dc07305b0e2b1d3e007fa37dfd.tar.bz2
connman-6d8e8898bd6b68dc07305b0e2b1d3e007fa37dfd.zip
Add support for newlink and dellink callbacks
Diffstat (limited to 'include/rtnl.h')
-rw-r--r--include/rtnl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtnl.h b/include/rtnl.h
index 42bd79a4..3af63214 100644
--- a/include/rtnl.h
+++ b/include/rtnl.h
@@ -39,6 +39,10 @@ extern "C" {
struct connman_rtnl {
const char *name;
int priority;
+ void (*newlink) (unsigned short type, int index,
+ unsigned flags, unsigned change);
+ void (*dellink) (unsigned short type, int index,
+ unsigned flags, unsigned change);
void (*link_flags) (int index, short flags);
};