aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink_route_amd64.const
diff options
context:
space:
mode:
authorAlbert van der Linde <alinde@google.com>2020-07-20 10:17:36 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-07-22 16:28:44 +0200
commit35be432a74629d290073a5c1fb8a5818e0f2beee (patch)
tree0bbb4b00c62b738626c179c488c9e8406aaa0658 /sys/linux/socket_netlink_route_amd64.const
parentceb0013c7f655bd907ceda6f4c5794a7c3e299f2 (diff)
sys/linux: add descriptions for RTM_(NEW|DEL|GET)VLAN
https://elixir.bootlin.com/linux/latest/source/net/bridge/br_vlan.c#L2045
Diffstat (limited to 'sys/linux/socket_netlink_route_amd64.const')
-rw-r--r--sys/linux/socket_netlink_route_amd64.const24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const
index b1d38f470..4d8638c24 100644
--- a/sys/linux/socket_netlink_route_amd64.const
+++ b/sys/linux/socket_netlink_route_amd64.const
@@ -6,6 +6,27 @@ AF_INET6 = 10
AF_MPLS = 28
AF_NETLINK = 16
AF_UNSPEC = 0
+BRIDGE_VLANDB_DUMPF_STATS = 1
+BRIDGE_VLANDB_DUMP_FLAGS = 1
+BRIDGE_VLANDB_ENTRY = 1
+BRIDGE_VLANDB_ENTRY_INFO = 1
+BRIDGE_VLANDB_ENTRY_RANGE = 2
+BRIDGE_VLANDB_ENTRY_STATE = 3
+BRIDGE_VLANDB_ENTRY_TUNNEL_INFO = 4
+BRIDGE_VLANDB_TINFO_CMD = 2
+BRIDGE_VLANDB_TINFO_ID = 1
+BRIDGE_VLAN_INFO_BRENTRY = 32
+BRIDGE_VLAN_INFO_MASTER = 1
+BRIDGE_VLAN_INFO_ONLY_OPTS = 64
+BRIDGE_VLAN_INFO_PVID = 2
+BRIDGE_VLAN_INFO_RANGE_BEGIN = 8
+BRIDGE_VLAN_INFO_RANGE_END = 16
+BRIDGE_VLAN_INFO_UNTAGGED = 4
+BR_STATE_BLOCKING = 4
+BR_STATE_DISABLED = 0
+BR_STATE_FORWARDING = 3
+BR_STATE_LEARNING = 2
+BR_STATE_LISTENING = 1
CGW_CRC8PRF_16U8 = 2
CGW_CRC8PRF_1U8 = 1
CGW_CRC8PRF_SFFID_XOR = 3
@@ -460,6 +481,7 @@ RTM_DELLINKPROP = 109
RTM_DELNEIGH = 29
RTM_DELROUTE = 25
RTM_DELRULE = 33
+RTM_DELVLAN = 113
RTM_F_CLONED = 512
RTM_F_EQUALIZE = 1024
RTM_F_FIB_MATCH = 8192
@@ -478,6 +500,7 @@ RTM_GETNSID = 90
RTM_GETROUTE = 26
RTM_GETRULE = 34
RTM_GETSTATS = 94
+RTM_GETVLAN = 114
RTM_NEWADDR = 20
RTM_NEWADDRLABEL = 72
RTM_NEWLINK = 16
@@ -486,6 +509,7 @@ RTM_NEWNEIGH = 28
RTM_NEWNSID = 88
RTM_NEWROUTE = 24
RTM_NEWRULE = 32
+RTM_NEWVLAN = 112
RTM_SETLINK = 19
RTM_SETNEIGHTBL = 67
RTNL_FAMILY_IPMR = 128