Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
in6.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  in6_addr
 
struct  sockaddr_in6
 
struct  ipv6_mreq
 
struct  in6_flowlabel_req
 

Macros

#define s6_addr   in6_u.u6_addr8
 
#define s6_addr16   in6_u.u6_addr16
 
#define s6_addr32   in6_u.u6_addr32
 
#define ipv6mr_acaddr   ipv6mr_multiaddr
 
#define IPV6_FL_A_GET   0
 
#define IPV6_FL_A_PUT   1
 
#define IPV6_FL_A_RENEW   2
 
#define IPV6_FL_F_CREATE   1
 
#define IPV6_FL_F_EXCL   2
 
#define IPV6_FL_S_NONE   0
 
#define IPV6_FL_S_EXCL   1
 
#define IPV6_FL_S_PROCESS   2
 
#define IPV6_FL_S_USER   3
 
#define IPV6_FL_S_ANY   255
 
#define IPV6_FLOWINFO_FLOWLABEL   0x000fffff
 
#define IPV6_FLOWINFO_PRIORITY   0x0ff00000
 
#define IPV6_PRIORITY_UNCHARACTERIZED   0x0000
 
#define IPV6_PRIORITY_FILLER   0x0100
 
#define IPV6_PRIORITY_UNATTENDED   0x0200
 
#define IPV6_PRIORITY_RESERVED1   0x0300
 
#define IPV6_PRIORITY_BULK   0x0400
 
#define IPV6_PRIORITY_RESERVED2   0x0500
 
#define IPV6_PRIORITY_INTERACTIVE   0x0600
 
#define IPV6_PRIORITY_CONTROL   0x0700
 
#define IPV6_PRIORITY_8   0x0800
 
#define IPV6_PRIORITY_9   0x0900
 
#define IPV6_PRIORITY_10   0x0a00
 
#define IPV6_PRIORITY_11   0x0b00
 
#define IPV6_PRIORITY_12   0x0c00
 
#define IPV6_PRIORITY_13   0x0d00
 
#define IPV6_PRIORITY_14   0x0e00
 
#define IPV6_PRIORITY_15   0x0f00
 
#define IPPROTO_HOPOPTS   0 /* IPv6 hop-by-hop options */
 
#define IPPROTO_ROUTING   43 /* IPv6 routing header */
 
#define IPPROTO_FRAGMENT   44 /* IPv6 fragmentation header */
 
#define IPPROTO_ICMPV6   58 /* ICMPv6 */
 
#define IPPROTO_NONE   59 /* IPv6 no next header */
 
#define IPPROTO_DSTOPTS   60 /* IPv6 destination options */
 
#define IPPROTO_MH   135 /* IPv6 mobility header */
 
#define IPV6_TLV_PAD1   0
 
#define IPV6_TLV_PADN   1
 
#define IPV6_TLV_ROUTERALERT   5
 
#define IPV6_TLV_JUMBO   194
 
#define IPV6_TLV_HAO   201 /* home address option */
 
#define IPV6_ADDRFORM   1
 
#define IPV6_2292PKTINFO   2
 
#define IPV6_2292HOPOPTS   3
 
#define IPV6_2292DSTOPTS   4
 
#define IPV6_2292RTHDR   5
 
#define IPV6_2292PKTOPTIONS   6
 
#define IPV6_CHECKSUM   7
 
#define IPV6_2292HOPLIMIT   8
 
#define IPV6_NEXTHOP   9
 
#define IPV6_AUTHHDR   10 /* obsolete */
 
#define IPV6_FLOWINFO   11
 
#define IPV6_UNICAST_HOPS   16
 
#define IPV6_MULTICAST_IF   17
 
#define IPV6_MULTICAST_HOPS   18
 
#define IPV6_MULTICAST_LOOP   19
 
#define IPV6_ADD_MEMBERSHIP   20
 
#define IPV6_DROP_MEMBERSHIP   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_PMTUDISC_DONT   0
 
#define IPV6_PMTUDISC_WANT   1
 
