projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ded93
)
net/if.h: add some missing IFF_ constants
author
rofl0r
<retnyg@gmx.net>
Fri, 5 Apr 2013 16:57:06 +0000
(18:57 +0200)
committer
rofl0r
<retnyg@gmx.net>
Fri, 5 Apr 2013 17:26:23 +0000
(19:26 +0200)
include/net/if.h
patch
|
blob
|
history
diff --git
a/include/net/if.h
b/include/net/if.h
index 5813976e1097ecf46def427ec2fe1b23b104348d..3f4fc0927388362b5eb2bb230e8a85f9f8a28385 100644
(file)
--- a/
include/net/if.h
+++ b/
include/net/if.h
@@
-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;