summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-24 16:48:09 +0200
committerMartin Mares <mj@ucw.cz>1998-05-24 16:48:09 +0200
commitb53499cdaa21994f5d92afed23fdf85c2b7fe134 (patch)
treea567157d5fc4b448e114d5a282362ebdce12460e
parentd4bc8dc00037e868771fb259a1e7b9ae5e92ed5a (diff)
downloadbird-b53499cdaa21994f5d92afed23fdf85c2b7fe134.tar
bird-b53499cdaa21994f5d92afed23fdf85c2b7fe134.zip
Added interface index (used only by OS-dependent code since ifindexes itself
are OS-dependent).
-rw-r--r--nest/iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index 7a36362..454c050 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