Macros
ip6_misc.h File Reference
#include <winsock2.h>
#include <ws2tcpip.h>
Include dependency graph for ip6_misc.h:

Go to the source code of this file.

Macros

#define IN_EXPERIMENTAL(a)   ((((u_int32_t) (a)) & 0xf0000000) == 0xf0000000)
 
#define IN_LOOPBACKNET   127
 
#define IN_MULTICAST(a)   IN_CLASSD(a)
 
#define ip6_flow   ip6_ctlun.ip6_un1.ip6_un1_flow
 
#define ip6_hlim   ip6_ctlun.ip6_un1.ip6_un1_hlim
 
#define ip6_hops   ip6_ctlun.ip6_un1.ip6_un1_hlim
 
#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt
 
#define ip6_plen   ip6_ctlun.ip6_un1.ip6_un1_plen
 
#define ip6_vfc   ip6_ctlun.ip6_un2_vfc
 
#define IP6OPT_BINDING_ACK   0x07 /* 00 0 00111 */
 
#define IP6OPT_BINDING_REQ   0x08 /* 00 0 01000 */
 
#define IP6OPT_BINDING_UPDATE   0xc6 /* 11 0 00110 */
 
#define IP6OPT_EID   0x8a /* 10 0 01010 */
 
#define IP6OPT_HOME_ADDRESS   0xc9 /* 11 0 01001 */
 
#define IP6OPT_JUMBO   0xC2 /* 11 0 00010 = 194 */
 
#define IP6OPT_JUMBO_LEN   6
 
#define IP6OPT_MINLEN   2
 
#define IP6OPT_MUTABLE   0x20
 
#define IP6OPT_PAD1   0x00 /* 00 0 00000 */
 
#define IP6OPT_PADN   0x01 /* 00 0 00001 */
 
#define IP6OPT_ROUTER_ALERT   0x05 /* 00 0 00101 */
 
#define IP6OPT_RTALERT_ACTNET   2 /* contains an Active Networks msg */
 
#define IP6OPT_RTALERT_LEN   4
 
#define IP6OPT_RTALERT_MLD   0 /* Datagram contains an MLD message */
 
#define IP6OPT_RTALERT_RSVP   1 /* Datagram contains an RSVP message */
 
#define IP6OPT_TYPE(o)   ((o) & 0xC0)
 
#define IP6OPT_TYPE_DISCARD   0x40
 
#define IP6OPT_TYPE_FORCEICMP   0x80
 
#define IP6OPT_TYPE_ICMP   0xC0
 
#define IP6OPT_TYPE_SKIP   0x00
 
#define IPPROTO_AH   51 /* authentication header */
 
#define IPPROTO_DSTOPTS   60 /* IPv6 destination options */
 
#define IPPROTO_ESP   50 /* encapsulating security payload */
 
#define IPPROTO_FRAGMENT   44 /* IPv6 fragmentation header */
 
#define IPPROTO_HOPOPTS   0 /* IPv6 hop-by-hop options */
 
#define IPPROTO_ICMPV6   58 /* ICMPv6 */
 
#define IPPROTO_IPV6   41 /* IPv6 header. */
 
#define IPPROTO_NONE   59 /* IPv6 no next header */
 
#define IPPROTO_PIM   103 /* Protocol Independent Multicast. */
 
#define IPPROTO_ROUTING   43 /* IPv6 routing header */
 
#define IPV6_RTHDR_TYPE_0   0
 
#define nd_rd_cksum   nd_rd_hdr.icmp6_cksum
 
#define nd_rd_code   nd_rd_hdr.icmp6_code
 
#define nd_rd_reserved   nd_rd_hdr.icmp6_data32[0]
 
#define nd_rd_type   nd_rd_hdr.icmp6_type
 

Macro Definition Documentation

◆ IN_EXPERIMENTAL

#define IN_EXPERIMENTAL (   a)    ((((u_int32_t) (a)) & 0xf0000000) == 0xf0000000)

Definition at line 36 of file ip6_misc.h.

◆ IN_LOOPBACKNET

#define IN_LOOPBACKNET   127

Definition at line 38 of file ip6_misc.h.

◆ IN_MULTICAST

#define IN_MULTICAST (   a)    IN_CLASSD(a)

Definition at line 33 of file ip6_misc.h.

◆ ip6_flow

#define ip6_flow   ip6_ctlun.ip6_un1.ip6_un1_flow

Definition at line 95 of file ip6_misc.h.

◆ ip6_hlim

#define ip6_hlim   ip6_ctlun.ip6_un1.ip6_un1_hlim

Definition at line 98 of file ip6_misc.h.

◆ ip6_hops

#define ip6_hops   ip6_ctlun.ip6_un1.ip6_un1_hlim

Definition at line 99 of file ip6_misc.h.

◆ ip6_nxt

#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt

Definition at line 97 of file ip6_misc.h.

◆ ip6_plen

#define ip6_plen   ip6_ctlun.ip6_un1.ip6_un1_plen

Definition at line 96 of file ip6_misc.h.

◆ ip6_vfc

#define ip6_vfc   ip6_ctlun.ip6_un2_vfc

Definition at line 94 of file ip6_misc.h.

◆ IP6OPT_BINDING_ACK

#define IP6OPT_BINDING_ACK   0x07 /* 00 0 00111 */

Definition at line 136 of file ip6_misc.h.

◆ IP6OPT_BINDING_REQ

#define IP6OPT_BINDING_REQ   0x08 /* 00 0 01000 */

