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

Go to the source code of this file.

Data Structures

struct  icmp6hdr
 
struct  icmp6_filter
 

Macros

#define icmp6_identifier   icmp6_dataun.u_echo.identifier
 
#define icmp6_sequence   icmp6_dataun.u_echo.sequence
 
#define icmp6_pointer   icmp6_dataun.un_data32[0]
 
#define icmp6_mtu   icmp6_dataun.un_data32[0]
 
#define icmp6_unused   icmp6_dataun.un_data32[0]
 
#define icmp6_maxdelay   icmp6_dataun.un_data16[0]
 
#define icmp6_router   icmp6_dataun.u_nd_advt.router
 
#define icmp6_solicited   icmp6_dataun.u_nd_advt.solicited
 
#define icmp6_override   icmp6_dataun.u_nd_advt.override
 
#define icmp6_ndiscreserved   icmp6_dataun.u_nd_advt.reserved
 
#define icmp6_hop_limit   icmp6_dataun.u_nd_ra.hop_limit
 
#define icmp6_addrconf_managed   icmp6_dataun.u_nd_ra.managed
 
#define icmp6_addrconf_other   icmp6_dataun.u_nd_ra.other
 
#define icmp6_rt_lifetime   icmp6_dataun.u_nd_ra.rt_lifetime
 
#define icmp6_router_pref   icmp6_dataun.u_nd_ra.router_pref
 
#define ICMPV6_ROUTER_PREF_LOW   0x3
 
#define ICMPV6_ROUTER_PREF_MEDIUM   0x0
 
#define ICMPV6_ROUTER_PREF_HIGH   0x1
 
#define ICMPV6_ROUTER_PREF_INVALID   0x2
 
#define ICMPV6_DEST_UNREACH   1
 
#define ICMPV6_PKT_TOOBIG   2
 
#define ICMPV6_TIME_EXCEED   3
 
#define ICMPV6_PARAMPROB   4
 
#define ICMPV6_INFOMSG_MASK   0x80
 
#define ICMPV6_ECHO_REQUEST   128
 
#define ICMPV6_ECHO_REPLY   129
 
#define ICMPV6_MGM_QUERY   130
 
#define ICMPV6_MGM_REPORT   131
 
#define ICMPV6_MGM_REDUCTION   132
 
#define ICMPV6_NI_QUERY   139
 
#define ICMPV6_NI_REPLY   140
 
#define ICMPV6_MLD2_REPORT   143
 
#define ICMPV6_DHAAD_REQUEST   144
 
#define ICMPV6_DHAAD_REPLY   145
 
#define ICMPV6_MOBILE_PREFIX_SOL   146
 
#define ICMPV6_MOBILE_PREFIX_ADV   147
 
#define ICMPV6_NOROUTE   0
 
#define ICMPV6_ADM_PROHIBITED   1
 
#define ICMPV6_NOT_NEIGHBOUR   2
 
#define ICMPV6_ADDR_UNREACH   3
 
#define ICMPV6_PORT_UNREACH   4
 
#define ICMPV6_EXC_HOPLIMIT   0
 
#define ICMPV6_EXC_FRAGTIME   1
 
#define ICMPV6_HDR_FIELD   0
 
#define ICMPV6_UNK_NEXTHDR   1
 
#define ICMPV6_UNK_OPTION   2
 
#define ICMPV6_FILTER   1
 
#define ICMPV6_FILTER_BLOCK   1
 
#define ICMPV6_FILTER_PASS   2
 
#define ICMPV6_FILTER_BLOCKOTHERS   3
 
#define ICMPV6_FILTER_PASSONLY   4
 
#define MLD2_MODE_IS_INCLUDE   1
 
#define MLD2_MODE_IS_EXCLUDE   2
 
#define MLD2_CHANGE_TO_INCLUDE   3
 
#define MLD2_CHANGE_TO_EXCLUDE   4
 
#define MLD2_ALLOW_NEW_SOURCES   5
 
#define MLD2_BLOCK_OLD_SOURCES   6
 
#define MLD2_ALL_MCR_INIT   { { { 0xff,0x02,0,0,0,0,0,0,0,0,0,0,0,0,0,0x16 } } }
 

Macro Definition Documentation

#define icmp6_addrconf_managed   icmp6_dataun.u_nd_ra.managed

Definition at line 75 of file icmpv6.h.

#define icmp6_addrconf_other   icmp6_dataun.u_nd_ra.other

Definition at line 76 of file icmpv6.h.

#define icmp6_hop_limit   icmp6_dataun.u_nd_ra.hop_limit

Definition at line 74 of file icmpv6.h.

#define icmp6_identifier   icmp6_dataun.u_echo.identifier

Definition at line 64 of file icmpv6.h.

#define icmp6_maxdelay   icmp6_dataun.un_data16[0]

Definition at line 69 of file icmpv6.h.

#define icmp6_mtu   icmp6_dataun.un_data32[0]

Definition at line 67 of file icmpv6.h.

#define icmp6_ndiscreserved   icmp6_dataun.u_nd_advt.reserved

Definition at line 73 of file icmpv6.h.

#define icmp6_override   icmp6_dataun.u_nd_advt.override

Definition at line 72 of file icmpv6.h.

#define icmp6_pointer   icmp6_dataun.un_data32[0]

Definition at line 66 of file icmpv6.h.

