diff options
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/Kbuild | 1 | ||||
| -rw-r--r-- | include/uapi/linux/ethtool.h | 4 | ||||
| -rw-r--r-- | include/uapi/linux/if_bridge.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/if_link.h | 4 | ||||
| -rw-r--r-- | include/uapi/linux/in.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/ipv6.h | 7 | ||||
| -rw-r--r-- | include/uapi/linux/l2tp.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/libc-compat.h | 6 | ||||
| -rw-r--r-- | include/uapi/linux/neighbour.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/net_namespace.h | 23 | ||||
| -rw-r--r-- | include/uapi/linux/net_tstamp.h | 3 | ||||
| -rw-r--r-- | include/uapi/linux/nfc.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/nl80211.h | 207 | ||||
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 53 | ||||
| -rw-r--r-- | include/uapi/linux/pkt_sched.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/rtnetlink.h | 8 | ||||
| -rw-r--r-- | include/uapi/linux/snmp.h | 6 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/Kbuild | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_bpf.h | 31 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_connmark.h | 22 | ||||
| -rw-r--r-- | include/uapi/linux/tipc_config.h | 20 |
21 files changed, 369 insertions, 35 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 00b100023c47..14b7b6e44c77 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -283,6 +283,7 @@ header-y += net.h | |||
| 283 | header-y += netlink_diag.h | 283 | header-y += netlink_diag.h |
| 284 | header-y += netlink.h | 284 | header-y += netlink.h |
| 285 | header-y += netrom.h | 285 | header-y += netrom.h |
| 286 | header-y += net_namespace.h | ||
| 286 | header-y += net_tstamp.h | 287 | header-y += net_tstamp.h |
| 287 | header-y += nfc.h | 288 | header-y += nfc.h |
| 288 | header-y += nfs2.h | 289 | header-y += nfs2.h |
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 5f66d9c2889d..2e49fc880d29 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -139,6 +139,7 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep) | |||
| 139 | 139 | ||
| 140 | #define ETHTOOL_FWVERS_LEN 32 | 140 | #define ETHTOOL_FWVERS_LEN 32 |
| 141 | #define ETHTOOL_BUSINFO_LEN 32 | 141 | #define ETHTOOL_BUSINFO_LEN 32 |
| 142 | #define ETHTOOL_EROMVERS_LEN 32 | ||
| 142 | 143 | ||
| 143 | /** | 144 | /** |
| 144 | * struct ethtool_drvinfo - general driver and device information | 145 | * struct ethtool_drvinfo - general driver and device information |
| @@ -148,6 +149,7 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep) | |||
| 148 | * not be an empty string. | 149 | * not be an empty string. |
| 149 | * @version: Driver version string; may be an empty string | 150 | * @version: Driver version string; may be an empty string |
| 150 | * @fw_version: Firmware version string; may be an empty string | 151 | * @fw_version: Firmware version string; may be an empty string |
| 152 | * @erom_version: Expansion ROM version string; may be an empty string | ||
| 151 | * @bus_info: Device bus address. This should match the dev_name() | 153 | * @bus_info: Device bus address. This should match the dev_name() |
| 152 | * string for the underlying bus device, if there is one. May be | 154 | * string for the underlying bus device, if there is one. May be |
| 153 | * an empty string. | 155 | * an empty string. |
| @@ -176,7 +178,7 @@ struct ethtool_drvinfo { | |||
| 176 | char version[32]; | 178 | char version[32]; |
| 177 | char fw_version[ETHTOOL_FWVERS_LEN]; | 179 | char fw_version[ETHTOOL_FWVERS_LEN]; |
| 178 | char bus_info[ETHTOOL_BUSINFO_LEN]; | 180 | char bus_info[ETHTOOL_BUSINFO_LEN]; |
| 179 | char reserved1[32]; | 181 | char erom_version[ETHTOOL_EROMVERS_LEN]; |
| 180 | char reserved2[12]; | 182 | char reserved2[12]; |
| 181 | __u32 n_priv_flags; | 183 | __u32 n_priv_flags; |
| 182 | __u32 n_stats; | 184 | __u32 n_stats; |
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index b03ee8f62d3c..eaaea6208b42 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h | |||
| @@ -125,6 +125,8 @@ enum { | |||
| 125 | #define BRIDGE_VLAN_INFO_MASTER (1<<0) /* Operate on Bridge device as well */ | 125 | #define BRIDGE_VLAN_INFO_MASTER (1<<0) /* Operate on Bridge device as well */ |
| 126 | #define BRIDGE_VLAN_INFO_PVID (1<<1) /* VLAN is PVID, ingress untagged */ | 126 | #define BRIDGE_VLAN_INFO_PVID (1<<1) /* VLAN is PVID, ingress untagged */ |
| 127 | #define BRIDGE_VLAN_INFO_UNTAGGED (1<<2) /* VLAN egresses untagged */ | 127 | #define BRIDGE_VLAN_INFO_UNTAGGED (1<<2) /* VLAN egresses untagged */ |
| 128 | #define BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3) /* VLAN is start of vlan range */ | ||
| 129 | #define BRIDGE_VLAN_INFO_RANGE_END (1<<4) /* VLAN is end of vlan range */ | ||
| 128 | 130 | ||
| 129 | struct bridge_vlan_info { | 131 | struct bridge_vlan_info { |
| 130 | __u16 flags; | 132 | __u16 flags; |
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index f7d0d2d7173a..0deee3eeddbf 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h | |||
| @@ -146,6 +146,7 @@ enum { | |||
| 146 | IFLA_PHYS_PORT_ID, | 146 | IFLA_PHYS_PORT_ID, |
| 147 | IFLA_CARRIER_CHANGES, | 147 | IFLA_CARRIER_CHANGES, |
| 148 | IFLA_PHYS_SWITCH_ID, | 148 | IFLA_PHYS_SWITCH_ID, |
| 149 | IFLA_LINK_NETNSID, | ||
| 149 | __IFLA_MAX | 150 | __IFLA_MAX |
| 150 | }; | 151 | }; |
| 151 | 152 | ||
| @@ -370,6 +371,9 @@ enum { | |||
| 370 | IFLA_VXLAN_UDP_CSUM, | 371 | IFLA_VXLAN_UDP_CSUM, |
| 371 | IFLA_VXLAN_UDP_ZERO_CSUM6_TX, | 372 | IFLA_VXLAN_UDP_ZERO_CSUM6_TX, |
| 372 | IFLA_VXLAN_UDP_ZERO_CSUM6_RX, | 373 | IFLA_VXLAN_UDP_ZERO_CSUM6_RX, |
| 374 | IFLA_VXLAN_REMCSUM_TX, | ||
| 375 | IFLA_VXLAN_REMCSUM_RX, | ||
| 376 | IFLA_VXLAN_GBP, | ||
| 373 | __IFLA_VXLAN_MAX | 377 | __IFLA_VXLAN_MAX |
| 374 | }; | 378 | }; |
| 375 | #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) | 379 | #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) |
diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h index c33a65e3d62c..589ced069e8a 100644 --- a/include/uapi/linux/in.h +++ b/include/uapi/linux/in.h | |||
| @@ -109,6 +109,7 @@ struct in_addr { | |||
| 109 | 109 | ||
| 110 | #define IP_MINTTL 21 | 110 | #define IP_MINTTL 21 |
| 111 | #define IP_NODEFRAG 22 | 111 | #define IP_NODEFRAG 22 |
| 112 | #define IP_CHECKSUM 23 | ||
| 112 | 113 | ||
| 113 | /* IP_MTU_DISCOVER values */ | 114 | /* IP_MTU_DISCOVER values */ |
| 114 | #define IP_PMTUDISC_DONT 0 /* Never send DF frames */ | 115 | #define IP_PMTUDISC_DONT 0 /* Never send DF frames */ |
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h index e863d088b9a5..437a6a4b125a 100644 --- a/include/uapi/linux/ipv6.h +++ b/include/uapi/linux/ipv6.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef _UAPI_IPV6_H | 1 | #ifndef _UAPI_IPV6_H |
| 2 | #define _UAPI_IPV6_H | 2 | #define _UAPI_IPV6_H |
| 3 | 3 | ||
| 4 | #include <linux/libc-compat.h> | ||
| 4 | #include <linux/types.h> | 5 | #include <linux/types.h> |
| 5 | #include <linux/in6.h> | 6 | #include <linux/in6.h> |
| 6 | #include <asm/byteorder.h> | 7 | #include <asm/byteorder.h> |
| @@ -15,16 +16,19 @@ | |||
| 15 | * *under construction* | 16 | * *under construction* |
| 16 | */ | 17 | */ |
| 17 | 18 | ||
| 18 | 19 | #if __UAPI_DEF_IN6_PKTINFO | |
| 19 | struct in6_pktinfo { | 20 | struct in6_pktinfo { |
| 20 | struct in6_addr ipi6_addr; | 21 | struct in6_addr ipi6_addr; |
| 21 | int ipi6_ifindex; | 22 | int ipi6_ifindex; |
| 22 | }; | 23 | }; |
| 24 | #endif | ||
| 23 | 25 | ||
| 26 | #if __UAPI_DEF_IP6_MTUINFO | ||
| 24 | struct ip6_mtuinfo { | 27 | struct ip6_mtuinfo { |
| 25 | struct sockaddr_in6 ip6m_addr; | 28 | struct sockaddr_in6 ip6m_addr; |
| 26 | __u32 ip6m_mtu; | 29 | __u32 ip6m_mtu; |
| 27 | }; | 30 | }; |
| 31 | #endif | ||
| 28 | 32 | ||
| 29 | struct in6_ifreq { | 33 | struct in6_ifreq { |
| 30 | struct in6_addr ifr6_addr; | 34 | struct in6_addr ifr6_addr; |
| @@ -165,6 +169,7 @@ enum { | |||
| 165 | DEVCONF_SUPPRESS_FRAG_NDISC, | 169 | DEVCONF_SUPPRESS_FRAG_NDISC, |
| 166 | DEVCONF_ACCEPT_RA_FROM_LOCAL, | 170 | DEVCONF_ACCEPT_RA_FROM_LOCAL, |
| 167 | DEVCONF_USE_OPTIMISTIC, | 171 | DEVCONF_USE_OPTIMISTIC, |
| 172 | DEVCONF_ACCEPT_RA_MTU, | ||
| 168 | DEVCONF_MAX | 173 | DEVCONF_MAX |
| 169 | }; | 174 | }; |
| 170 | 175 | ||
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h index 21caa2631c20..347ef22a964e 100644 --- a/include/uapi/linux/l2tp.h +++ b/include/uapi/linux/l2tp.h | |||
| @@ -178,5 +178,6 @@ enum l2tp_seqmode { | |||
| 178 | */ | 178 | */ |
| 179 | #define L2TP_GENL_NAME "l2tp" | 179 | #define L2TP_GENL_NAME "l2tp" |
| 180 | #define L2TP_GENL_VERSION 0x1 | 180 | #define L2TP_GENL_VERSION 0x1 |
| 181 | #define L2TP_GENL_MCGROUP "l2tp" | ||
| 181 | 182 | ||
| 182 | #endif /* _UAPI_LINUX_L2TP_H_ */ | 183 | #endif /* _UAPI_LINUX_L2TP_H_ */ |
diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h index e28807ad17fa..fa673e9cc040 100644 --- a/include/uapi/linux/libc-compat.h +++ b/include/uapi/linux/libc-compat.h | |||
| @@ -70,6 +70,8 @@ | |||
| 70 | #define __UAPI_DEF_IPV6_MREQ 0 | 70 | #define __UAPI_DEF_IPV6_MREQ 0 |
| 71 | #define __UAPI_DEF_IPPROTO_V6 0 | 71 | #define __UAPI_DEF_IPPROTO_V6 0 |
| 72 | #define __UAPI_DEF_IPV6_OPTIONS 0 | 72 | #define __UAPI_DEF_IPV6_OPTIONS 0 |
| 73 | #define __UAPI_DEF_IN6_PKTINFO | ||
