summaryrefslogtreecommitdiff
path: root/nest/iface.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-06-04 20:30:11 +0000
committerMartin Mares <mj@ucw.cz>1998-06-04 20:30:11 +0000
commit620a355a15d65a8a2980f98b2de3e7d04c3dab62 (patch)
tree8c616039ccb93a8fcde4e56359efcb231211dcee /nest/iface.h
parent236d4eb8ce5dc894e97bcf1f561186d41c361cea (diff)
Now sending IF_CHANGE_CREATE when a new interface appears and IF_CHANGE_UP
only if it's really up.
Diffstat (limited to 'nest/iface.h')
-rw-r--r--nest/iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index c3594493..b1984b39 100644
--- a/nest/iface.h
+++ b/nest/iface.h
@@ -44,6 +44,7 @@ struct iface {
#define IF_CHANGE_DOWN 2
#define IF_CHANGE_FLAGS 4 /* Can be converted to down/up internally */
#define IF_CHANGE_MTU 8
+#define IF_CHANGE_CREATE 16 /* Seen this interface for the first time */
void if_init(void);
void if_dump(struct iface *);