ReactOS 0.4.16-dev-297-gc569aee
|
#include "ws2def.h"
#include "ws2ipdef.h"
#include "mswsockdef.h"
#include "mstcpip.h"
#include "nldef.h"
#include "ifdef.h"
Go to the source code of this file.
#define _BIG_ENDIAN 4321 |
Definition at line 37 of file netiodef.h.
#define _DEFINE_DL_ADDRESS_TYPE_ |
Definition at line 378 of file netiodef.h.
#define _LITTLE_ENDIAN 1234 |
Definition at line 36 of file netiodef.h.
#define _PDP_ENDIAN 3412 |
Definition at line 38 of file netiodef.h.
#define ARCNET_BROADCAST_MASK 0xff |
Definition at line 94 of file netiodef.h.
#define ARCNET_BROADCAST_VALUE 0x00 |
Definition at line 95 of file netiodef.h.
#define ARCNET_PROTOCOL_ARP 0xd5 |
Definition at line 96 of file netiodef.h.
#define ARCNET_PROTOCOL_IPV4 0xd4 |
Definition at line 97 of file netiodef.h.
#define ARCNET_PROTOCOL_IPV6 0xc4 |
Definition at line 98 of file netiodef.h.
#define DL_ADDRESS_LENGTH_MAXIMUM IF_MAX_PHYS_ADDRESS_LENGTH |
Definition at line 54 of file netiodef.h.
#define DL_ETHERNET_HEADER_LENGTH_MAXIMUM (sizeof(ETHERNET_HEADER) + sizeof(SNAP_HEADER)) |
Definition at line 56 of file netiodef.h.
#define DL_HEADER_LENGTH_MAXIMUM 64 |
Definition at line 55 of file netiodef.h.
#define DL_SIZEOF_IPV4_TUNNEL_ADDRESS DL_SIZEOF_TUNNEL_ADDRESS(sizeof(IN_ADDR)) |
Definition at line 369 of file netiodef.h.
#define DL_SIZEOF_IPV6_TUNNEL_ADDRESS DL_SIZEOF_TUNNEL_ADDRESS(sizeof(IN6_ADDR)) |
Definition at line 370 of file netiodef.h.
#define DL_SIZEOF_TUNNEL_ADDRESS | ( | AddressBytes | ) | (FIELD_OFFSET(DL_TUNNEL_ADDRESS, IpAddress) + (AddressBytes)) |
Definition at line 368 of file netiodef.h.
#define DL_TUNNEL_HEADER_LENGTH_MAXIMUM max(sizeof(IPV4_HEADER), sizeof(IPV6_HEADER)) |
Definition at line 57 of file netiodef.h.
#define ETH_LENGTH_OF_HEADER 14 |
Definition at line 70 of file netiodef.h.
#define ETH_LENGTH_OF_SNAP_HEADER 8 |
Definition at line 72 of file netiodef.h.
#define ETH_LENGTH_OF_VLAN_HEADER 4 |
Definition at line 71 of file netiodef.h.
#define ETHERNET_TYPE_802_1Q 0x8100 |
Definition at line 78 of file netiodef.h.
#define ETHERNET_TYPE_ARP 0x0806 |
Definition at line 76 of file netiodef.h.
#define ETHERNET_TYPE_IPV4 0x0800 |
Definition at line 75 of file netiodef.h.
#define ETHERNET_TYPE_IPV6 0x86dd |
Definition at line 77 of file netiodef.h.
#define ETHERNET_TYPE_MINIMUM 0x0600 |
Definition at line 74 of file netiodef.h.
#define EUI48_BROADCAST_INIT {0xff, 0xff, 0xff, 0xff, 0xff, 0xff} |
Definition at line 59 of file netiodef.h.
#define EXT_LEN_UNIT 8 |
Definition at line 220 of file netiodef.h.
#define FDDI_FRAMECODE 0x57 |
Definition at line 91 of file netiodef.h.
#define FDDI_MTU 4352 |
Definition at line 92 of file netiodef.h.
#define FL_PACKET_TYPE_FLAGS (NDIS_PACKET_TYPE_ALL_MULTICAST | NDIS_PACKET_TYPE_PROMISCUOUS) |
Definition at line 372 of file netiodef.h.
#define icmp4_cksum Header.Checksum |
Definition at line 140 of file netiodef.h.
#define icmp4_code Header.Code |
Definition at line 139 of file netiodef.h.
#define icmp4_data16 icmp4_dataun.icmp4_un_data16 |
Definition at line 146 of file netiodef.h.
#define icmp4_data32 icmp4_dataun.icmp4_un_data32 |
Definition at line 145 of file netiodef.h.
#define icmp4_data8 icmp4_dataun.icmp4_un_data8 |
Definition at line 147 of file netiodef.h.
Definition at line 144 of file netiodef.h.
#define icmp4_hdr _ICMPV4_MESSAGE |
Definition at line 137 of file netiodef.h.
#define icmp4_id icmp4_data16[0] |
Definition at line 150 of file netiodef.h.
#define icmp4_maxdelay icmp4_data16[0] |
Definition at line 152 of file netiodef.h.
#define icmp4_mtu icmp4_data32[0] |
Definition at line 149 of file netiodef.h.
#define icmp4_pptr icmp4_data32[0] |
Definition at line 148 of file netiodef.h.
#define icmp4_seq icmp4_data16[1] |
Definition at line 151 of file netiodef.h.
#define icmp4_ts_cksum Header.icmp4_cksum |
Definition at line 170 of file netiodef.h.
#define icmp4_ts_code Header.icmp4_code |
Definition at line 169 of file netiodef.h.
#define icmp4_ts_id Header.icmp4_id |
Definition at line 171 of file netiodef.h.
#define icmp4_ts_originate OriginateTimestamp |
Definition at line 173 of file netiodef.h.
#define icmp4_ts_receive ReceiveTimestamp |
Definition at line 174 of file netiodef.h.
#define icmp4_ts_seq Header.icmp4_seq |
Definition at line 172 of file netiodef.h.
#define icmp4_ts_transmit TransmitTimestamp |
Definition at line 175 of file netiodef.h.
#define icmp4_ts_type Header.icmp4_type |
Definition at line 168 of file netiodef.h.
#define icmp4_type Header.Type |
Definition at line 138 of file netiodef.h.
#define icmp4_un_data16 Data16 |
Definition at line 142 of file netiodef.h.
#define icmp4_un_data32 Data32 |
Definition at line 141 of file netiodef.h.
#define icmp4_un_data8 Data8 |
Definition at line 143 of file netiodef.h.
#define icmp6_cksum Header.Checksum |
Definition at line 267 of file netiodef.h.
#define icmp6_code Header.Code |
Definition at line 266 of file netiodef.h.
#define icmp6_data16 icmp6_dataun.icmp6_un_data16 |
Definition at line 274 of file netiodef.h.
#define icmp6_data32 icmp6_dataun.icmp6_un_data32 |
Definition at line 273 of file netiodef.h.
#define icmp6_data8 icmp6_dataun.icmp6_un_data8 |
Definition at line 275 of file netiodef.h.
Definition at line 271 of file netiodef.h.
#define ICMP6_DST_UNREACH_ADDR 3 |
Definition at line 287 of file netiodef.h.
#define ICMP6_DST_UNREACH_ADMIN 1 |
Definition at line 285 of file netiodef.h.
#define ICMP6_DST_UNREACH_BEYONDSCOPE 2 |
Definition at line 286 of file netiodef.h.
#define ICMP6_DST_UNREACH_NOPORT 4 |
Definition at line 288 of file netiodef.h.
#define ICMP6_DST_UNREACH_NOROUTE 0 |
Definition at line 284 of file netiodef.h.
Definition at line 264 of file netiodef.h.
#define icmp6_id icmp6_data16[0] |
Definition at line 278 of file netiodef.h.
#define ICMP6_INFOMSG_MASK 0x80 |
Definition at line 282 of file netiodef.h.
#define icmp6_maxdelay icmp6_data16[0] |
Definition at line 280 of file netiodef.h.
#define icmp6_mtu icmp6_data32[0] |
Definition at line 277 of file netiodef.h.
#define ICMP6_PARAMPROB_HEADER 0 |
Definition at line 293 of file netiodef.h.
#define ICMP6_PARAMPROB_NEXTHEADER 1 |
Definition at line 294 of file netiodef.h.
#define ICMP6_PARAMPROB_OPTION 2 |
Definition at line 295 of file netiodef.h.
#define icmp6_pptr icmp6_data32[0] |
Definition at line 276 of file netiodef.h.
#define icmp6_seq icmp6_data16[1] |
Definition at line 279 of file netiodef.h.
#define ICMP6_TIME_EXCEED_REASSEMBLY 1 |
Definition at line 291 of file netiodef.h.
#define ICMP6_TIME_EXCEED_TRANSIT 0 |
Definition at line 290 of file netiodef.h.
Definition at line 265 of file netiodef.h.
#define icmp6_un_data16 Data16 |
Definition at line 269 of file netiodef.h.
#define icmp6_un_data32 Data32 |
Definition at line 268 of file netiodef.h.
#define icmp6_un_data8 Data8 |
Definition at line 270 of file netiodef.h.
#define ICMPV4_INVALID_PREFERENCE_LEVEL 0x80000000 |
Definition at line 166 of file netiodef.h.
#define ICMPV6_ECHO_REQUEST_FLAG_REVERSE 0x1 |
Definition at line 297 of file netiodef.h.
#define IGMP_LEAVE_GROUP_TYPE 0x17 |
Definition at line 180 of file netiodef.h.
#define IGMP_QUERY_TYPE 0x11 |
Definition at line 177 of file netiodef.h.
#define IGMP_VERSION1_REPORT_TYPE 0x12 |
Definition at line 178 of file netiodef.h.
#define IGMP_VERSION2_REPORT_TYPE 0x16 |
Definition at line 179 of file netiodef.h.
#define IGMP_VERSION3_REPORT_TYPE 0x22 |
Definition at line 181 of file netiodef.h.
#define ip4_dest DestinationAddress |
Definition at line 114 of file netiodef.h.
Definition at line 108 of file netiodef.h.
#define ip4_flags_offset FlagsAndOffset |
Definition at line 107 of file netiodef.h.
#define ip4_hdr _IPV4_HEADER |
Definition at line 100 of file netiodef.h.
#define ip4_hlen HeaderLength |
Definition at line 103 of file netiodef.h.
#define ip4_id Identification |
Definition at line 106 of file netiodef.h.
#define ip4_len TotalLength |
Definition at line 105 of file netiodef.h.
#define IP4_OFF_MASK 0xff1f |
Definition at line 135 of file netiodef.h.
#define ip4_offset FragmentOffset |
Definition at line 109 of file netiodef.h.
Definition at line 111 of file netiodef.h.
#define ip4_src SourceAddress |
Definition at line 113 of file netiodef.h.
#define ip4_tos TypeOfService |
Definition at line 104 of file netiodef.h.
#define ip4_ttl TimeToLive |
Definition at line 110 of file netiodef.h.
Definition at line 102 of file netiodef.h.
#define ip4_ver_hlen VersionAndHeaderLength |
Definition at line 101 of file netiodef.h.
#define ip4_xsum HeaderChecksum |
Definition at line 112 of file netiodef.h.
#define ip6_dest _IPV6_EXTENSION_HEADER |
Definition at line 233 of file netiodef.h.
#define ip6_dst DestinationAddress |
Definition at line 190 of file netiodef.h.
#define ip6_flow VersionClassFlow |
Definition at line 184 of file netiodef.h.
#define ip6_frag _IPV6_FRAGMENT_HEADER |
Definition at line 210 of file netiodef.h.
#define ip6_hbh _IPV6_EXTENSION_HEADER |
Definition at line 230 of file netiodef.h.
Definition at line 183 of file netiodef.h.
#define ip6_hlim HopLimit |
Definition at line 188 of file netiodef.h.
#define ip6_hops HopLimit |
Definition at line 187 of file netiodef.h.
#define ip6_nxt NextHeader |
Definition at line 186 of file netiodef.h.
#define ip6_opt_jumbo _IPV6_OPTION_JUMBOGRAM |
Definition at line 246 of file netiodef.h.
#define ip6_opt_router _IPV6_OPTION_ROUTER_ALERT |
Definition at line 251 of file netiodef.h.
#define ip6_plen PayloadLength |
Definition at line 185 of file netiodef.h.
#define ip6_rthdr _IPV6_ROUTING_HEADER |
Definition at line 258 of file netiodef.h.
#define ip6_src SourceAddress |
Definition at line 189 of file netiodef.h.
Definition at line 235 of file netiodef.h.
#define ip6d_nxt NextHeader |
Definition at line 234 of file netiodef.h.
Definition at line 214 of file netiodef.h.
#define IP6F_MORE_FRAG 0x0100 |
Definition at line 218 of file netiodef.h.
#define ip6f_nxt NextHeader |
Definition at line 211 of file netiodef.h.
#define IP6F_OFF_MASK 0xf8ff |
Definition at line 216 of file netiodef.h.
#define ip6f_offlg OffsetAndFlags |
Definition at line 213 of file netiodef.h.
Definition at line 212 of file netiodef.h.
#define IP6F_RESERVED_MASK 0x0600 |
Definition at line 217 of file netiodef.h.
Definition at line 232 of file netiodef.h.
#define ip6h_nxt NextHeader |
Definition at line 231 of file netiodef.h.
#define ip6oj_jumbo_len JumbogramLength |
Definition at line 249 of file netiodef.h.
#define ip6oj_len Header.DataLength |
Definition at line 248 of file netiodef.h.
#define ip6oj_type Header.Type |
Definition at line 247 of file netiodef.h.
#define IP6OPT_ISMUTABLE | ( | Type | ) | (((Type) & IP6OPT_MUTABLE) != 0) |
Definition at line 244 of file netiodef.h.
#define IP6OPT_MUTABLE 0x20 |
Definition at line 243 of file netiodef.h.
Definition at line 237 of file netiodef.h.
#define IP6OPT_TYPE_DISCARD 0x40 |
Definition at line 239 of file netiodef.h.
#define IP6OPT_TYPE_FORCEICMP 0x80 |
Definition at line 240 of file netiodef.h.
#define IP6OPT_TYPE_ICMP 0xc0 |
Definition at line 241 of file netiodef.h.
#define IP6OPT_TYPE_SKIP 0x00 |
Definition at line 238 of file netiodef.h.
#define ip6or_len Header.DataLength |
Definition at line 253 of file netiodef.h.
#define ip6or_type Header.Type |
Definition at line 252 of file netiodef.h.
Definition at line 254 of file netiodef.h.
Definition at line 260 of file netiodef.h.
#define ip6r_nxt NextHeader |
Definition at line 259 of file netiodef.h.
#define ip6r_segleft SegmentsLeft |
Definition at line 262 of file netiodef.h.
#define ip6r_type RoutingType |
Definition at line 261 of file netiodef.h.
#define IP_AUTHENTICATION_HEADER_BLOCKS | ( | Length | ) | (((Length + sizeof(AUTHENTICATION_HEADER)) / 4) - 2) |
Definition at line 226 of file netiodef.h.
#define IP_AUTHENTICATION_HEADER_LENGTH | ( | Blocks | ) | ((Blocks + 2) * 4) |
Definition at line 225 of file netiodef.h.
#define IP_VER_MASK 0xF0 |
Definition at line 192 of file netiodef.h.
#define IP_VER_MASK 0xF0 |
Definition at line 192 of file netiodef.h.
#define IPV4_DEFAULT_VERHLEN ((IPV4_VERSION << 4) | (sizeof(IPV4_HEADER) / sizeof(UINT32))) |
Definition at line 118 of file netiodef.h.
#define IPV4_MINIMUM_MTU 576 |
Definition at line 126 of file netiodef.h.
#define IPV4_MINIMUM_ULMTU (IPV4_MINIMUM_MTU - sizeof(IPV4_HEADER)) |
Definition at line 127 of file netiodef.h.
#define IPV4_TOS_MASK 0xFC |
Definition at line 119 of file netiodef.h.
#define IPV4_VERSION 4 |
Definition at line 117 of file netiodef.h.
#define IPV6_ECN_MASK 0x00003000 |
Definition at line 196 of file netiodef.h.
#define IPV6_ECN_SHIFT 12 |
Definition at line 201 of file netiodef.h.
#define IPV6_EXTENSION_HEADER_BLOCKS | ( | Length | ) | ((Length / EXT_LEN_UNIT) - 1) |
Definition at line 224 of file netiodef.h.
#define IPV6_EXTENSION_HEADER_LENGTH | ( | Blocks | ) | ((Blocks + 1) * EXT_LEN_UNIT) |
Definition at line 222 of file netiodef.h.
#define IPV6_FLOW_LABEL_MASK 0xFFFF0F00 |
Definition at line 197 of file netiodef.h.
#define IPV6_MINIMUM_MTU 1280 |
Definition at line 203 of file netiodef.h.
#define IPV6_MINIMUM_ULMTU (IPV6_MINIMUM_MTU - sizeof(IPV6_HEADER)) |
Definition at line 204 of file netiodef.h.
#define IPV6_ROUTER_ALERT_LENGTH IPV6_EXTENSION_HEADER_LENGTH(0) |
Definition at line 228 of file netiodef.h.
#define IPV6_TRAFFIC_CLASS | ( | VersionClassFlow | ) |
Definition at line 206 of file netiodef.h.
#define IPV6_TRAFFIC_CLASS_MASK 0x0000C00F |
Definition at line 195 of file netiodef.h.
#define IPV6_VERSION 0x60 |
Definition at line 193 of file netiodef.h.
Definition at line 31 of file netiodef.h.
#define IS_VALID_IPV4_MASK | ( | x | ) | ((x.S_un.S_addr == (ULONG)-1) || IS_POWER_OF_TWO(~RtlUlongByteSwap(x.S_un.S_addr)+1)) |
Definition at line 32 of file netiodef.h.
Definition at line 51 of file netiodef.h.
Definition at line 52 of file netiodef.h.
#define MAX_IP_OPTIONS_LENGTH ((0xF * sizeof(UINT32)) - sizeof(IPV4_HEADER)) |
Definition at line 129 of file netiodef.h.
#define MAX_IPV4_HLEN 60 |
Definition at line 124 of file netiodef.h.
#define MAX_IPV4_PACKET 65535 |
Definition at line 121 of file netiodef.h.
#define MAX_IPV4_PAYLOAD (MAX_IPV4_PACKET - sizeof(IPV4_HEADER)) |
Definition at line 122 of file netiodef.h.
#define MAX_IPV6_EXTENSION_HEADER_LENGTH IPV6_EXTENSION_HEADER_LENGTH(0xFF) |
Definition at line 223 of file netiodef.h.
#define MAX_IPV6_PACKET (MAX_IPV6_PAYLOAD + sizeof(IPV6_HEADER)) |
Definition at line 199 of file netiodef.h.
#define MAX_IPV6_PAYLOAD 65535 |
Definition at line 198 of file netiodef.h.
#define mld_checksum IcmpHeader.Checksum |
Definition at line 375 of file netiodef.h.
#define mld_type IcmpHeader.Type |
Definition at line 374 of file netiodef.h.
#define nd_na_cksum nd_na_hdr.icmp6_cksum |
Definition at line 322 of file netiodef.h.
#define nd_na_code nd_na_hdr.icmp6_code |
Definition at line 321 of file netiodef.h.
#define ND_NA_FLAG_OVERRIDE 0x00000020 |
Definition at line 332 of file netiodef.h.
#define ND_NA_FLAG_ROUTER 0x00000080 |
Definition at line 330 of file netiodef.h.
#define ND_NA_FLAG_SOLICITED 0x00000040 |
Definition at line 331 of file netiodef.h.
#define nd_na_flags_reserved nd_na_hdr.icmp6_data32[0] |
Definition at line 323 of file netiodef.h.
#define nd_na_type nd_na_hdr.icmp6_type |
Definition at line 320 of file netiodef.h.
#define nd_ns_cksum nd_ns_hdr.icmp6_cksum |
Definition at line 317 of file netiodef.h.
#define nd_ns_code nd_ns_hdr.icmp6_code |
Definition at line 316 of file netiodef.h.
#define nd_ns_reserved nd_ns_hdr.icmp6_data32[0] |
Definition at line 318 of file netiodef.h.
#define nd_ns_type nd_ns_hdr.icmp6_type |
Definition at line 315 of file netiodef.h.
#define ND_OPT_PI_FLAG_AUTO 0x40 |
Definition at line 341 of file netiodef.h.
#define ND_OPT_PI_FLAG_ONLINK 0x80 |
Definition at line 340 of file netiodef.h.
#define ND_OPT_PI_FLAG_ROUTE 0x01 |
Definition at line 344 of file netiodef.h.
#define ND_OPT_PI_FLAG_ROUTER_ADDR 0x20 |
Definition at line 342 of file netiodef.h.
#define ND_OPT_PI_FLAG_SITE_PREFIX 0x10 |
Definition at line 343 of file netiodef.h.
#define ND_OPT_RI_FLAG_PREFERENCE 0x18 |
Definition at line 346 of file netiodef.h.
#define nd_ra_cksum nd_ra_hdr.icmp6_cksum |
Definition at line 306 of file netiodef.h.
#define nd_ra_code nd_ra_hdr.icmp6_code |
Definition at line 305 of file netiodef.h.
#define nd_ra_curhoplimit nd_ra_hdr.icmp6_data8[0] |
Definition at line 307 of file netiodef.h.
#define ND_RA_FLAG_HOME_AGENT 0x20 |
Definition at line 311 of file netiodef.h.
#define ND_RA_FLAG_MANAGED 0x80 |
Definition at line 309 of file netiodef.h.
#define ND_RA_FLAG_OTHER 0x40 |
Definition at line 310 of file netiodef.h.
#define ND_RA_FLAG_PREFERENCE 0x18 |
Definition at line 312 of file netiodef.h.
#define nd_ra_flags_reserved nd_ra_hdr.icmp6_data8[1] |
Definition at line 308 of file netiodef.h.
#define nd_ra_router_lifetime nd_ra_hdr.icmp6_data16[1] |
Definition at line 313 of file netiodef.h.
#define nd_ra_type nd_ra_hdr.icmp6_type |
Definition at line 304 of file netiodef.h.
#define nd_rd_cksum nd_rd_hdr.icmp6_cksum |
Definition at line 337 of file netiodef.h.
#define nd_rd_code nd_rd_hdr.icmp6_code |
Definition at line 336 of file netiodef.h.
#define nd_rd_reserved nd_rd_hdr.icmp6_data32[0] |
Definition at line 338 of file netiodef.h.
#define nd_rd_type nd_rd_hdr.icmp6_type |
Definition at line 335 of file netiodef.h.
#define nd_rs_cksum nd_rs_hdr.icmp6_cksum |
Definition at line 301 of file netiodef.h.
#define nd_rs_code nd_rs_hdr.icmp6_code |
Definition at line 300 of file netiodef.h.
#define nd_rs_reserved nd_rs_hdr.icmp6_data32[0] |
Definition at line 302 of file netiodef.h.
#define nd_rs_type nd_rs_hdr.icmp6_type |
Definition at line 299 of file netiodef.h.
#define NETIO_INLINE __forceinline |
Definition at line 27 of file netiodef.h.
#define RaAddrEntrySize RaHeader.icmp4_data8[1] |
Definition at line 163 of file netiodef.h.
#define RaAddrLifetime RaHeader.icmp4_data16[1] |
Definition at line 164 of file netiodef.h.
#define RaCksum RaHeader.icmp4_cksum |
Definition at line 161 of file netiodef.h.
#define RaCode RaHeader.icmp4_code |
Definition at line 160 of file netiodef.h.
#define RaNumAddr RaHeader.icmp4_data8[0] |
Definition at line 162 of file netiodef.h.
#define RaType RaHeader.icmp4_type |
Definition at line 159 of file netiodef.h.
#define RsCksum RsHeader.icmp4_cksum |
Definition at line 156 of file netiodef.h.
#define RsCode RsHeader.icmp4_code |
Definition at line 155 of file netiodef.h.
#define RsReserved RsHeader.icmp4_data32[0] |
Definition at line 157 of file netiodef.h.
#define RsType RsHeader.icmp4_type |
Definition at line 154 of file netiodef.h.
#define SIZEOF_IP_OPT_ROUTERALERT 4 |
Definition at line 134 of file netiodef.h.
#define SIZEOF_IP_OPT_ROUTING_HEADER 3 |
Definition at line 130 of file netiodef.h.
#define SIZEOF_IP_OPT_SECURITY 11 |
Definition at line 132 of file netiodef.h.
#define SIZEOF_IP_OPT_STREAMIDENTIFIER 4 |
Definition at line 133 of file netiodef.h.
#define SIZEOF_IP_OPT_TIMESTAMP_HEADER 4 |
Definition at line 131 of file netiodef.h.
#define SIZEOF_IPV6_ROUTERALERT IPV6_EXTENSION_HEADER_LENGTH(0) |
Definition at line 256 of file netiodef.h.
#define SNAP_CONTROL 0x03 |
Definition at line 63 of file netiodef.h.
#define SNAP_DSAP 0xaa |
Definition at line 61 of file netiodef.h.
#define SNAP_OUI 0x00 |
Definition at line 64 of file netiodef.h.
#define SNAP_SSAP 0xaa |
Definition at line 62 of file netiodef.h.
#define SNAP_TYPE_ARP ETHERNET_TYPE_ARP |
Definition at line 66 of file netiodef.h.
#define SNAP_TYPE_IPV4 ETHERNET_TYPE_IPV4 |
Definition at line 67 of file netiodef.h.
#define SNAP_TYPE_IPV6 ETHERNET_TYPE_IPV6 |
Definition at line 68 of file netiodef.h.
#define SOURCEROUTE_RD_MAXIMUM 8 |
Definition at line 83 of file netiodef.h.
#define SOURCEROUTE_SIZE_MAXIMUM (sizeof(SOURCEROUTE_HEADER) + 2 * SOURCEROUTE_RD_MAXIMUM) |
Definition at line 84 of file netiodef.h.
#define SOURCEROUTE_UNSPECIFIED_INIT {{sizeof(SOURCEROUTE_HEADER), TokenRingSpanningTreeExplorer}, {0}} |
Definition at line 86 of file netiodef.h.
#define TH_ACK 0x10 |
Definition at line 353 of file netiodef.h.
Definition at line 357 of file netiodef.h.
#define TH_CWR 0x80 |
Definition at line 356 of file netiodef.h.
#define TH_ECE 0x40 |
Definition at line 355 of file netiodef.h.
#define TH_FIN 0x01 |
Definition at line 349 of file netiodef.h.
#define TH_MAX_LEN (0x0F << 2) |
Definition at line 348 of file netiodef.h.
#define TH_OPT_EOL 0x00 |
Definition at line 360 of file netiodef.h.
#define TH_OPT_MSS 0x02 |
Definition at line 362 of file netiodef.h.
#define TH_OPT_NOP 0x01 |
Definition at line 361 of file netiodef.h.
#define TH_OPT_SACK 0x05 |
Definition at line 365 of file netiodef.h.
#define TH_OPT_SACK_PERMITTED 0x04 |
Definition at line 364 of file netiodef.h.
#define TH_OPT_TS 0x08 |
Definition at line 366 of file netiodef.h.
#define TH_OPT_WS 0x03 |
Definition at line 363 of file netiodef.h.
#define TH_PSH 0x08 |
Definition at line 352 of file netiodef.h.
#define TH_RST 0x04 |
Definition at line 351 of file netiodef.h.
#define TH_SYN 0x02 |
Definition at line 350 of file netiodef.h.
#define TH_URG 0x20 |
Definition at line 354 of file netiodef.h.
#define TOKENRING_ACCESSCONTROL 0x10 |
Definition at line 80 of file netiodef.h.
#define TOKENRING_FRAMECONTROL 0x40 |
Definition at line 81 of file netiodef.h.
#define TOKENRING_MTU_DEFAULT 1500 |
Definition at line 88 of file netiodef.h.
#define TOKENRING_SOURCEROUTE_INDICATOR 0x80 |
Definition at line 89 of file netiodef.h.
typedef struct _ARCNET_HEADER ARCNET_HEADER |
typedef struct _ARP_HEADER ARP_HEADER |
Definition at line 398 of file netiodef.h.
Definition at line 415 of file netiodef.h.
Definition at line 432 of file netiodef.h.
Definition at line 393 of file netiodef.h.
typedef struct DL_TEREDO_ADDRESS DL_TEREDO_ADDRESS |
typedef struct DL_TUNNEL_ADDRESS DL_TUNNEL_ADDRESS |
typedef struct _ETHERNET_HEADER ETHERNET_HEADER |
typedef struct _FDDI_HEADER FDDI_HEADER |
Definition at line 47 of file netiodef.h.
Definition at line 48 of file netiodef.h.
Definition at line 49 of file netiodef.h.
Definition at line 46 of file netiodef.h.
typedef struct _ICMP_HEADER ICMP_HEADER |
typedef struct _ICMP_MESSAGE ICMP_MESSAGE |
typedef ICMP_HEADER ICMPV4_HEADER |
Definition at line 712 of file netiodef.h.
typedef ICMP_MESSAGE ICMPV4_MESSAGE |
Definition at line 713 of file netiodef.h.
typedef ICMP_HEADER ICMPV6_HEADER |
Definition at line 593 of file netiodef.h.
typedef ICMP_MESSAGE ICMPV6_MESSAGE |
Definition at line 594 of file netiodef.h.
typedef struct _IGMP_HEADER IGMP_HEADER |
typedef struct _IPTLS_METADATA IPTLS_METADATA |
typedef struct _IPV4_HEADER IPV4_HEADER |
typedef struct _IPV6_HEADER IPV6_HEADER |
typedef struct _MLD_HEADER MLD_HEADER |
typedef struct nd_opt_hdr ND_OPTION_HDR |
typedef struct nd_opt_mtu ND_OPTION_MTU |
typedef struct nd_opt_rd_hdr ND_OPTION_RD_HDR |
typedef struct nd_redirect ND_REDIRECT_HEADER |
typedef struct _NPI_MODULEID NPI_MODULEID |
typedef enum _NPI_MODULEID_TYPE NPI_MODULEID_TYPE |
Definition at line 1247 of file netiodef.h.
typedef struct _ARCNET_HEADER * PARCNET_HEADER |
typedef struct _ARP_HEADER * PARP_HEADER |
typedef enum DL_ADDRESS_TYPE * PDL_ADDRESS_TYPE |
Definition at line 398 of file netiodef.h.
Definition at line 415 of file netiodef.h.
Definition at line 432 of file netiodef.h.
Definition at line 393 of file netiodef.h.
typedef struct DL_TEREDO_ADDRESS * PDL_TEREDO_ADDRESS |
typedef struct DL_TUNNEL_ADDRESS * PDL_TUNNEL_ADDRESS |
typedef struct _ETHERNET_HEADER * PETHERNET_HEADER |
typedef struct _FDDI_HEADER * PFDDI_HEADER |
Definition at line 47 of file netiodef.h.
Definition at line 48 of file netiodef.h.
Definition at line 49 of file netiodef.h.
Definition at line 46 of file netiodef.h.
typedef enum ICMP4_UNREACH_CODE * PICMP4_UNREACH_CODE |
typedef struct _ICMP_HEADER * PICMP_HEADER |
typedef struct _ICMP_MESSAGE * PICMP_MESSAGE |
typedef ICMP_HEADER * PICMPV4_HEADER |
Definition at line 712 of file netiodef.h.
typedef ICMP_MESSAGE * PICMPV4_MESSAGE |
Definition at line 713 of file netiodef.h.
typedef ICMP_HEADER * PICMPV6_HEADER |
Definition at line 593 of file netiodef.h.
typedef ICMP_MESSAGE * PICMPV6_MESSAGE |
Definition at line 594 of file netiodef.h.
typedef struct _IGMP_HEADER * PIGMP_HEADER |
typedef struct _IGMPV3_QUERY_HEADER * PIGMPV3_QUERY_HEADER |
typedef struct _IPTLS_METADATA* PIPTLS_METADATA |
typedef struct _IPV4_HEADER * PIPV4_HEADER |
typedef struct _IPV4_OPTION_HEADER * PIPV4_OPTION_HEADER |
typedef struct _IPV6_FRAGMENT_HEADER * PIPV6_FRAGMENT_HEADER |
typedef struct _IPV6_HEADER * PIPV6_HEADER |
typedef union _IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS * PIPV6_NEIGHBOR_ADVERTISEMENT_FLAGS |
typedef struct _IPV6_OPTION_HEADER * PIPV6_OPTION_HEADER |
typedef enum IPV6_OPTION_TYPE * PIPV6_OPTION_TYPE |
typedef union _IPV6_ROUTER_ADVERTISEMENT_FLAGS * PIPV6_ROUTER_ADVERTISEMENT_FLAGS |
typedef struct _MLD_HEADER * PMLD_HEADER |
typedef struct _MLDV2_QUERY_HEADER * PMLDV2_QUERY_HEADER |
typedef struct _MLDV2_REPORT_HEADER * PMLDV2_REPORT_HEADER |
typedef struct nd_opt_hdr * PND_OPTION_HDR |
typedef struct nd_opt_mtu * PND_OPTION_MTU |
typedef struct nd_opt_prefix_info * PND_OPTION_PREFIX_INFO |
typedef struct nd_opt_rd_hdr * PND_OPTION_RD_HDR |
typedef struct nd_opt_route_info * PND_OPTION_ROUTE_INFO |
typedef enum ND_OPTION_TYPE * PND_OPTION_TYPE |
typedef struct nd_redirect * PND_REDIRECT_HEADER |
typedef struct nd_router_advert * PND_ROUTER_ADVERT_HEADER |
typedef struct nd_router_solicit * PND_ROUTER_SOLICIT_HEADER |
typedef CONST NPI_MODULEID* PNPI_MODULEID |
Definition at line 1216 of file netiodef.h.
Definition at line 1248 of file netiodef.h.
Definition at line 1092 of file netiodef.h.
typedef struct _SNAP_HEADER * PSNAP_HEADER |
typedef struct _SOURCEROUTE_HEADER * PSOURCEROUTE_HEADER |
Definition at line 1111 of file netiodef.h.
typedef struct _TOKENRING_HEADER * PTOKENRING_HEADER |
typedef enum _TUNNEL_SUB_TYPE * PTUNNEL_SUB_TYPE |
Definition at line 1092 of file netiodef.h.
typedef struct _SNAP_HEADER SNAP_HEADER |
typedef struct tcp_opt_mss TCP_OPT_MSS |
typedef struct tcp_opt_sack TCP_OPT_SACK |
typedef struct tcp_opt_ts TCP_OPT_TS |
typedef struct tcp_opt_unknown TCP_OPT_UNKNOWN |
typedef struct tcp_opt_ws TCP_OPT_WS |
typedef struct _TOKENRING_HEADER TOKENRING_HEADER |
typedef enum _TUNNEL_SUB_TYPE TUNNEL_SUB_TYPE |
Enumerator | |
---|---|
MIT_GUID | |
MIT_IF_LUID |
Definition at line 1191 of file netiodef.h.
Enumerator | |
---|---|
TUNNEL_SUB_TYPE_NONE | |
TUNNEL_SUB_TYPE_CP | |
TUNNEL_SUB_TYPE_IPTLS |
Definition at line 1163 of file netiodef.h.
Enumerator | |
---|---|
ARP_HW_ENET | |
ARP_HW_802 |
Definition at line 776 of file netiodef.h.
Enumerator | |
---|---|
ARP_REQUEST | |
ARP_RESPONSE |
Definition at line 771 of file netiodef.h.
Enumerator | |
---|---|
DlUnicast | |
DlMulticast | |
DlBroadcast |
Definition at line 379 of file netiodef.h.
Enumerator | |
---|---|
ICMP4_TIME_EXCEED_TRANSIT | |
ICMP4_TIME_EXCEED_REASSEMBLY |
Definition at line 732 of file netiodef.h.
Definition at line 715 of file netiodef.h.
Enumerator | |
---|---|
IGMP_MAX_RESP_CODE_TYPE_NORMAL | |
IGMP_MAX_RESP_CODE_TYPE_FLOAT |
Definition at line 798 of file netiodef.h.
Enumerator | |
---|---|
IP_OPTION_TIMESTAMP_ONLY | |
IP_OPTION_TIMESTAMP_ADDRESS | |
IP_OPTION_TIMESTAMP_SPECIFIC_ADDRESS |
Definition at line 697 of file netiodef.h.
Enumerator | |
---|---|
IP_OPT_EOL | |
IP_OPT_NOP | |
IP_OPT_SECURITY | |
IP_OPT_LSRR | |
IP_OPT_TS | |
IP_OPT_RR | |
IP_OPT_SSRR | |
IP_OPT_SID | |
IP_OPT_ROUTER_ALERT | |
IP_OPT_MULTIDEST |
Definition at line 665 of file netiodef.h.
Enumerator | |
---|---|
IP6OPT_PAD1 | |
IP6OPT_PADN | |
IP6OPT_TUNNEL_LIMIT | |
IP6OPT_ROUTER_ALERT | |
IP6OPT_JUMBO | |
IP6OPT_NSAP_ADDR |
Definition at line 890 of file netiodef.h.
Enumerator | |
---|---|
MLD_MAX_RESP_CODE_TYPE_NORMAL | |
MLD_MAX_RESP_CODE_TYPE_FLOAT |
Definition at line 1047 of file netiodef.h.
Definition at line 970 of file netiodef.h.
Enumerator | |
---|---|
TokenRingSpecificallyRoutedFrame | |
TokenRingAllRoutesExplorer | |
TokenRingSpanningTreeExplorer |
Definition at line 513 of file netiodef.h.
typedef _Struct_size_bytes_ | ( | _Inexpressible_(Length) | ) |
Definition at line 909 of file netiodef.h.
C_ASSERT | ( | ) |
C_ASSERT | ( | DL_ADDRESS_LENGTH_MAXIMUM >= | DL_SIZEOF_IPV4_TUNNEL_ADDRESS | ) |
C_ASSERT | ( | DL_ADDRESS_LENGTH_MAXIMUM >= | sizeofDL_EUI48 | ) |
C_ASSERT | ( | DL_ADDRESS_LENGTH_MAXIMUM >= | sizeofDL_TEREDO_ADDRESS | ) |
C_ASSERT | ( | ETH_LENGTH_OF_HEADER | = =sizeof(ETHERNET_HEADER) | ) |
C_ASSERT | ( | ETH_LENGTH_OF_SNAP_HEADER | = =sizeof(SNAP_HEADER) | ) |
C_ASSERT | ( | ETH_LENGTH_OF_VLAN_HEADER | = =sizeof(VLAN_TAG) | ) |
C_ASSERT | ( | sizeof(IPV4_HEADER) | = =20 | ) |
C_ASSERT | ( | sizeof(IPV4_OPTION_HEADER) | = =2 | ) |
C_ASSERT | ( | sizeof(IPV6_FRAGMENT_HEADER) | = =8 | ) |
NETIO_INLINE DL_ADDRESS_TYPE EthernetAddressType | ( | _In_reads_(sizeof(DL_EUI48)) CONST UCHAR * | Address | ) |
Definition at line 470 of file netiodef.h.
__inline UCHAR Ip4HeaderLengthInBytes | ( | _In_ CONST UNALIGNED IPV4_HEADER * | Header | ) |
Definition at line 634 of file netiodef.h.
__inline BOOLEAN NmrIsEqualNpiModuleId | ( | _In_ PNPI_MODULEID | ModuleId1, |
_In_ PNPI_MODULEID | ModuleId2 | ||
) |
Definition at line 1221 of file netiodef.h.
NETIO_INLINE DL_ADDRESS_TYPE TokenRingAddressType | ( | _In_ CONST UCHAR * | Address | ) |
Definition at line 549 of file netiodef.h.
Definition at line 541 of file netiodef.h.
Definition at line 533 of file netiodef.h.
|
extern |
Referenced by EthernetAddressType(), and TokenRingAddressType().
IPV6_ROUTING_HEADER |
Definition at line 915 of file netiodef.h.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
* PIPV6_ROUTING_HEADER |
Definition at line 915 of file netiodef.h.
|
extern |