diff options
author | Steven Barth <steven@midlink.org> | 2014-01-17 00:39:40 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-01-17 00:39:40 +0100 |
commit | 1418ef786f275b8458462ee3494573524ca0042c (patch) | |
tree | b8f54642f54ad2b6d0bbda84290281bf53a0d677 /interface.h | |
parent | 7d79d0a8aa5a5b4c1ed987af119356438d98fe7b (diff) |
Add indicator-flags to ubus and hotplug update-events
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/interface.h b/interface.h index 4b7de59..c3a4379 100644 --- a/interface.h +++ b/interface.h @@ -41,6 +41,13 @@ enum interface_config_state { IFC_REMOVE }; +enum interface_update_flags { + IUF_ADDRESS = (1 << 0), + IUF_ROUTE = (1 << 1), + IUF_PREFIX = (1 << 2), + IUF_DATA = (1 << 3), +}; + struct interface_error { struct list_head list; @@ -100,6 +107,7 @@ struct interface { time_t start_time; enum interface_state state; enum interface_config_state config_state; + enum interface_update_flags updated; struct list_head users; |