Added interface index (used only by OS-dependent code since ifindexes itself
are OS-dependent).
This commit is contained in:
parent
d4bc8dc000
commit
b53499cdaa
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ struct iface {
|
||||||
unsigned flags;
|
unsigned flags;
|
||||||
unsigned mtu;
|
unsigned mtu;
|
||||||
struct ifa *ifa; /* First address is primary */
|
struct ifa *ifa; /* First address is primary */
|
||||||
|
unsigned index; /* OS-dependent interface index */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IF_UP 1
|
#define IF_UP 1
|
||||||
|
|
Loading…
Reference in a new issue