winebuild: Put the thunk hint/name in FirstThunk too instead of zero.
[wine.git] / include / nldef.h
blob1f96773c8e11ca5f3e26dabb6876c4c21c03e1bf
1 /*
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
21 typedef enum
23 IpPrefixOriginOther = 0,
24 IpPrefixOriginManual,
25 IpPrefixOriginWellKnown,
26 IpPrefixOriginDhcp,
27 IpPrefixOriginRouterAdvertisement,
28 IpPrefixOriginUnchanged = 16,
29 } NL_PREFIX_ORIGIN;
31 typedef enum
33 IpSuffixOriginOther = 0,
34 IpSuffixOriginManual,
35 IpSuffixOriginWellKnown,
36 IpSuffixOriginDhcp,
37 IpSuffixOriginLinkLayerAddress,
38 IpSuffixOriginRandom,
39 IpSuffixOriginUnchanged = 16,
40 } NL_SUFFIX_ORIGIN;
42 typedef enum
44 IpDadStateInvalid = 0,
45 IpDadStateTentative,
46 IpDadStateDuplicate,
47 IpDadStateDeprecated,
48 IpDadStatePreferred,
49 } NL_DAD_STATE;
51 typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR
53 LinkLocalAlwaysOff = 0,
54 LinkLocalDelayed,
55 LinkLocalAlwaysOn,
56 LinkLocalUnchanged = -1,
57 } NL_LINK_LOCAL_ADDRESS_BEHAVIOR;
59 typedef enum _NL_ROUTER_DISCOVERY_BEHAVIOR
61 RouterDiscoveryDisabled = 0,
62 RouterDiscoveryEnabled,
63 RouterDiscoveryDhcp,
64 RouterDiscoveryUnchanged = -1,
65 } NL_ROUTER_DISCOVERY_BEHAVIOR;
67 typedef enum
69 #define MAKE_ROUTE_PROTOCOL(name, value) \
70 MIB_IPPROTO_ ## name = value, \
71 PROTO_IP_ ## name = value
73 MAKE_ROUTE_PROTOCOL(OTHER, 1),
74 MAKE_ROUTE_PROTOCOL(LOCAL, 2),
75 MAKE_ROUTE_PROTOCOL(NETMGMT, 3),
76 MAKE_ROUTE_PROTOCOL(ICMP, 4),
77 MAKE_ROUTE_PROTOCOL(EGP, 5),
78 MAKE_ROUTE_PROTOCOL(GGP, 6),
79 MAKE_ROUTE_PROTOCOL(HELLO, 7),
80 MAKE_ROUTE_PROTOCOL(RIP, 8),
81 MAKE_ROUTE_PROTOCOL(IS_IS, 9),
82 MAKE_ROUTE_PROTOCOL(ES_IS, 10),
83 MAKE_ROUTE_PROTOCOL(CISCO, 11),
84 MAKE_ROUTE_PROTOCOL(BBN, 12),
85 MAKE_ROUTE_PROTOCOL(OSPF, 13),
86 MAKE_ROUTE_PROTOCOL(BGP, 14),
88 MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC, 10002),
89 MAKE_ROUTE_PROTOCOL(NT_STATIC, 10006),
90 MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD, 10007),
91 } NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL;
93 typedef struct _NL_INTERFACE_OFFLOAD_ROD
95 BOOLEAN NlChecksumSupported : 1;
96 BOOLEAN NlOptionsSupported : 1;
97 BOOLEAN TlDatagramChecksumSupported : 1;
98 BOOLEAN TlStreamChecksumSupported : 1;
99 BOOLEAN TlStreamOptionsSupported : 1;
100 BOOLEAN FastPathCompatible : 1;
101 BOOLEAN TlLargeSendOffloadSupported : 1;
102 BOOLEAN TlGiantSendOffloadSupported : 1;
103 } NL_INTERFACE_OFFLOAD_ROD, *PNL_INTERFACE_OFFLOAD_ROD;
105 #endif /* __WINE_NLDEF_H */