2 * Copyright (C) 2003 Juan Lang
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef __WINE_NLDEF_H
19 #define __WINE_NLDEF_H
23 IpPrefixOriginOther
= 0,
25 IpPrefixOriginWellKnown
,
27 IpPrefixOriginRouterAdvertisement
,
28 IpPrefixOriginUnchanged
= 16,
31 typedef enum _NL_ROUTE_ORIGIN
36 NlroRouterAdvertisement
,
38 } NL_ROUTE_ORIGIN
, *PNL_ROUTE_ORIGIN
;
42 IpSuffixOriginOther
= 0,
44 IpSuffixOriginWellKnown
,
46 IpSuffixOriginLinkLayerAddress
,
48 IpSuffixOriginUnchanged
= 16,
53 IpDadStateInvalid
= 0,
60 typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR
62 LinkLocalAlwaysOff
= 0,
65 LinkLocalUnchanged
= -1,
66 } NL_LINK_LOCAL_ADDRESS_BEHAVIOR
;
68 typedef enum _NL_ROUTER_DISCOVERY_BEHAVIOR
70 RouterDiscoveryDisabled
= 0,
71 RouterDiscoveryEnabled
,
73 RouterDiscoveryUnchanged
= -1,
74 } NL_ROUTER_DISCOVERY_BEHAVIOR
;
78 #define MAKE_ROUTE_PROTOCOL(name, value) \
79 MIB_IPPROTO_ ## name = value, \
80 PROTO_IP_ ## name = value
82 MAKE_ROUTE_PROTOCOL(OTHER
, 1),
83 MAKE_ROUTE_PROTOCOL(LOCAL
, 2),
84 MAKE_ROUTE_PROTOCOL(NETMGMT
, 3),
85 MAKE_ROUTE_PROTOCOL(ICMP
, 4),
86 MAKE_ROUTE_PROTOCOL(EGP
, 5),
87 MAKE_ROUTE_PROTOCOL(GGP
, 6),
88 MAKE_ROUTE_PROTOCOL(HELLO
, 7),
89 MAKE_ROUTE_PROTOCOL(RIP
, 8),
90 MAKE_ROUTE_PROTOCOL(IS_IS
, 9),
91 MAKE_ROUTE_PROTOCOL(ES_IS
, 10),
92 MAKE_ROUTE_PROTOCOL(CISCO
, 11),
93 MAKE_ROUTE_PROTOCOL(BBN
, 12),
94 MAKE_ROUTE_PROTOCOL(OSPF
, 13),
95 MAKE_ROUTE_PROTOCOL(BGP
, 14),
97 MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC
, 10002),
98 MAKE_ROUTE_PROTOCOL(NT_STATIC
, 10006),
99 MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD
, 10007),
100 } NL_ROUTE_PROTOCOL
, *PNL_ROUTE_PROTOCOL
;
102 typedef struct _NL_INTERFACE_OFFLOAD_ROD
104 BOOLEAN NlChecksumSupported
: 1;
105 BOOLEAN NlOptionsSupported
: 1;
106 BOOLEAN TlDatagramChecksumSupported
: 1;
107 BOOLEAN TlStreamChecksumSupported
: 1;
108 BOOLEAN TlStreamOptionsSupported
: 1;
109 BOOLEAN FastPathCompatible
: 1;
110 BOOLEAN TlLargeSendOffloadSupported
: 1;
111 BOOLEAN TlGiantSendOffloadSupported
: 1;
112 } NL_INTERFACE_OFFLOAD_ROD
, *PNL_INTERFACE_OFFLOAD_ROD
;
114 typedef enum _NL_NEIGHBOR_STATE
124 } NL_NEIGHBOR_STATE
, *PNL_NEIGHBOR_STATE
;
126 #endif /* __WINE_NLDEF_H */