projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netifd: Check interface state only when main device is set during interface_change_config
[project/netifd.git]
/
interface.h
diff --git
a/interface.h
b/interface.h
index
1004bdd
..
6cfe264
100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-41,6
+41,13
@@
enum interface_config_state {
IFC_REMOVE
};
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;
struct interface_error {
struct list_head list;
@@
-97,11
+104,13
@@
struct interface {
bool device_config;
bool enabled;
bool link_state;
bool device_config;
bool enabled;
bool link_state;
+ bool force_link;
bool dynamic;
time_t start_time;
enum interface_state state;
enum interface_config_state config_state;
bool dynamic;
time_t start_time;
enum interface_state state;
enum interface_config_state config_state;
+ enum interface_update_flags updated;
struct list_head users;
struct list_head users;