diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-20 14:59:00 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-20 14:59:00 +0100 |
commit | bfd1ba2cac8a13c096ed06ce6fa8a40d031ae9fa (patch) | |
tree | 401da83c16b9c95ae284e25aabfea6dcbdf8c5f5 /system/include/net/netinet/in.h | |
parent | f28cec576684a11234116c8cb1c63f61b146d1ca (diff) |
networking and sockets header additions
Diffstat (limited to 'system/include/net/netinet/in.h')
-rw-r--r-- | system/include/net/netinet/in.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/include/net/netinet/in.h b/system/include/net/netinet/in.h index 2e4e4e57..2ac98dfe 100644 --- a/system/include/net/netinet/in.h +++ b/system/include/net/netinet/in.h @@ -48,6 +48,26 @@ struct ip_mreq { struct in_addr imr_interface; }; +#define IP_MULTICAST_IF 32 +#define IP_MULTICAST_TTL 33 +#define IP_MULTICAST_LOOP 34 +#define IP_ADD_MEMBERSHIP 35 +#define IP_DROP_MEMBERSHIP 36 +#define IP_UNBLOCK_SOURCE 37 +#define IP_BLOCK_SOURCE 38 +#define IP_ADD_SOURCE_MEMBERSHIP 39 +#define IP_DROP_SOURCE_MEMBERSHIP 40 +#define IP_MSFILTER 41 +#define MCAST_JOIN_GROUP 42 +#define MCAST_BLOCK_SOURCE 43 +#define MCAST_UNBLOCK_SOURCE 44 +#define MCAST_LEAVE_GROUP 45 +#define MCAST_JOIN_SOURCE_GROUP 46 +#define MCAST_LEAVE_SOURCE_GROUP 47 +#define MCAST_MSFILTER 48 +#define IP_MULTICAST_ALL 49 +#define IP_UNICAST_IF 50 + #ifdef __cplusplus } #endif |