Skip to content

Commit

Permalink
(IP_MULTICAST_TTL, IP_MULTICAST_LOOP, IP_MULTICAST_IP, IP_ADD_MEMBERS…
Browse files Browse the repository at this point in the history
…HIP, IP_DROP_MEMBERSHIP): New IP layer socket options.
  • Loading branch information
Thomas Bushnell, BSG committed Aug 8, 1995
1 parent a88363f commit 3de5ea6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inet/netinet/in.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3de5ea6

Please sign in to comment.