xmllite/tests: Fix a memory leak (Valgrind).
[wine.git] / include / nldef.h
blob550d3236d4a8b78204d9497159bdda5bdc71730a
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;
52 typedef enum
54 #define MAKE_ROUTE_PROTOCOL(name, value) \
55 MIB_IPPROTO_ ## name = value, \
56 PROTO_IP_ ## name = value
58 MAKE_ROUTE_PROTOCOL(OTHER, 1),
59 MAKE_ROUTE_PROTOCOL(LOCAL, 2),
60 MAKE_ROUTE_PROTOCOL(NETMGMT, 3),
61 MAKE_ROUTE_PROTOCOL(ICMP, 4),
62 MAKE_ROUTE_PROTOCOL(EGP, 5),
63 MAKE_ROUTE_PROTOCOL(GGP, 6),
64 MAKE_ROUTE_PROTOCOL(HELLO, 7),
65 MAKE_ROUTE_PROTOCOL(RIP, 8),
66 MAKE_ROUTE_PROTOCOL(IS_IS, 9),
67 MAKE_ROUTE_PROTOCOL(ES_IS, 10),
68 MAKE_ROUTE_PROTOCOL(CISCO, 11),
69 MAKE_ROUTE_PROTOCOL(BBN, 12),
70 MAKE_ROUTE_PROTOCOL(OSPF, 13),
71 MAKE_ROUTE_PROTOCOL(BGP, 14),
73 MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC, 10002),
74 MAKE_ROUTE_PROTOCOL(NT_STATIC, 10006),
75 MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD, 10007),
76 } NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL;
79 #endif /* __WINE_NLDEF_H */