mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 19:25:55 +00:00
net/if.h: add some missing IFF_ constants
This commit is contained in:
parent
f4ded939bf
commit
5ffe494050
@ -43,6 +43,11 @@ void if_freenameindex (struct if_nameindex *);
|
||||
#define IFF_PORTSEL 0x2000
|
||||
#define IFF_AUTOMEDIA 0x4000
|
||||
#define IFF_DYNAMIC 0x8000
|
||||
#define IFF_LOWER_UP 0x10000
|
||||
#define IFF_DORMANT 0x20000
|
||||
#define IFF_ECHO 0x40000
|
||||
#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \
|
||||
IFF_ECHO|IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT)
|
||||
|
||||
struct ifaddr {
|
||||
struct sockaddr ifa_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user