diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-15 07:49:43 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-15 07:49:43 +0100 |
commit | 97fc312c6036c72eb392dcefe080e30404673f18 (patch) | |
tree | d0701fc3bb9d179332bdb4f2470c00ca169f8ddf /include/rtnl.h | |
parent | 0323435d73aeaf0dea25e40e7b41bf6d1a4534f3 (diff) | |
download | connman-97fc312c6036c72eb392dcefe080e30404673f18.tar.gz connman-97fc312c6036c72eb392dcefe080e30404673f18.tar.bz2 connman-97fc312c6036c72eb392dcefe080e30404673f18.zip |
Add support RTNL gateway change notifications
Diffstat (limited to 'include/rtnl.h')
-rw-r--r-- | include/rtnl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtnl.h b/include/rtnl.h index 395d20bc..5637fb9d 100644 --- a/include/rtnl.h +++ b/include/rtnl.h @@ -43,12 +43,15 @@ struct connman_rtnl { 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 } |