#define icmp6_router   icmp6_dataun.u_nd_advt.router

Definition at line 70 of file icmpv6.h.

#define icmp6_router_pref   icmp6_dataun.u_nd_ra.router_pref

Definition at line 78 of file icmpv6.h.

#define icmp6_rt_lifetime   icmp6_dataun.u_nd_ra.rt_lifetime

Definition at line 77 of file icmpv6.h.

#define icmp6_sequence   icmp6_dataun.u_echo.sequence

Definition at line 65 of file icmpv6.h.

#define icmp6_solicited   icmp6_dataun.u_nd_advt.solicited

Definition at line 71 of file icmpv6.h.

#define icmp6_unused   icmp6_dataun.un_data32[0]

Definition at line 68 of file icmpv6.h.

#define ICMPV6_ADDR_UNREACH   3

Definition at line 116 of file icmpv6.h.

#define ICMPV6_ADM_PROHIBITED   1

Definition at line 114 of file icmpv6.h.

#define ICMPV6_DEST_UNREACH   1

Definition at line 87 of file icmpv6.h.

#define ICMPV6_DHAAD_REPLY   145

Definition at line 106 of file icmpv6.h.

#define ICMPV6_DHAAD_REQUEST   144

Definition at line 105 of file icmpv6.h.

#define ICMPV6_ECHO_REPLY   129

Definition at line 95 of file icmpv6.h.

#define ICMPV6_ECHO_REQUEST   128

Definition at line 94 of file icmpv6.h.

#define ICMPV6_EXC_FRAGTIME   1

Definition at line 123 of file icmpv6.h.

#define ICMPV6_EXC_HOPLIMIT   0

Definition at line 122 of file icmpv6.h.

#define ICMPV6_FILTER   1

Definition at line 136 of file icmpv6.h.

#define ICMPV6_FILTER_BLOCK   1

Definition at line 142 of file icmpv6.h.

#define ICMPV6_FILTER_BLOCKOTHERS   3

Definition at line 144 of file icmpv6.h.

#define ICMPV6_FILTER_PASS   2

Definition at line 143 of file icmpv6.h.

#define ICMPV6_FILTER_PASSONLY   4

Definition at line 145 of file icmpv6.h.

#define ICMPV6_HDR_FIELD   0

Definition at line 128 of file icmpv6.h.

#define ICMPV6_INFOMSG_MASK   0x80

Definition at line 92 of file icmpv6.h.

#define ICMPV6_MGM_QUERY   130

Definition at line 96 of file icmpv6.h.

#define ICMPV6_MGM_REDUCTION   132

Definition at line 98 of file icmpv6.h.

#define ICMPV6_MGM_REPORT   131

Definition at line 97 of file icmpv6.h.

#define ICMPV6_MLD2_REPORT   143

Definition at line 103 of file icmpv6.h.

#define ICMPV6_MOBILE_PREFIX_ADV   147

Definition at line 108 of file icmpv6.h.

#define ICMPV6_MOBILE_PREFIX_SOL   146

Definition at line 107 of file icmpv6.h.

#define ICMPV6_NI_QUERY   139

Definition at line 100 of file icmpv6.h.

#define ICMPV6_NI_REPLY   140

Definition at line 101 of file icmpv6.h.

#define ICMPV6_NOROUTE   0

Definition at line 113 of file icmpv6.h.

#define ICMPV6_NOT_NEIGHBOUR   2

Definition at line 115 of file icmpv6.h.

#define ICMPV6_PARAMPROB   4

Definition at line 90 of file icmpv6.h.

#define ICMPV6_PKT_TOOBIG   2

Definition at line 88 of file icmpv6.h.

#define ICMPV6_PORT_UNREACH   4

Definition at line 117 of file icmpv6.h.

#define ICMPV6_ROUTER_PREF_HIGH   0x1

Definition at line 84 of file icmpv6.h.

#define ICMPV6_ROUTER_PREF_INVALID   0x2

Definition at line 85 of file icmpv6.h.

#define ICMPV6_ROUTER_PREF_LOW   0x3

Definition at line 82 of file icmpv6.h.

#define ICMPV6_ROUTER_PREF_MEDIUM   0x0

Definition at line 83 of file icmpv6.h.

#define ICMPV6_TIME_EXCEED   3

Definition at line 89 of file icmpv6.h.

#define ICMPV6_UNK_NEXTHDR   1

Definition at line 129 of file icmpv6.h.

#define ICMPV6_UNK_OPTION   2

Definition at line 130 of file icmpv6.h.

#define MLD2_ALL_MCR_INIT   { { { 0xff,0x02,0,0,0,0,0,0,0,0,0,0,0,0,0,0x16 } } }

Definition at line 161 of file icmpv6.h.

#define MLD2_ALLOW_NEW_SOURCES   5

Definition at line 158 of file icmpv6.h.

#define MLD2_BLOCK_OLD_SOURCES   6

Definition at line 159 of file icmpv6.h.

#define MLD2_CHANGE_TO_EXCLUDE   4

Definition at line 157 of file icmpv6.h.

#define MLD2_CHANGE_TO_INCLUDE   3

Definition at line 156 of file icmpv6.h.

#define MLD2_MODE_IS_EXCLUDE   2

Definition at line 155 of file icmpv6.h.

#define MLD2_MODE_IS_INCLUDE   1

Definition at line 154 of file icmpv6.h.