Add build of ovsext.sln using MSBuild
[cascardo/ovs.git] / include / windows / net / if.h
1 /*
2  * Copyright (c) 2014 Nicira, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __NET_IF_H
18 #define __NET_IF_H 1
19
20 #include <Netioapi.h>
21
22 #define IFNAMSIZ IF_NAMESIZE
23
24 enum {
25     IFLA_UNSPEC,
26     IFLA_ADDRESS,
27     IFLA_BROADCAST,
28     IFLA_IFNAME,
29     IFLA_MTU,
30     IFLA_LINK,
31     IFLA_QDISC,
32     IFLA_STATS,
33     IFLA_COST,
34 #define IFLA_COST IFLA_COST
35     IFLA_PRIORITY,
36 #define IFLA_PRIORITY IFLA_PRIORITY
37     IFLA_MASTER,
38 #define IFLA_MASTER IFLA_MASTER
39     IFLA_WIRELESS,
40 #define IFLA_WIRELESS IFLA_WIRELESS
41     IFLA_PROTINFO,
42 #define IFLA_PROTINFO IFLA_PROTINFO
43     IFLA_TXQLEN,
44 #define IFLA_TXQLEN IFLA_TXQLEN
45     IFLA_MAP,
46 #define IFLA_MAP IFLA_MAP
47     IFLA_WEIGHT,
48 #define IFLA_WEIGHT IFLA_WEIGHT
49     IFLA_OPERSTATE,
50     IFLA_LINKMODE,
51     IFLA_LINKINFO,
52 #define IFLA_LINKINFO IFLA_LINKINFO
53     IFLA_NET_NS_PID,
54     IFLA_IFALIAS,
55     IFLA_NUM_VF,
56     IFLA_VFINFO_LIST,
57     IFLA_STATS64,
58     IFLA_VF_PORTS,
59     IFLA_PORT_SELF,
60     IFLA_AF_SPEC,
61     IFLA_GROUP,
62     IFLA_NET_NS_FD,
63     IFLA_EXT_MASK,
64     IFLA_PROMISCUITY,
65 #define IFLA_PROMISCUITY IFLA_PROMISCUITY
66     IFLA_NUM_TX_QUEUES,
67     IFLA_NUM_RX_QUEUES,
68     IFLA_CARRIER,
69     IFLA_PHYS_PORT_ID,
70     __IFLA_MAX
71 };
72 #define IFLA_MAX (__IFLA_MAX - 1)
73
74 #endif /* net/if.h */