#define IPV6_PMTUDISC_DO   2
 
#define IPV6_PMTUDISC_PROBE   3
 
#define IPV6_FLOWLABEL_MGR   32
 
#define IPV6_FLOWINFO_SEND   33
 
#define IPV6_IPSEC_POLICY   34
 
#define IPV6_XFRM_POLICY   35
 
#define IPV6_RECVPKTINFO   49
 
#define IPV6_PKTINFO   50
 
#define IPV6_RECVHOPLIMIT   51
 
#define IPV6_HOPLIMIT   52
 
#define IPV6_RECVHOPOPTS   53
 
#define IPV6_HOPOPTS   54
 
#define IPV6_RTHDRDSTOPTS   55
 
#define IPV6_RECVRTHDR   56
 
#define IPV6_RTHDR   57
 
#define IPV6_RECVDSTOPTS   58
 
#define IPV6_DSTOPTS   59
 
#define IPV6_RECVPATHMTU   60
 
#define IPV6_PATHMTU   61
 
#define IPV6_DONTFRAG   62
 
#define IPV6_RECVTCLASS   66
 
#define IPV6_TCLASS   67
 
#define IPV6_ADDR_PREFERENCES   72
 
#define IPV6_PREFER_SRC_TMP   0x0001
 
#define IPV6_PREFER_SRC_PUBLIC   0x0002
 
#define IPV6_PREFER_SRC_PUBTMP_DEFAULT   0x0100
 
#define IPV6_PREFER_SRC_COA   0x0004
 
#define IPV6_PREFER_SRC_HOME   0x0400
 
#define IPV6_PREFER_SRC_CGA   0x0008
 
#define IPV6_PREFER_SRC_NONCGA   0x0800
 
#define IPV6_MINHOPCOUNT   73
 
#define IPV6_ORIGDSTADDR   74
 
#define IPV6_RECVORIGDSTADDR   IPV6_ORIGDSTADDR
 
#define IPV6_TRANSPARENT   75
 
#define IPV6_UNICAST_IF   76
 

Macro Definition Documentation

#define IPPROTO_DSTOPTS   60 /* IPv6 destination options */

Definition at line 127 of file in6.h.

#define IPPROTO_FRAGMENT   44 /* IPv6 fragmentation header */

Definition at line 124 of file in6.h.

#define IPPROTO_HOPOPTS   0 /* IPv6 hop-by-hop options */

Definition at line 122 of file in6.h.

#define IPPROTO_ICMPV6   58 /* ICMPv6 */

Definition at line 125 of file in6.h.

#define IPPROTO_MH   135 /* IPv6 mobility header */

Definition at line 128 of file in6.h.

#define IPPROTO_NONE   59 /* IPv6 no next header */

Definition at line 126 of file in6.h.

#define IPPROTO_ROUTING   43 /* IPv6 routing header */

Definition at line 123 of file in6.h.

#define IPV6_2292DSTOPTS   4

Definition at line 146 of file in6.h.

#define IPV6_2292HOPLIMIT   8

Definition at line 150 of file in6.h.

#define IPV6_2292HOPOPTS   3

Definition at line 145 of file in6.h.

#define IPV6_2292PKTINFO   2

Definition at line 144 of file in6.h.

#define IPV6_2292PKTOPTIONS   6

Definition at line 148 of file in6.h.

#define IPV6_2292RTHDR   5

Definition at line 147 of file in6.h.

#define IPV6_ADD_MEMBERSHIP   20

Definition at line 159 of file in6.h.

#define IPV6_ADDR_PREFERENCES   72

Definition at line 246 of file in6.h.

#define IPV6_ADDRFORM   1

Definition at line 143 of file in6.h.

#define IPV6_AUTHHDR   10 /* obsolete */

Definition at line 152 of file in6.h.

#define IPV6_CHECKSUM   7

Definition at line 149 of file in6.h.

#define IPV6_DONTFRAG   62

Definition at line 214 of file in6.h.

#define IPV6_DROP_MEMBERSHIP   21

