ReactOS 0.4.15-dev-7924-g5949c20
nldef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NL_INTERFACE_OFFLOAD_ROD
 
struct  _NL_PATH_BANDWIDTH_ROD
 

Macros

#define NL_MAX_METRIC_COMPONENT   ((((ULONG) 1) << 31) - 1)
 
#define NlpoOther   IpPrefixOriginOther
 
#define NlpoManual   IpPrefixOriginManual
 
#define NlpoWellKnown   IpPrefixOriginWellKnown
 
#define NlpoDhcp   IpPrefixOriginDhcp
 
#define NlpoRouterAdvertisement   IpPrefixOriginRouterAdvertisement
 
#define MAKE_ROUTE_PROTOCOL(suffix, value)
 
#define NET_IF_CURRENT_SESSION   ((ULONG)-1)
 

Typedefs

typedef enum NL_ROUTE_PROTOCOLPNL_ROUTE_PROTOCOL
 
typedef enum NL_ADDRESS_TYPEPNL_ADDRESS_TYPE
 
typedef enum _NL_ROUTE_ORIGIN NL_ROUTE_ORIGIN
 
typedef enum _NL_ROUTE_ORIGINPNL_ROUTE_ORIGIN
 
typedef enum _NL_NEIGHBOR_STATE NL_NEIGHBOR_STATE
 
typedef enum _NL_NEIGHBOR_STATEPNL_NEIGHBOR_STATE
 
typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR NL_LINK_LOCAL_ADDRESS_BEHAVIOR
 
typedef struct _NL_INTERFACE_OFFLOAD_ROD NL_INTERFACE_OFFLOAD_ROD
 
typedef struct _NL_INTERFACE_OFFLOAD_RODPNL_INTERFACE_OFFLOAD_ROD
 
typedef enum _NL_ROUTER_DISCOVERY_BEHAVIOR NL_ROUTER_DISCOVERY_BEHAVIOR
 
typedef enum _NL_BANDWIDTH_FLAG NL_BANDWIDTH_FLAG
 
typedef enum _NL_BANDWIDTH_FLAGPNL_BANDWIDTH_FLAG
 
typedef struct _NL_PATH_BANDWIDTH_ROD NL_PATH_BANDWIDTH_ROD
 
typedef struct _NL_PATH_BANDWIDTH_RODPNL_PATH_BANDWIDTH_ROD
 
typedef enum _NL_NETWORK_CATEGORY NL_NETWORK_CATEGORY
 
typedef enum _NL_NETWORK_CATEGORYPNL_NETWORK_CATEGORY
 

Enumerations

enum  NL_PREFIX_ORIGIN {
  IpPrefixOriginOther = 0 , IpPrefixOriginManual , IpPrefixOriginWellKnown , IpPrefixOriginDhcp ,
  IpPrefixOriginRouterAdvertisement , IpPrefixOriginUnchanged = 1 << 4
}
 
enum  NL_SUFFIX_ORIGIN {
  NlsoOther = 0 , NlsoManual , NlsoWellKnown , NlsoDhcp ,
  NlsoLinkLayerAddress , NlsoRandom , IpSuffixOriginOther = 0 , IpSuffixOriginManual ,
  IpSuffixOriginWellKnown , IpSuffixOriginDhcp , IpSuffixOriginLinkLayerAddress , IpSuffixOriginRandom ,
  IpSuffixOriginUnchanged = 1 << 4
}
 
enum  NL_DAD_STATE {
  NldsInvalid , NldsTentative , NldsDuplicate , NldsDeprecated ,
  NldsPreferred , IpDadStateInvalid = 0 , IpDadStateTentative , IpDadStateDuplicate ,
  IpDadStateDeprecated , IpDadStatePreferred
}
 
enum  NL_ROUTE_PROTOCOL {
  RouteProtocolOther = 1 , RouteProtocolLocal = 2 , RouteProtocolNetMgmt = 3 , RouteProtocolIcmp = 4 ,
  RouteProtocolEgp = 5 , RouteProtocolGgp = 6 , RouteProtocolHello = 7 , RouteProtocolRip = 8 ,
  RouteProtocolIsIs = 9 , RouteProtocolEsIs = 10 , RouteProtocolCisco = 11 , RouteProtocolBbn = 12 ,
  RouteProtocolOspf = 13 , RouteProtocolBgp = 14 , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) ,
  MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) ,
  MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) ,
  MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) ,
  MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1) , MAKE_ROUTE_PROTOCOL =(OTHER, 1)
}
 
enum  NL_ADDRESS_TYPE {
  NlatUnspecified , NlatUnicast , NlatAnycast , NlatMulticast ,
  NlatBroadcast , NlatInvalid
}
 
