From: Stephen Hemminger Date: Wed, 3 Dec 2014 17:27:43 +0000 (-0800) Subject: update kernel headers to net-next (3.18-rc6) X-Git-Tag: v3.19.0~44^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0986873ea8475e1866c6baaa455ab850801f5a;p=thirdparty%2Fiproute2.git update kernel headers to net-next (3.18-rc6) Early merge of upstream headers --- diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h index ed6868ece..6b4eb66d4 100644 --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h @@ -105,6 +105,7 @@ struct __fdb_entry { #define BRIDGE_MODE_VEB 0 /* Default loopback mode */ #define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */ +#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */ /* Bridge management nested attributes * [IFLA_AF_SPEC] = { diff --git a/include/linux/if_link.h b/include/linux/if_link.h index 473206363..167ec34ba 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h @@ -145,6 +145,7 @@ enum { IFLA_CARRIER, IFLA_PHYS_PORT_ID, IFLA_CARRIER_CHANGES, + IFLA_PHYS_SWITCH_ID, __IFLA_MAX }; @@ -241,6 +242,8 @@ enum { IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */ IFLA_BRPORT_LEARNING, /* mac learning */ IFLA_BRPORT_UNICAST_FLOOD, /* flood unicast traffic */ + IFLA_BRPORT_PROXYARP, /* proxy ARP */ + IFLA_BRPORT_LEARNING_SYNC, /* mac learning sync from device */ __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) @@ -327,6 +330,21 @@ enum macvlan_macaddr_mode { #define MACVLAN_FLAG_NOPROMISC 1 +/* IPVLAN section */ +enum { + IFLA_IPVLAN_UNSPEC, + IFLA_IPVLAN_MODE, + __IFLA_IPVLAN_MAX +}; + +#define IFLA_IPVLAN_MAX (__IFLA_IPVLAN_MAX - 1) + +enum ipvlan_mode { + IPVLAN_MODE_L2 = 0, + IPVLAN_MODE_L3, + IPVLAN_MODE_MAX +}; + /* VXLAN section */ enum { IFLA_VXLAN_UNSPEC, diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h index 8b04f3282..102ce7aab 100644 --- a/include/linux/if_tunnel.h +++ b/include/linux/if_tunnel.h @@ -69,6 +69,7 @@ enum tunnel_encap_types { #define TUNNEL_ENCAP_FLAG_CSUM (1<<0) #define TUNNEL_ENCAP_FLAG_CSUM6 (1<<1) +#define TUNNEL_ENCAP_FLAG_REMCSUM (1<<2) /* SIT-mode i_flags */ #define SIT_ISATAP 0x0001 diff --git a/include/linux/neighbour.h b/include/linux/neighbour.h index 4a1d7e96d..f3d77f9f1 100644 --- a/include/linux/neighbour.h +++ b/include/linux/neighbour.h @@ -35,11 +35,11 @@ enum { */ #define NTF_USE 0x01 -#define NTF_PROXY 0x08 /* == ATF_PUBL */ -#define NTF_ROUTER 0x80 - #define NTF_SELF 0x02 #define NTF_MASTER 0x04 +#define NTF_PROXY 0x08 /* == ATF_PUBL */ +#define NTF_EXT_LEARNED 0x10 +#define NTF_ROUTER 0x80 /* * Neighbor Cache Entry States. diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index ae23d94f9..9aa5c2f93 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -237,7 +237,6 @@ enum { #define RTPROT_MROUTED 17 /* Multicast daemon */ #define RTPROT_BABEL 42 /* Babel daemon */ - /* rtm_scope Really it is not scope, but sort of distance to the destination.