Definition at line 160 of file in6.h.

#define IPV6_DSTOPTS   59

Definition at line 211 of file in6.h.

#define IPV6_FL_A_GET   0

Definition at line 76 of file in6.h.

#define IPV6_FL_A_PUT   1

Definition at line 77 of file in6.h.

#define IPV6_FL_A_RENEW   2

Definition at line 78 of file in6.h.

#define IPV6_FL_F_CREATE   1

Definition at line 80 of file in6.h.

#define IPV6_FL_F_EXCL   2

Definition at line 81 of file in6.h.

#define IPV6_FL_S_ANY   255

Definition at line 87 of file in6.h.

#define IPV6_FL_S_EXCL   1

Definition at line 84 of file in6.h.

#define IPV6_FL_S_NONE   0

Definition at line 83 of file in6.h.

#define IPV6_FL_S_PROCESS   2

Definition at line 85 of file in6.h.

#define IPV6_FL_S_USER   3

Definition at line 86 of file in6.h.

#define IPV6_FLOWINFO   11

Definition at line 153 of file in6.h.

#define IPV6_FLOWINFO_FLOWLABEL   0x000fffff

Definition at line 98 of file in6.h.

#define IPV6_FLOWINFO_PRIORITY   0x0ff00000

Definition at line 99 of file in6.h.

#define IPV6_FLOWINFO_SEND   33

Definition at line 177 of file in6.h.

#define IPV6_FLOWLABEL_MGR   32

Definition at line 176 of file in6.h.

#define IPV6_HOPLIMIT   52

Definition at line 204 of file in6.h.

#define IPV6_HOPOPTS   54

Definition at line 206 of file in6.h.

#define IPV6_IPSEC_POLICY   34

Definition at line 179 of file in6.h.

#define IPV6_JOIN_ANYCAST   27

Definition at line 166 of file in6.h.

#define IPV6_LEAVE_ANYCAST   28

Definition at line 167 of file in6.h.

#define IPV6_MINHOPCOUNT   73

Definition at line 257 of file in6.h.

#define IPV6_MTU   24

Definition at line 163 of file in6.h.

#define IPV6_MTU_DISCOVER   23

Definition at line 162 of file in6.h.

#define IPV6_MULTICAST_HOPS   18

Definition at line 157 of file in6.h.

#define IPV6_MULTICAST_IF   17

Definition at line 156 of file in6.h.

#define IPV6_MULTICAST_LOOP   19

Definition at line 158 of file in6.h.

#define IPV6_NEXTHOP   9

Definition at line 151 of file in6.h.

#define IPV6_ORIGDSTADDR   74

Definition at line 259 of file in6.h.

#define IPV6_PATHMTU   61

Definition at line 213 of file in6.h.

#define IPV6_PKTINFO   50

Definition at line 202 of file in6.h.

#define IPV6_PMTUDISC_DO   2

Definition at line 172 of file in6.h.

#define IPV6_PMTUDISC_DONT   0

Definition at line 170 of file in6.h.

#define IPV6_PMTUDISC_PROBE   3

Definition at line 173 of file in6.h.

#define IPV6_PMTUDISC_WANT   1

Definition at line 171 of file in6.h.

#define IPV6_PREFER_SRC_CGA   0x0008

Definition at line 253 of file in6.h.

#define IPV6_PREFER_SRC_COA   0x0004

Definition at line 251 of file in6.h.

#define IPV6_PREFER_SRC_HOME   0x0400

Definition at line 252 of file in6.h.

#define IPV6_PREFER_SRC_NONCGA   0x0800

Definition at line 254 of file in6.h.

#define IPV6_PREFER_SRC_PUBLIC   0x0002

Definition at line 249 of file in6.h.

#define IPV6_PREFER_SRC_PUBTMP_DEFAULT   0x0100

Definition at line 250 of file in6.h.

#define IPV6_PREFER_SRC_TMP   0x0001

Definition at line 248 of file in6.h.

#define IPV6_PRIORITY_10   0x0a00

