VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/nldef.h

最後變更 在這個檔案是 53206,由 vboxsync 提交於 10 年 前

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.8 KB
 
1/*
2 * Copyright (C) 2003 Juan Lang
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_NLDEF_H
29#define __WINE_NLDEF_H
30
31typedef enum
32{
33 IpPrefixOriginOther = 0,
34 IpPrefixOriginManual,
35 IpPrefixOriginWellKnown,
36 IpPrefixOriginDhcp,
37 IpPrefixOriginRouterAdvertisement,
38 IpPrefixOriginUnchanged = 16,
39} NL_PREFIX_ORIGIN;
40
41typedef enum
42{
43 IpSuffixOriginOther = 0,
44 IpSuffixOriginManual,
45 IpSuffixOriginWellKnown,
46 IpSuffixOriginDhcp,
47 IpSuffixOriginLinkLayerAddress,
48 IpSuffixOriginRandom,
49 IpSuffixOriginUnchanged = 16,
50} NL_SUFFIX_ORIGIN;
51
52typedef enum
53{
54 IpDadStateInvalid = 0,
55 IpDadStateTentative,
56 IpDadStateDuplicate,
57 IpDadStateDeprecated,
58 IpDadStatePreferred,
59} NL_DAD_STATE;
60
61
62typedef enum
63{
64#define MAKE_ROUTE_PROTOCOL(name, value) \
65 MIB_IPPROTO_ ## name = value, \
66 PROTO_IP_ ## name = value
67
68 MAKE_ROUTE_PROTOCOL(OTHER, 1),
69 MAKE_ROUTE_PROTOCOL(LOCAL, 2),
70 MAKE_ROUTE_PROTOCOL(NETMGMT, 3),
71 MAKE_ROUTE_PROTOCOL(ICMP, 4),
72 MAKE_ROUTE_PROTOCOL(EGP, 5),
73 MAKE_ROUTE_PROTOCOL(GGP, 6),
74 MAKE_ROUTE_PROTOCOL(HELLO, 7),
75 MAKE_ROUTE_PROTOCOL(RIP, 8),
76 MAKE_ROUTE_PROTOCOL(IS_IS, 9),
77 MAKE_ROUTE_PROTOCOL(ES_IS, 10),
78 MAKE_ROUTE_PROTOCOL(CISCO, 11),
79 MAKE_ROUTE_PROTOCOL(BBN, 12),
80 MAKE_ROUTE_PROTOCOL(OSPF, 13),
81 MAKE_ROUTE_PROTOCOL(BGP, 14),
82
83 MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC, 10002),
84 MAKE_ROUTE_PROTOCOL(NT_STATIC, 10006),
85 MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD, 10007),
86} NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL;
87
88
89#endif /* __WINE_NLDEF_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette