summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1995-08-08 16:14:02 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1995-08-08 16:14:02 +0000
commit3de5ea654cb20387709d42237347d4c2b31bd9e5 (patch)
tree7a31c7c63a0b66fb5b0496952f57c3c64c8e81cf /inet
parenta88363fbc7f458891fbc36dd2e490af13ed6058d (diff)
downloadglibc-3de5ea654cb20387709d42237347d4c2b31bd9e5.tar.gz
glibc-3de5ea654cb20387709d42237347d4c2b31bd9e5.tar.xz
glibc-3de5ea654cb20387709d42237347d4c2b31bd9e5.zip
(IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP layer socket options.
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 9efa5fc0f6..fa4e016635 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -166,6 +166,11 @@ struct sockaddr_in
 #define	IP_RECVRETOPTS	6	/* bool; Receive IP options for response.  */
 #define	IP_RECVDSTADDR	7	/* bool; Receive IP dst addr w/datagram.  */
 #define	IP_RETOPTS	8	/* ip_opts; Set/get IP per-packet options.  */
+#define IP_MULTICAST_TTL 9	/* int; TTL for multicast packets */
+#define IP_MULTICAST_LOOP 10	/* bool; Use loopback for multicast */
+#define IP_MULTICAST_IF 11	/* not used; intended to specify interface */
+#define IP_ADD_MEMBERSHIP 12	/* int; join multicast group */
+#define IP_DROP_MEMBERSHIP 13	/* int; leave multicast group */
 
 /* Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
    The `ip_dst' field is used for the first-hop gateway when using a