Commit 8593b2ca authored by Stephen Hemminger's avatar Stephen Hemminger

Update header files from net-next

parent ecc509f9
...@@ -81,6 +81,8 @@ enum bpf_map_type { ...@@ -81,6 +81,8 @@ enum bpf_map_type {
BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_ARRAY,
BPF_MAP_TYPE_PROG_ARRAY, BPF_MAP_TYPE_PROG_ARRAY,
BPF_MAP_TYPE_PERF_EVENT_ARRAY, BPF_MAP_TYPE_PERF_EVENT_ARRAY,
BPF_MAP_TYPE_PERCPU_HASH,
BPF_MAP_TYPE_PERCPU_ARRAY,
}; };
enum bpf_prog_type { enum bpf_prog_type {
......
...@@ -183,6 +183,8 @@ struct br_mdb_entry { ...@@ -183,6 +183,8 @@ struct br_mdb_entry {
#define MDB_TEMPORARY 0 #define MDB_TEMPORARY 0
#define MDB_PERMANENT 1 #define MDB_PERMANENT 1
__u8 state; __u8 state;
#define MDB_FLAGS_OFFLOAD (1 << 0)
__u8 flags;
__u16 vid; __u16 vid;
struct { struct {
union { union {
......
...@@ -35,6 +35,8 @@ struct rtnl_link_stats { ...@@ -35,6 +35,8 @@ struct rtnl_link_stats {
/* for cslip etc */ /* for cslip etc */
__u32 rx_compressed; __u32 rx_compressed;
__u32 tx_compressed; __u32 tx_compressed;
__u32 rx_nohandler; /* dropped, no handler found */
}; };
/* The main device statistics structure */ /* The main device statistics structure */
...@@ -68,6 +70,8 @@ struct rtnl_link_stats64 { ...@@ -68,6 +70,8 @@ struct rtnl_link_stats64 {
/* for cslip etc */ /* for cslip etc */
__u64 rx_compressed; __u64 rx_compressed;
__u64 tx_compressed; __u64 tx_compressed;
__u64 rx_nohandler; /* dropped, no handler found */
}; };
/* The struct should be in sync with struct ifmap */ /* The struct should be in sync with struct ifmap */
...@@ -399,6 +403,14 @@ enum { ...@@ -399,6 +403,14 @@ enum {
#define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1) #define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1)
enum {
IFLA_VRF_PORT_UNSPEC,
IFLA_VRF_PORT_TABLE,
__IFLA_VRF_PORT_MAX
};
#define IFLA_VRF_PORT_MAX (__IFLA_VRF_PORT_MAX - 1)
/* IPVLAN section */ /* IPVLAN section */
enum { enum {
IFLA_IPVLAN_UNSPEC, IFLA_IPVLAN_UNSPEC,
......
...@@ -56,7 +56,6 @@ enum { ...@@ -56,7 +56,6 @@ enum {
TIPC_NL_NET_GET, TIPC_NL_NET_GET,
TIPC_NL_NET_SET, TIPC_NL_NET_SET,
TIPC_NL_NAME_TABLE_GET, TIPC_NL_NAME_TABLE_GET,
TIPC_NL_PEER_REMOVE,
__TIPC_NL_CMD_MAX, __TIPC_NL_CMD_MAX,
TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
......
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