Definition at line 112 of file in6.h.

#define IPV6_PRIORITY_11   0x0b00

Definition at line 113 of file in6.h.

#define IPV6_PRIORITY_12   0x0c00

Definition at line 114 of file in6.h.

#define IPV6_PRIORITY_13   0x0d00

Definition at line 115 of file in6.h.

#define IPV6_PRIORITY_14   0x0e00

Definition at line 116 of file in6.h.

#define IPV6_PRIORITY_15   0x0f00

Definition at line 117 of file in6.h.

#define IPV6_PRIORITY_8   0x0800

Definition at line 110 of file in6.h.

#define IPV6_PRIORITY_9   0x0900

Definition at line 111 of file in6.h.

#define IPV6_PRIORITY_BULK   0x0400

Definition at line 106 of file in6.h.

#define IPV6_PRIORITY_CONTROL   0x0700

Definition at line 109 of file in6.h.

#define IPV6_PRIORITY_FILLER   0x0100

Definition at line 103 of file in6.h.

#define IPV6_PRIORITY_INTERACTIVE   0x0600

Definition at line 108 of file in6.h.

#define IPV6_PRIORITY_RESERVED1   0x0300

Definition at line 105 of file in6.h.

#define IPV6_PRIORITY_RESERVED2   0x0500

Definition at line 107 of file in6.h.

#define IPV6_PRIORITY_UNATTENDED   0x0200

Definition at line 104 of file in6.h.

#define IPV6_PRIORITY_UNCHARACTERIZED   0x0000

Definition at line 102 of file in6.h.

#define IPV6_RECVDSTOPTS   58

Definition at line 210 of file in6.h.

#define IPV6_RECVERR   25

Definition at line 164 of file in6.h.

#define IPV6_RECVHOPLIMIT   51

Definition at line 203 of file in6.h.

#define IPV6_RECVHOPOPTS   53

Definition at line 205 of file in6.h.

#define IPV6_RECVORIGDSTADDR   IPV6_ORIGDSTADDR

Definition at line 260 of file in6.h.

#define IPV6_RECVPATHMTU   60

Definition at line 212 of file in6.h.

#define IPV6_RECVPKTINFO   49

Definition at line 201 of file in6.h.

#define IPV6_RECVRTHDR   56

Definition at line 208 of file in6.h.

#define IPV6_RECVTCLASS   66

Definition at line 232 of file in6.h.

#define IPV6_ROUTER_ALERT   22

Definition at line 161 of file in6.h.

#define IPV6_RTHDR   57

Definition at line 209 of file in6.h.

#define IPV6_RTHDRDSTOPTS   55

Definition at line 207 of file in6.h.

#define IPV6_TCLASS   67

Definition at line 233 of file in6.h.

#define IPV6_TLV_HAO   201 /* home address option */

Definition at line 137 of file in6.h.

#define IPV6_TLV_JUMBO   194

Definition at line 136 of file in6.h.

#define IPV6_TLV_PAD1   0

Definition at line 133 of file in6.h.

#define IPV6_TLV_PADN   1

Definition at line 134 of file in6.h.

#define IPV6_TLV_ROUTERALERT   5

Definition at line 135 of file in6.h.

#define IPV6_TRANSPARENT   75

Definition at line 261 of file in6.h.

#define IPV6_UNICAST_HOPS   16

Definition at line 155 of file in6.h.

#define IPV6_UNICAST_IF   76

Definition at line 262 of file in6.h.

#define IPV6_V6ONLY   26

Definition at line 165 of file in6.h.

#define IPV6_XFRM_POLICY   35

Definition at line 180 of file in6.h.

#define ipv6mr_acaddr   ipv6mr_multiaddr

Definition at line 62 of file in6.h.

#define s6_addr   in6_u.u6_addr8

Definition at line 36 of file in6.h.

#define s6_addr16   in6_u.u6_addr16

Definition at line 37 of file in6.h.

#define s6_addr32   in6_u.u6_addr32

Definition at line 38 of file in6.h.