Commit a3563ede authored by Stephen Hemminger's avatar Stephen Hemminger

update to 4.2-net-next headers

parent ea343669
...@@ -249,6 +249,15 @@ enum bpf_func_id { ...@@ -249,6 +249,15 @@ enum bpf_func_id {
* Return: 0 on success * Return: 0 on success
*/ */
BPF_FUNC_get_current_comm, BPF_FUNC_get_current_comm,
/**
* bpf_get_cgroup_classid(skb) - retrieve a proc's classid
* @skb: pointer to skb
* Return: classid if != 0
*/
BPF_FUNC_get_cgroup_classid,
BPF_FUNC_skb_vlan_push, /* bpf_skb_vlan_push(skb, vlan_proto, vlan_tci) */
BPF_FUNC_skb_vlan_pop, /* bpf_skb_vlan_pop(skb) */
__BPF_FUNC_MAX_ID, __BPF_FUNC_MAX_ID,
}; };
......
...@@ -43,7 +43,7 @@ enum { ...@@ -43,7 +43,7 @@ enum {
FRA_UNUSED5, FRA_UNUSED5,
FRA_FWMARK, /* mark */ FRA_FWMARK, /* mark */
FRA_FLOW, /* flow/class id */ FRA_FLOW, /* flow/class id */
FRA_UNUSED6, FRA_TUN_ID,
FRA_SUPPRESS_IFGROUP, FRA_SUPPRESS_IFGROUP,
FRA_SUPPRESS_PREFIXLEN, FRA_SUPPRESS_PREFIXLEN,
FRA_TABLE, /* Extended table id */ FRA_TABLE, /* Extended table id */
......
...@@ -182,6 +182,7 @@ struct br_mdb_entry { ...@@ -182,6 +182,7 @@ struct br_mdb_entry {
#define MDB_TEMPORARY 0 #define MDB_TEMPORARY 0
#define MDB_PERMANENT 1 #define MDB_PERMANENT 1
__u8 state; __u8 state;
__u16 vid;
struct { struct {
union { union {
__be32 ip4; __be32 ip4;
......
...@@ -148,6 +148,7 @@ enum { ...@@ -148,6 +148,7 @@ enum {
IFLA_PHYS_SWITCH_ID, IFLA_PHYS_SWITCH_ID,
IFLA_LINK_NETNSID, IFLA_LINK_NETNSID,
IFLA_PHYS_PORT_NAME, IFLA_PHYS_PORT_NAME,
IFLA_PROTO_DOWN,
__IFLA_MAX __IFLA_MAX
}; };
...@@ -379,6 +380,7 @@ enum { ...@@ -379,6 +380,7 @@ enum {
IFLA_VXLAN_REMCSUM_RX, IFLA_VXLAN_REMCSUM_RX,
IFLA_VXLAN_GBP, IFLA_VXLAN_GBP,
IFLA_VXLAN_REMCSUM_NOPARTIAL, IFLA_VXLAN_REMCSUM_NOPARTIAL,
IFLA_VXLAN_FLOWBASED,
__IFLA_VXLAN_MAX __IFLA_VXLAN_MAX
}; };
#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
......
...@@ -286,6 +286,21 @@ enum rt_class_t { ...@@ -286,6 +286,21 @@ enum rt_class_t {
/* Routing message attributes */ /* Routing message attributes */
enum ip_tunnel_t {
IP_TUN_UNSPEC,
IP_TUN_ID,
IP_TUN_DST,
IP_TUN_SRC,
IP_TUN_TTL,
IP_TUN_TOS,
IP_TUN_SPORT,
IP_TUN_DPORT,
IP_TUN_FLAGS,
__IP_TUN_MAX,
};
#define IP_TUN_MAX (__IP_TUN_MAX - 1)
enum rtattr_type_t { enum rtattr_type_t {
RTA_UNSPEC, RTA_UNSPEC,
RTA_DST, RTA_DST,
...@@ -308,6 +323,8 @@ enum rtattr_type_t { ...@@ -308,6 +323,8 @@ enum rtattr_type_t {
RTA_VIA, RTA_VIA,
RTA_NEWDST, RTA_NEWDST,
RTA_PREF, RTA_PREF,
RTA_ENCAP_TYPE,
RTA_ENCAP,
__RTA_MAX __RTA_MAX
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment