musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013年04月05日 18:57:06 +0200
committerrofl0r <retnyg@gmx.net>2013年04月05日 19:26:23 +0200
commit5ffe4940507110f6d0220496cdfc411b8b89aa3d (patch)
tree0deb295309693e157215929a249a31ae5776df59
parentf4ded939bf90cd6baed6b4e723e54a62c9bdb6b9 (diff)
downloadmusl-5ffe4940507110f6d0220496cdfc411b8b89aa3d.tar.gz
net/if.h: add some missing IFF_ constants
Diffstat
-rw-r--r--include/net/if.h 5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/if.h b/include/net/if.h
index 5813976e..3f4fc092 100644
--- 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;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 00:39:23 +0000

AltStyle によって変換されたページ (->オリジナル) /