summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2014-02-11 08:30:51 +0000
committerSteven Barth <steven@midlink.org>2014-02-27 12:15:32 +0100
commitf35b76c61baf68dc5dd8440fc06d860f8dfacc44 (patch)
treec04889155d11b42469756d1744f716b7f0dfab25 /interface.h
parent3d26347d0042313be3c9347f8d82c4ccea67fe68 (diff)
downloadnetifd-f35b76c61baf68dc5dd8440fc06d860f8dfacc44.tar.gz
netifd: Link layer state awareness support on interface level
The link layer state is monitored for a given interface; an interface will be setup when both enabled and link layer active. Likewise an interface will be teared down when either disabled or link layer down. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index c3a4379..9a7bb3d 100644
--- a/interface.h
+++ b/interface.h
@@ -102,6 +102,8 @@ struct interface {
bool autostart;
bool config_autostart;
bool device_config;
+ bool enabled;
+ bool link_state;
bool dynamic;
time_t start_time;