summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-24 14:48:09 +0000
committerMartin Mares <mj@ucw.cz>1998-05-24 14:48:09 +0000
commitb53499cdaa21994f5d92afed23fdf85c2b7fe134 (patch)
treea567157d5fc4b448e114d5a282362ebdce12460e /nest
parentd4bc8dc00037e868771fb259a1e7b9ae5e92ed5a (diff)
Added interface index (used only by OS-dependent code since ifindexes itself
are OS-dependent).
Diffstat (limited to 'nest')
-rw-r--r--nest/iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index 7a363621..454c0501 100644
--- a/nest/iface.h
+++ b/nest/iface.h
@@ -17,6 +17,7 @@ struct iface {
unsigned flags;
unsigned mtu;
struct ifa *ifa; /* First address is primary */
+ unsigned index; /* OS-dependent interface index */
};
#define IF_UP 1