enum  _NL_ROUTE_ORIGIN {
  NlroManual , NlroWellKnown , NlroDHCP , NlroRouterAdvertisement ,
  Nlro6to4
}
 
enum  _NL_NEIGHBOR_STATE {
  NlnsUnreachable , NlnsIncomplete , NlnsProbe , NlnsDelay ,
  NlnsStale , NlnsReachable , NlnsPermanent , NlnsMaximum
}
 
enum  _NL_LINK_LOCAL_ADDRESS_BEHAVIOR { LinkLocalAlwaysOff = 0 , LinkLocalDelayed , LinkLocalAlwaysOn , LinkLocalUnchanged = -1 }
 
enum  _NL_ROUTER_DISCOVERY_BEHAVIOR { RouterDiscoveryDisabled = 0 , RouterDiscoveryEnabled , RouterDiscoveryDhcp , RouterDiscoveryUnchanged = -1 }
 
enum  _NL_BANDWIDTH_FLAG { NlbwDisabled = 0 , NlbwEnabled , NlbwUnchanged = -1 }
 
enum  _NL_NETWORK_CATEGORY {
  NetworkCategoryPublic , NetworkCategoryPrivate , NetworkCategoryDomainAuthenticated , NetworkCategoryUnchanged = -1 ,
  NetworkCategoryUnknown = -1
}
 

Macro Definition Documentation

◆ MAKE_ROUTE_PROTOCOL

#define MAKE_ROUTE_PROTOCOL (   suffix,
  value 
)
Value:
MIB_IPPROTO_ ## suffix = value, \
PROTO_IP_ ## suffix = value
Definition: pdh_main.c:94

Definition at line 52 of file nldef.h.

◆ NET_IF_CURRENT_SESSION

#define NET_IF_CURRENT_SESSION   ((ULONG)-1)

Definition at line 163 of file nldef.h.

◆ NL_MAX_METRIC_COMPONENT

#define NL_MAX_METRIC_COMPONENT   ((((ULONG) 1) << 31) - 1)

Definition at line 6 of file nldef.h.

◆ NlpoDhcp

#define NlpoDhcp   IpPrefixOriginDhcp

Definition at line 20 of file nldef.h.

◆ NlpoManual

#define NlpoManual   IpPrefixOriginManual

Definition at line 18 of file nldef.h.

◆ NlpoOther

#define NlpoOther   IpPrefixOriginOther

Definition at line 17 of file nldef.h.

◆ NlpoRouterAdvertisement

#define NlpoRouterAdvertisement   IpPrefixOriginRouterAdvertisement

Definition at line 21 of file nldef.h.

◆ NlpoWellKnown

#define NlpoWellKnown   IpPrefixOriginWellKnown

Definition at line 19 of file nldef.h.

Typedef Documentation

◆ NL_BANDWIDTH_FLAG

◆ NL_INTERFACE_OFFLOAD_ROD

◆ NL_LINK_LOCAL_ADDRESS_BEHAVIOR

◆ NL_NEIGHBOR_STATE

◆ NL_NETWORK_CATEGORY

◆ NL_PATH_BANDWIDTH_ROD

◆ NL_ROUTE_ORIGIN

◆ NL_ROUTER_DISCOVERY_BEHAVIOR

◆ PNL_ADDRESS_TYPE

◆ PNL_BANDWIDTH_FLAG

◆ PNL_INTERFACE_OFFLOAD_ROD

◆ PNL_NEIGHBOR_STATE

◆ PNL_NETWORK_CATEGORY

◆ PNL_PATH_BANDWIDTH_ROD

◆ PNL_ROUTE_ORIGIN

◆ PNL_ROUTE_PROTOCOL

Enumeration Type Documentation

◆ _NL_BANDWIDTH_FLAG

Enumerator
NlbwDisabled 
NlbwEnabled 
NlbwUnchanged 

Definition at line 143 of file nldef.h.

