ReactOS 0.4.16-dev-336-gb667d82
nldef.h
Go to the documentation of this file.
1#ifndef _NLDEF_
2#define _NLDEF_
3
4#pragma once
5
6#define NL_MAX_METRIC_COMPONENT ((((ULONG) 1) << 31) - 1)
7
8typedef enum {
16
17#define NlpoOther IpPrefixOriginOther
18#define NlpoManual IpPrefixOriginManual
19#define NlpoWellKnown IpPrefixOriginWellKnown
20#define NlpoDhcp IpPrefixOriginDhcp
21#define NlpoRouterAdvertisement IpPrefixOriginRouterAdvertisement
22
23typedef enum {
38
39typedef enum {
51
52#define MAKE_ROUTE_PROTOCOL(suffix, value) \
53 MIB_IPPROTO_ ## suffix = value, \
54 PROTO_IP_ ## suffix = value
55
56typedef enum {
73 MAKE_ROUTE_PROTOCOL(NETMGMT, 3),
75 MAKE_ROUTE_PROTOCOL(EGP, 5),
76 MAKE_ROUTE_PROTOCOL(GGP, 6),
77 MAKE_ROUTE_PROTOCOL(HELLO, 7),
79 MAKE_ROUTE_PROTOCOL(IS_IS, 9),
80 MAKE_ROUTE_PROTOCOL(ES_IS, 10),
81 MAKE_ROUTE_PROTOCOL(CISCO, 11),
82 MAKE_ROUTE_PROTOCOL(BBN, 12),
83 MAKE_ROUTE_PROTOCOL(OSPF, 13),
84 MAKE_ROUTE_PROTOCOL(BGP, 14),
85 MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC, 10002),
86 MAKE_ROUTE_PROTOCOL(NT_STATIC, 10006),
87 MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD, 10007),
89
90typedef enum {
98
99typedef enum _NL_ROUTE_ORIGIN {
106
107typedef enum _NL_NEIGHBOR_STATE {
117
124
135
142
143typedef enum _NL_BANDWIDTH_FLAG {
146 NlbwUnchanged = -1
148
154
162
163#define NET_IF_CURRENT_SESSION ((ULONG)-1)
164
165#endif /* _NLDEF_ */
166
unsigned char BOOLEAN
#define LOCAL(type)
Definition: jmorecfg.h:289
unsigned __int64 ULONG64
Definition: imports.h:198
@ ICMP
Definition: netstat.c:29
enum _NL_NETWORK_CATEGORY * PNL_NETWORK_CATEGORY
enum _NL_ROUTE_ORIGIN * PNL_ROUTE_ORIGIN
_NL_ROUTER_DISCOVERY_BEHAVIOR
Definition: nldef.h:136
@ RouterDiscoveryDhcp
Definition: nldef.h:139
@ RouterDiscoveryEnabled
Definition: nldef.h:138
@ RouterDiscoveryUnchanged
Definition: nldef.h:140
@ RouterDiscoveryDisabled
Definition: nldef.h:137
enum NL_ROUTE_PROTOCOL * PNL_ROUTE_PROTOCOL
_NL_LINK_LOCAL_ADDRESS_BEHAVIOR
Definition: nldef.h:118
@ LinkLocalDelayed
Definition: nldef.h:120
@ LinkLocalAlwaysOn
Definition: nldef.h:121
@ LinkLocalAlwaysOff
Definition: nldef.h:119
@ LinkLocalUnchanged
Definition: nldef.h:122
struct _NL_PATH_BANDWIDTH_ROD * PNL_PATH_BANDWIDTH_ROD
_NL_NEIGHBOR_STATE
Definition: nldef.h:107
@ NlnsUnreachable
Definition: nldef.h:108
@ NlnsPermanent
Definition: nldef.h:114
@ NlnsDelay
Definition: nldef.h:111
@ NlnsIncomplete
Definition: nldef.h:109
@ NlnsStale
Definition: nldef.h:112
@ NlnsReachable
Definition: nldef.h:113
@ NlnsProbe
Definition: nldef.h:110
@ NlnsMaximum
Definition: nldef.h:115
enum _NL_NETWORK_CATEGORY NL_NETWORK_CATEGORY
NL_ADDRESS_TYPE
Definition: nldef.h:90
@ NlatBroadcast
Definition: nldef.h:95
@ NlatUnicast
Definition: nldef.h:92
@ NlatUnspecified
Definition: nldef.h:91
@ NlatAnycast
Definition: nldef.h:93
@ NlatMulticast
Definition: nldef.h:94
@ NlatInvalid
Definition: nldef.h:96
#define MAKE_ROUTE_PROTOCOL(suffix, value)
Definition: nldef.h:52
enum NL_ADDRESS_TYPE * PNL_ADDRESS_TYPE
enum _NL_NEIGHBOR_STATE NL_NEIGHBOR_STATE
NL_DAD_STATE
Definition: nldef.h:39
@ IpDadStateInvalid
Definition: nldef.h:45
@ IpDadStatePreferred
Definition: nldef.h:49
@ NldsDeprecated
Definition: nldef.h:43
@ NldsInvalid
Definition: nldef.h:40
@ IpDadStateDeprecated
Definition: nldef.h:48
@ NldsDuplicate
Definition: nldef.h:42
@ IpDadStateTentative
Definition: nldef.h:46
@ NldsPreferred
Definition: nldef.h:44
@ NldsTentative
Definition: nldef.h:41
@ IpDadStateDuplicate
Definition: nldef.h:47
enum _NL_BANDWIDTH_FLAG NL_BANDWIDTH_FLAG
enum _NL_ROUTE_ORIGIN NL_ROUTE_ORIGIN
_NL_NETWORK_CATEGORY
Definition: nldef.h:155
@ NetworkCategoryPrivate
Definition: nldef.h:157
@ NetworkCategoryUnchanged
Definition: nldef.h:159
@ NetworkCategoryDomainAuthenticated
Definition: nldef.h:158
@ NetworkCategoryUnknown
Definition: nldef.h:160
@ NetworkCategoryPublic
Definition: nldef.h:156
enum _NL_BANDWIDTH_FLAG * PNL_BANDWIDTH_FLAG
_NL_BANDWIDTH_FLAG
Definition: nldef.h:143
@ NlbwDisabled
Definition: nldef.h:144
@ NlbwEnabled
Definition: nldef.h:145
@ NlbwUnchanged
Definition: nldef.h:146
enum _NL_ROUTER_DISCOVERY_BEHAVIOR NL_ROUTER_DISCOVERY_BEHAVIOR
struct _NL_PATH_BANDWIDTH_ROD NL_PATH_BANDWIDTH_ROD
struct _NL_INTERFACE_OFFLOAD_ROD * PNL_INTERFACE_OFFLOAD_ROD
struct _NL_INTERFACE_OFFLOAD_ROD NL_INTERFACE_OFFLOAD_ROD
NL_PREFIX_ORIGIN
Definition: nldef.h:8
@ IpPrefixOriginUnchanged
Definition: nldef.h:14
@ IpPrefixOriginWellKnown
Definition: nldef.h:11
@ IpPrefixOriginRouterAdvertisement
Definition: nldef.h:13
@ IpPrefixOriginOther
Definition: nldef.h:9
@ IpPrefixOriginDhcp
Definition: nldef.h:12
@ IpPrefixOriginManual
Definition: nldef.h:10
NL_SUFFIX_ORIGIN
Definition: nldef.h:23
@ IpSuffixOriginDhcp
Definition: nldef.h:33
@ IpSuffixOriginOther
Definition: nldef.h:30
@ NlsoRandom
Definition: nldef.h:29
@ IpSuffixOriginRandom
Definition: nldef.h:35
@ IpSuffixOriginManual
Definition: nldef.h:31
@ IpSuffixOriginLinkLayerAddress
Definition: nldef.h:34
@ NlsoLinkLayerAddress
Definition: nldef.h:28
@ NlsoManual
Definition: nldef.h:25
@ NlsoOther
Definition: nldef.h:24
@ NlsoDhcp
Definition: nldef.h:27
@ NlsoWellKnown
Definition: nldef.h:26
@ IpSuffixOriginWellKnown
Definition: nldef.h:32
@ IpSuffixOriginUnchanged
Definition: nldef.h:36
enum _NL_NEIGHBOR_STATE * PNL_NEIGHBOR_STATE
NL_ROUTE_PROTOCOL
Definition: nldef.h:56
@ RouteProtocolIcmp
Definition: nldef.h:60
@ RouteProtocolOspf
Definition: nldef.h:69
@ RouteProtocolCisco
Definition: nldef.h:67
@ RouteProtocolHello
Definition: nldef.h:63
@ RouteProtocolNetMgmt
Definition: nldef.h:59
@ RouteProtocolIsIs
Definition: nldef.h:65
@ RouteProtocolEgp
Definition: nldef.h:61
@ RouteProtocolGgp
Definition: nldef.h:62
@ RouteProtocolEsIs
Definition: nldef.h:66
@ RouteProtocolRip
Definition: nldef.h:64
@ RouteProtocolLocal
Definition: nldef.h:58
@ RouteProtocolBgp
Definition: nldef.h:70
@ RouteProtocolOther
Definition: nldef.h:57
@ RouteProtocolBbn
Definition: nldef.h:68
_NL_ROUTE_ORIGIN
Definition: nldef.h:99
@ Nlro6to4
Definition: nldef.h:104
@ NlroRouterAdvertisement
Definition: nldef.h:103
@ NlroManual
Definition: nldef.h:100
@ NlroDHCP
Definition: nldef.h:102
@ NlroWellKnown
Definition: nldef.h:101
enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR NL_LINK_LOCAL_ADDRESS_BEHAVIOR
BOOLEAN NlChecksumSupported
Definition: nldef.h:126
BOOLEAN TlGiantSendOffloadSupported
Definition: nldef.h:133
BOOLEAN TlStreamOptionsSupported
Definition: nldef.h:130
BOOLEAN NlOptionsSupported
Definition: nldef.h:127
BOOLEAN TlLargeSendOffloadSupported
Definition: nldef.h:132
BOOLEAN FastPathCompatible
Definition: nldef.h:131
BOOLEAN TlStreamChecksumSupported
Definition: nldef.h:129
BOOLEAN TlDatagramChecksumSupported
Definition: nldef.h:128
BOOLEAN BandwidthPeaked
Definition: nldef.h:152
ULONG64 Instability
Definition: nldef.h:151
@ OTHER
Definition: user_lib.h:33
#define RIP(x)
Definition: debug.h:24