Go to the documentation of this file. 1 #ifndef _UAPI_LINUX_IF_LINK_H
2 #define _UAPI_LINUX_IF_LINK_H
4 #include <linux/types.h>
5 #include <linux/netlink.h>
111 #define IFLA_COST IFLA_COST
113 #define IFLA_PRIORITY IFLA_PRIORITY
115 #define IFLA_MASTER IFLA_MASTER
117 #define IFLA_WIRELESS IFLA_WIRELESS
119 #define IFLA_PROTINFO IFLA_PROTINFO
121 #define IFLA_TXQLEN IFLA_TXQLEN
123 #define IFLA_MAP IFLA_MAP
125 #define IFLA_WEIGHT IFLA_WEIGHT
129 #define IFLA_LINKINFO IFLA_LINKINFO
142 #define IFLA_PROMISCUITY IFLA_PROMISCUITY
149 #define IFLA_MAX (__IFLA_MAX - 1)
153 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
154 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
163 #define IFLA_INET_MAX (__IFLA_INET_MAX - 1)
206 #define IFLA_INET6_MAX (__IFLA_INET6_MAX - 1)
223 #define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
236 #define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
249 #define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
264 #define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1)
273 #define MACVLAN_FLAG_NOPROMISC 1
290 #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
305 #define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1)
316 #define IFLA_VF_MAX (__IFLA_VF_MAX - 1)
360 #define IFLA_VF_PORT_MAX (__IFLA_VF_PORT_MAX - 1)
374 #define IFLA_PORT_MAX (__IFLA_PORT_MAX - 1)
376 #define PORT_PROFILE_MAX 40
377 #define PORT_UUID_MAX 16
378 #define PORT_SELF_VF -1
427 #define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1)