143 {
144 NlbwDisabled = 0,
146 NlbwUnchanged = -1
enum _NL_BANDWIDTH_FLAG NL_BANDWIDTH_FLAG
enum _NL_BANDWIDTH_FLAG * PNL_BANDWIDTH_FLAG
@ NlbwDisabled
Definition: nldef.h:144
@ NlbwEnabled
Definition: nldef.h:145
@ NlbwUnchanged
Definition: nldef.h:146

◆ _NL_LINK_LOCAL_ADDRESS_BEHAVIOR

Enumerator
LinkLocalAlwaysOff 
LinkLocalDelayed 
LinkLocalAlwaysOn 
LinkLocalUnchanged 

Definition at line 118 of file nldef.h.

118 {
@ LinkLocalDelayed
Definition: nldef.h:120
@ LinkLocalAlwaysOn
Definition: nldef.h:121
@ LinkLocalAlwaysOff
Definition: nldef.h:119
@ LinkLocalUnchanged
Definition: nldef.h:122
enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR NL_LINK_LOCAL_ADDRESS_BEHAVIOR

◆ _NL_NEIGHBOR_STATE

Enumerator
NlnsUnreachable 
NlnsIncomplete 
NlnsProbe 
NlnsDelay 
NlnsStale 
NlnsReachable 
NlnsPermanent 
NlnsMaximum 

Definition at line 107 of file nldef.h.

107 {
110 NlnsProbe,
111 NlnsDelay,
112 NlnsStale,
@ 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_NEIGHBOR_STATE NL_NEIGHBOR_STATE
enum _NL_NEIGHBOR_STATE * PNL_NEIGHBOR_STATE

◆ _NL_NETWORK_CATEGORY

Enumerator
NetworkCategoryPublic 
NetworkCategoryPrivate 
NetworkCategoryDomainAuthenticated 
NetworkCategoryUnchanged 
NetworkCategoryUnknown 

Definition at line 155 of file nldef.h.

155 {
enum _NL_NETWORK_CATEGORY * PNL_NETWORK_CATEGORY
enum _NL_NETWORK_CATEGORY NL_NETWORK_CATEGORY
@ 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

◆ _NL_ROUTE_ORIGIN

Enumerator
NlroManual 
NlroWellKnown 
NlroDHCP 
NlroRouterAdvertisement 
Nlro6to4 

Definition at line 99 of file nldef.h.

99 {
102 NlroDHCP,
104 Nlro6to4,
enum _NL_ROUTE_ORIGIN * PNL_ROUTE_ORIGIN
enum _NL_ROUTE_ORIGIN NL_ROUTE_ORIGIN
@ 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

◆ _NL_ROUTER_DISCOVERY_BEHAVIOR

Enumerator
RouterDiscoveryDisabled 
RouterDiscoveryEnabled 
RouterDiscoveryDhcp 
RouterDiscoveryUnchanged 

Definition at line 136 of file 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_ROUTER_DISCOVERY_BEHAVIOR NL_ROUTER_DISCOVERY_BEHAVIOR

◆ NL_ADDRESS_TYPE

Enumerator
NlatUnspecified 
NlatUnicast 
NlatAnycast 
NlatMulticast 
NlatBroadcast 
NlatInvalid 

Definition at line 90 of file nldef.h.

90 {
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
enum NL_ADDRESS_TYPE * PNL_ADDRESS_TYPE

◆ NL_DAD_STATE

Enumerator
NldsInvalid 
NldsTentative 
NldsDuplicate 
NldsDeprecated 
NldsPreferred 
IpDadStateInvalid 
IpDadStateTentative 
IpDadStateDuplicate 
IpDadStateDeprecated 
IpDadStatePreferred 

Definition at line 39 of file nldef.h.

39 {
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

◆ NL_PREFIX_ORIGIN

Enumerator
IpPrefixOriginOther 
IpPrefixOriginManual 
IpPrefixOriginWellKnown 
IpPrefixOriginDhcp 
IpPrefixOriginRouterAdvertisement 
IpPrefixOriginUnchanged 

Definition at line 8 of file nldef.h.

8 {
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_ROUTE_PROTOCOL

Enumerator
RouteProtocolOther 
RouteProtocolLocal 
RouteProtocolNetMgmt 
RouteProtocolIcmp 
RouteProtocolEgp 
RouteProtocolGgp 
RouteProtocolHello 
RouteProtocolRip 
RouteProtocolIsIs 
RouteProtocolEsIs 
RouteProtocolCisco 
RouteProtocolBbn 
RouteProtocolOspf 
RouteProtocolBgp 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 
MAKE_ROUTE_PROTOCOL 

Definition at line 56 of file nldef.h.

56 {
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),
#define LOCAL(type)
Definition: jmorecfg.h:289
@ ICMP
Definition: netstat.c:29
enum NL_ROUTE_PROTOCOL * PNL_ROUTE_PROTOCOL
#define MAKE_ROUTE_PROTOCOL(suffix, value)
Definition: nldef.h:52
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
@ OTHER
Definition: user_lib.h:33
#define RIP(x)
Definition: debug.h:24

◆ NL_SUFFIX_ORIGIN

Enumerator
NlsoOther 
NlsoManual 
NlsoWellKnown 
NlsoDhcp 
NlsoLinkLayerAddress 
NlsoRandom 
IpSuffixOriginOther 
IpSuffixOriginManual 
IpSuffixOriginWellKnown 
IpSuffixOriginDhcp 
IpSuffixOriginLinkLayerAddress 
IpSuffixOriginRandom 
IpSuffixOriginUnchanged 

Definition at line 23 of file nldef.h.

23 {
24 NlsoOther = 0,
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