Definition at line 137 of file ip6_misc.h.

◆ IP6OPT_BINDING_UPDATE

#define IP6OPT_BINDING_UPDATE   0xc6 /* 11 0 00110 */

Definition at line 135 of file ip6_misc.h.

◆ IP6OPT_EID

#define IP6OPT_EID   0x8a /* 10 0 01010 */

Definition at line 139 of file ip6_misc.h.

◆ IP6OPT_HOME_ADDRESS

#define IP6OPT_HOME_ADDRESS   0xc9 /* 11 0 01001 */

Definition at line 138 of file ip6_misc.h.

◆ IP6OPT_JUMBO

#define IP6OPT_JUMBO   0xC2 /* 11 0 00010 = 194 */

Definition at line 125 of file ip6_misc.h.

◆ IP6OPT_JUMBO_LEN

#define IP6OPT_JUMBO_LEN   6

Definition at line 126 of file ip6_misc.h.

◆ IP6OPT_MINLEN

#define IP6OPT_MINLEN   2

Definition at line 133 of file ip6_misc.h.

◆ IP6OPT_MUTABLE

#define IP6OPT_MUTABLE   0x20

Definition at line 147 of file ip6_misc.h.

◆ IP6OPT_PAD1

#define IP6OPT_PAD1   0x00 /* 00 0 00000 */

Definition at line 123 of file ip6_misc.h.

◆ IP6OPT_PADN

#define IP6OPT_PADN   0x01 /* 00 0 00001 */

Definition at line 124 of file ip6_misc.h.

◆ IP6OPT_ROUTER_ALERT

#define IP6OPT_ROUTER_ALERT   0x05 /* 00 0 00101 */

Definition at line 127 of file ip6_misc.h.

◆ IP6OPT_RTALERT_ACTNET

#define IP6OPT_RTALERT_ACTNET   2 /* contains an Active Networks msg */

Definition at line 132 of file ip6_misc.h.

◆ IP6OPT_RTALERT_LEN

#define IP6OPT_RTALERT_LEN   4

Definition at line 129 of file ip6_misc.h.

◆ IP6OPT_RTALERT_MLD

#define IP6OPT_RTALERT_MLD   0 /* Datagram contains an MLD message */

Definition at line 130 of file ip6_misc.h.

◆ IP6OPT_RTALERT_RSVP

#define IP6OPT_RTALERT_RSVP   1 /* Datagram contains an RSVP message */

Definition at line 131 of file ip6_misc.h.

◆ IP6OPT_TYPE

#define IP6OPT_TYPE (   o)    ((o) & 0xC0)

Definition at line 141 of file ip6_misc.h.

◆ IP6OPT_TYPE_DISCARD

#define IP6OPT_TYPE_DISCARD   0x40

Definition at line 143 of file ip6_misc.h.

◆ IP6OPT_TYPE_FORCEICMP

#define IP6OPT_TYPE_FORCEICMP   0x80

Definition at line 144 of file ip6_misc.h.

◆ IP6OPT_TYPE_ICMP

#define IP6OPT_TYPE_ICMP   0xC0

Definition at line 145 of file ip6_misc.h.

◆ IP6OPT_TYPE_SKIP

#define IP6OPT_TYPE_SKIP   0x00

Definition at line 142 of file ip6_misc.h.

◆ IPPROTO_AH

#define IPPROTO_AH   51 /* authentication header */

Definition at line 114 of file ip6_misc.h.

◆ IPPROTO_DSTOPTS

#define IPPROTO_DSTOPTS   60 /* IPv6 destination options */

Definition at line 117 of file ip6_misc.h.

◆ IPPROTO_ESP

#define IPPROTO_ESP   50 /* encapsulating security payload */

Definition at line 113 of file ip6_misc.h.

◆ IPPROTO_FRAGMENT

#define IPPROTO_FRAGMENT   44 /* IPv6 fragmentation header */

Definition at line 112 of file ip6_misc.h.

◆ IPPROTO_HOPOPTS

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

Definition at line 109 of file ip6_misc.h.

◆ IPPROTO_ICMPV6

#define IPPROTO_ICMPV6   58 /* ICMPv6 */

Definition at line 115 of file ip6_misc.h.

◆ IPPROTO_IPV6

#define IPPROTO_IPV6   41 /* IPv6 header. */

Definition at line 110 of file ip6_misc.h.

◆ IPPROTO_NONE

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

Definition at line 116 of file ip6_misc.h.

◆ IPPROTO_PIM

#define IPPROTO_PIM   103 /* Protocol Independent Multicast. */

Definition at line 118 of file ip6_misc.h.

◆ IPPROTO_ROUTING

#define IPPROTO_ROUTING   43 /* IPv6 routing header */

Definition at line 111 of file ip6_misc.h.

◆ IPV6_RTHDR_TYPE_0

#define IPV6_RTHDR_TYPE_0   0

Definition at line 120 of file ip6_misc.h.

◆ nd_rd_cksum

#define nd_rd_cksum   nd_rd_hdr.icmp6_cksum

Definition at line 103 of file ip6_misc.h.

◆ nd_rd_code

#define nd_rd_code   nd_rd_hdr.icmp6_code

Definition at line 102 of file ip6_misc.h.

◆ nd_rd_reserved

#define nd_rd_reserved   nd_rd_hdr.icmp6_data32[0]

Definition at line 104 of file ip6_misc.h.

◆ nd_rd_type

#define nd_rd_type   nd_rd_hdr.icmp6_type

Definition at line 101 of file ip6_misc.h.



soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49