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,
33 IpSuffixOriginOther = 0,
35 IpSuffixOriginWellKnown,
37 IpSuffixOriginLinkLayerAddress,
39 IpSuffixOriginUnchanged = 16,
44 IpDadStateInvalid = 0,
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 */