Add network types for Bluetooth
[connman] / include / rtnl.h
index 42bd79a..5637fb9 100644 (file)
@@ -39,13 +39,19 @@ extern "C" {
 struct connman_rtnl {
        const char *name;
        int priority;
-       void (*link_flags) (int index, short flags);
+       void (*newlink) (unsigned short type, int index,
+                                       unsigned flags, unsigned change);
+       void (*dellink) (unsigned short type, int index,
+                                       unsigned flags, unsigned change);
+       void (*newgateway) (int index, const char *gateway);
+       void (*delgateway) (int index, const char *gateway);
 };
 
 extern int connman_rtnl_register(struct connman_rtnl *rtnl);
 extern void connman_rtnl_unregister(struct connman_rtnl *rtnl);
 
 int connman_rtnl_send_getlink(void);
+int connman_rtnl_send_getroute(void);
 
 #ifdef __cplusplus
 }