Back to index

glibc  2.9
Classes | Defines
in.h File Reference

Go to the source code of this file.

Classes

struct  ip_opts

Defines

#define IP_OPTIONS   1 /* ip_opts; IP per-packet options. */
#define IP_HDRINCL   2 /* int; Header is included with data. */
#define IP_TOS   3 /* int; IP type of service and precedence. */
#define IP_TTL   4 /* int; IP time to live. */
#define IP_RECVOPTS   5 /* bool; Receive all IP options w/datagram. */
#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_IF   9 /* in_addr; set/get IP multicast i/f */
#define IP_MULTICAST_TTL   10 /* u_char; set/get IP multicast ttl */
#define IP_MULTICAST_LOOP   11 /* i_char; set/get IP multicast loopback */
#define IP_ADD_MEMBERSHIP   12 /* ip_mreq; add an IP group membership */
#define IP_DROP_MEMBERSHIP   13 /* ip_mreq; drop an IP group membership */
#define IPV6_ADDRFORM   1
#define IPV6_RXINFO   2
#define IPV6_HOPOPTS   3
#define IPV6_DSTOPTS   4
#define IPV6_RTHDR   5
#define IPV6_PKTOPTIONS   6
#define IPV6_CHECKSUM   7
#define IPV6_HOPLIMIT   8
#define IPV6_TXINFO   IPV6_RXINFO
#define SCM_SRCINFO   IPV6_TXINFO
#define SCM_SRCRT   IPV6_RXSRCRT
#define IPV6_UNICAST_HOPS   16
#define IPV6_MULTICAST_IF   17
#define IPV6_MULTICAST_HOPS   18
#define IPV6_MULTICAST_LOOP   19
#define IPV6_JOIN_GROUP   20
#define IPV6_LEAVE_GROUP   21
#define IPV6_ROUTER_ALERT   22
#define IPV6_MTU_DISCOVER   23
#define IPV6_MTU   24
#define IPV6_RECVERR   25
#define IPV6_V6ONLY   26
#define IPV6_JOIN_ANYCAST   27
#define IPV6_LEAVE_ANYCAST   28
#define IPV6_ADD_MEMBERSHIP   IPV6_JOIN_GROUP
#define IPV6_DROP_MEMBERSHIP   IPV6_LEAVE_GROUP
#define IPV6_RXHOPOPTS   IPV6_HOPOPTS
#define IPV6_RXDSTOPTS   IPV6_DSTOPTS
#define IPV6_RTHDR_LOOSE   0 /* Hop doesn't need to be neighbour. */
#define IPV6_RTHDR_STRICT   1 /* Hop must be a neighbour. */
#define IPV6_RTHDR_TYPE_0   0 /* IPv6 Routing header type 0. */

Class Documentation

struct ip_opts

Definition at line 45 of file in.h.

Class Members
char ip_opts

Define Documentation

#define IP_ADD_MEMBERSHIP   12 /* ip_mreq; add an IP group membership */

Definition at line 39 of file in.h.

#define IP_DROP_MEMBERSHIP   13 /* ip_mreq; drop an IP group membership */

Definition at line 40 of file in.h.

#define IP_HDRINCL   2 /* int; Header is included with data. */

Definition at line 29 of file in.h.

#define IP_MULTICAST_IF   9 /* in_addr; set/get IP multicast i/f */

Definition at line 36 of file in.h.

#define IP_MULTICAST_LOOP   11 /* i_char; set/get IP multicast loopback */

Definition at line 38 of file in.h.

#define IP_MULTICAST_TTL   10 /* u_char; set/get IP multicast ttl */

Definition at line 37 of file in.h.

#define IP_OPTIONS   1 /* ip_opts; IP per-packet options. */

Definition at line 28 of file in.h.

#define IP_RECVDSTADDR   7 /* bool; Receive IP dst addr w/datagram. */

Definition at line 34 of file in.h.

#define IP_RECVOPTS   5 /* bool; Receive all IP options w/datagram. */

Definition at line 32 of file in.h.

#define IP_RECVRETOPTS   6 /* bool; Receive IP options for response. */

Definition at line 33 of file in.h.

#define IP_RETOPTS   8 /* ip_opts; Set/get IP per-packet options. */

Definition at line 35 of file in.h.

#define IP_TOS   3 /* int; IP type of service and precedence. */

Definition at line 30 of file in.h.

#define IP_TTL   4 /* int; IP time to live. */

Definition at line 31 of file in.h.

Definition at line 80 of file in.h.

#define IPV6_ADDRFORM   1

Definition at line 52 of file in.h.

#define IPV6_CHECKSUM   7

Definition at line 58 of file in.h.

Definition at line 81 of file in.h.

#define IPV6_DSTOPTS   4

Definition at line 55 of file in.h.

#define IPV6_HOPLIMIT   8

Definition at line 59 of file in.h.

#define IPV6_HOPOPTS   3

Definition at line 54 of file in.h.

#define IPV6_JOIN_ANYCAST   27

Definition at line 76 of file in.h.

#define IPV6_JOIN_GROUP   20

Definition at line 69 of file in.h.

#define IPV6_LEAVE_ANYCAST   28

Definition at line 77 of file in.h.

#define IPV6_LEAVE_GROUP   21

Definition at line 70 of file in.h.

#define IPV6_MTU   24

Definition at line 73 of file in.h.

#define IPV6_MTU_DISCOVER   23

Definition at line 72 of file in.h.

#define IPV6_MULTICAST_HOPS   18

Definition at line 67 of file in.h.

#define IPV6_MULTICAST_IF   17

Definition at line 66 of file in.h.

#define IPV6_MULTICAST_LOOP   19

Definition at line 68 of file in.h.

#define IPV6_PKTOPTIONS   6

Definition at line 57 of file in.h.

#define IPV6_RECVERR   25

Definition at line 74 of file in.h.

#define IPV6_ROUTER_ALERT   22

Definition at line 71 of file in.h.

#define IPV6_RTHDR   5

Definition at line 56 of file in.h.

#define IPV6_RTHDR_LOOSE   0 /* Hop doesn't need to be neighbour. */

Definition at line 86 of file in.h.

#define IPV6_RTHDR_STRICT   1 /* Hop must be a neighbour. */

Definition at line 87 of file in.h.

#define IPV6_RTHDR_TYPE_0   0 /* IPv6 Routing header type 0. */

Definition at line 89 of file in.h.

Definition at line 83 of file in.h.

Definition at line 82 of file in.h.

#define IPV6_RXINFO   2

Definition at line 53 of file in.h.

#define IPV6_TXINFO   IPV6_RXINFO

Definition at line 61 of file in.h.

#define IPV6_UNICAST_HOPS   16

Definition at line 65 of file in.h.

#define IPV6_V6ONLY   26

Definition at line 75 of file in.h.

#define SCM_SRCINFO   IPV6_TXINFO

Definition at line 62 of file in.h.

#define SCM_SRCRT   IPV6_RXSRCRT

Definition at line 63 of file in.h.