Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
23e90509
Commit
23e90509
authored
Oct 12, 2015
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update kernel headers for net-next
parent
cf5b002f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
0 deletions
+58
-0
include/linux/bpf.h
include/linux/bpf.h
+7
-0
include/linux/if_bridge.h
include/linux/if_bridge.h
+1
-0
include/linux/if_link.h
include/linux/if_link.h
+49
-0
include/linux/netlink.h
include/linux/netlink.h
+1
-0
No files found.
include/linux/bpf.h
View file @
23e90509
...
@@ -280,6 +280,13 @@ enum bpf_func_id {
...
@@ -280,6 +280,13 @@ enum bpf_func_id {
* Return: TC_ACT_REDIRECT
* Return: TC_ACT_REDIRECT
*/
*/
BPF_FUNC_redirect
,
BPF_FUNC_redirect
,
/**
* bpf_get_route_realm(skb) - retrieve a dst's tclassid
* @skb: pointer to skb
* Return: realm if != 0
*/
BPF_FUNC_get_route_realm
,
__BPF_FUNC_MAX_ID
,
__BPF_FUNC_MAX_ID
,
};
};
...
...
include/linux/if_bridge.h
View file @
23e90509
...
@@ -127,6 +127,7 @@ enum {
...
@@ -127,6 +127,7 @@ enum {
#define BRIDGE_VLAN_INFO_UNTAGGED (1<<2)
/* VLAN egresses untagged */
#define BRIDGE_VLAN_INFO_UNTAGGED (1<<2)
/* VLAN egresses untagged */
#define BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3)
/* VLAN is start of vlan range */
#define BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3)
/* VLAN is start of vlan range */
#define BRIDGE_VLAN_INFO_RANGE_END (1<<4)
/* VLAN is end of vlan range */
#define BRIDGE_VLAN_INFO_RANGE_END (1<<4)
/* VLAN is end of vlan range */
#define BRIDGE_VLAN_INFO_BRENTRY (1<<5)
/* Global bridge VLAN entry */
struct
bridge_vlan_info
{
struct
bridge_vlan_info
{
__u16
flags
;
__u16
flags
;
...
...
include/linux/if_link.h
View file @
23e90509
...
@@ -230,11 +230,47 @@ enum {
...
@@ -230,11 +230,47 @@ enum {
IFLA_BR_PRIORITY
,
IFLA_BR_PRIORITY
,
IFLA_BR_VLAN_FILTERING
,
IFLA_BR_VLAN_FILTERING
,
IFLA_BR_VLAN_PROTOCOL
,
IFLA_BR_VLAN_PROTOCOL
,
IFLA_BR_GROUP_FWD_MASK
,
IFLA_BR_ROOT_ID
,
IFLA_BR_BRIDGE_ID
,
IFLA_BR_ROOT_PORT
,
IFLA_BR_ROOT_PATH_COST
,
IFLA_BR_TOPOLOGY_CHANGE
,
IFLA_BR_TOPOLOGY_CHANGE_DETECTED
,
IFLA_BR_HELLO_TIMER
,
IFLA_BR_TCN_TIMER
,
IFLA_BR_TOPOLOGY_CHANGE_TIMER
,
IFLA_BR_GC_TIMER
,
IFLA_BR_GROUP_ADDR
,
IFLA_BR_FDB_FLUSH
,
IFLA_BR_MCAST_ROUTER
,
IFLA_BR_MCAST_SNOOPING
,
IFLA_BR_MCAST_QUERY_USE_IFADDR
,
IFLA_BR_MCAST_QUERIER
,
IFLA_BR_MCAST_HASH_ELASTICITY
,
IFLA_BR_MCAST_HASH_MAX
,
IFLA_BR_MCAST_LAST_MEMBER_CNT
,
IFLA_BR_MCAST_STARTUP_QUERY_CNT
,
IFLA_BR_MCAST_LAST_MEMBER_INTVL
,
IFLA_BR_MCAST_MEMBERSHIP_INTVL
,
IFLA_BR_MCAST_QUERIER_INTVL
,
IFLA_BR_MCAST_QUERY_INTVL
,
IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
,
IFLA_BR_MCAST_STARTUP_QUERY_INTVL
,
IFLA_BR_NF_CALL_IPTABLES
,
IFLA_BR_NF_CALL_IP6TABLES
,
IFLA_BR_NF_CALL_ARPTABLES
,
IFLA_BR_VLAN_DEFAULT_PVID
,
__IFLA_BR_MAX
,
__IFLA_BR_MAX
,
};
};
#define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
#define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
struct
ifla_bridge_id
{
__u8
prio
[
2
];
__u8
addr
[
6
];
/* ETH_ALEN */
};
enum
{
enum
{
BRIDGE_MODE_UNSPEC
,
BRIDGE_MODE_UNSPEC
,
BRIDGE_MODE_HAIRPIN
,
BRIDGE_MODE_HAIRPIN
,
...
@@ -254,6 +290,19 @@ enum {
...
@@ -254,6 +290,19 @@ enum {
IFLA_BRPORT_PROXYARP
,
/* proxy ARP */
IFLA_BRPORT_PROXYARP
,
/* proxy ARP */
IFLA_BRPORT_LEARNING_SYNC
,
/* mac learning sync from device */
IFLA_BRPORT_LEARNING_SYNC
,
/* mac learning sync from device */
IFLA_BRPORT_PROXYARP_WIFI
,
/* proxy ARP for Wi-Fi */
IFLA_BRPORT_PROXYARP_WIFI
,
/* proxy ARP for Wi-Fi */
IFLA_BRPORT_ROOT_ID
,
/* designated root */
IFLA_BRPORT_BRIDGE_ID
,
/* designated bridge */
IFLA_BRPORT_DESIGNATED_PORT
,
IFLA_BRPORT_DESIGNATED_COST
,
IFLA_BRPORT_ID
,
IFLA_BRPORT_NO
,
IFLA_BRPORT_TOPOLOGY_CHANGE_ACK
,
IFLA_BRPORT_CONFIG_PENDING
,
IFLA_BRPORT_MESSAGE_AGE_TIMER
,
IFLA_BRPORT_FORWARD_DELAY_TIMER
,
IFLA_BRPORT_HOLD_TIMER
,
IFLA_BRPORT_FLUSH
,
IFLA_BRPORT_MULTICAST_ROUTER
,
__IFLA_BRPORT_MAX
__IFLA_BRPORT_MAX
};
};
#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
...
...
include/linux/netlink.h
View file @
23e90509
...
@@ -54,6 +54,7 @@ struct nlmsghdr {
...
@@ -54,6 +54,7 @@ struct nlmsghdr {
#define NLM_F_ACK 4
/* Reply with ack, with zero or error code */
#define NLM_F_ACK 4
/* Reply with ack, with zero or error code */
#define NLM_F_ECHO 8
/* Echo this request */
#define NLM_F_ECHO 8
/* Echo this request */
#define NLM_F_DUMP_INTR 16
/* Dump was inconsistent due to sequence change */
#define NLM_F_DUMP_INTR 16
/* Dump was inconsistent due to sequence change */
#define NLM_F_DUMP_FILTERED 32
/* Dump was filtered as requested */
/* Modifiers to GET request */
/* Modifiers to GET request */
#define NLM_F_ROOT 0x100
/* specify tree root */
#define NLM_F_ROOT 0x100
/* specify tree root */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment