about summary refs log tree commit diff
path: root/include/netinet/in.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-12-20 11:42:03 -0500
committerRich Felker <dalias@aerifal.cx>2013-12-20 11:42:03 -0500
commitc91ad4f7167bad8314b06c487ddd1c638981fc24 (patch)
treea9bee62cb41e45aef2b7280d35123861b1735123 /include/netinet/in.h
parente2b4525e3bb50acdfe095e6829b040636d37a295 (diff)
downloadmusl-c91ad4f7167bad8314b06c487ddd1c638981fc24.tar.gz
musl-c91ad4f7167bad8314b06c487ddd1c638981fc24.tar.xz
musl-c91ad4f7167bad8314b06c487ddd1c638981fc24.zip
add netinet/igmp.h and multicast groups to netinet/in.h
based on patch by Timo Teräs.
Diffstat (limited to 'include/netinet/in.h')
-rw-r--r--include/netinet/in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 8be51e83..db961442 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -53,6 +53,11 @@ struct ipv6_mreq
 #define INADDR_NONE       ((in_addr_t) 0xffffffff)
 #define INADDR_LOOPBACK   ((in_addr_t) 0x7f000001)
 
+#define INADDR_UNSPEC_GROUP     ((in_addr_t) 0xe0000000)
+#define INADDR_ALLHOSTS_GROUP   ((in_addr_t) 0xe0000001)
+#define INADDR_ALLRTRS_GROUP    ((in_addr_t) 0xe0000002)
+#define INADDR_MAX_LOCAL_GROUP  ((in_addr_t) 0xe00000ff)
+
 #define IN6ADDR_ANY_INIT      { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
 #define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }