summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-06-29 05:23:14 +0200
committerAlexander Couzens <lynxis@fe80.eu>2018-07-05 02:45:20 +0200
commit57f87ad89b38d1ea574c39a2d720747120dcc5fb (patch)
treed1a8265d7180b26177466a975ed8413023e0bbef /interface.h
parent03785fb09734be05a721318d2b5378ae1656f64c (diff)
downloadnetifd-57f87ad89b38d1ea574c39a2d720747120dcc5fb.tar.gz
Introduce new interface event "create" (IFEV_CREATE)
"create" will be called before the proto handlers initialised. Acked-by: Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
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 0e58f69..e5639eb 100644
--- a/interface.h
+++ b/interface.h
@@ -28,6 +28,8 @@ enum interface_event {
IFEV_FREE,
IFEV_RELOAD,
IFEV_LINK_UP,
+ /* send when a new interface created. This is before proto handlers has been attached. */
+ IFEV_CREATE,
};
enum interface_state {