diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-10-04 14:23:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-04 16:46:07 -0700 |
commit | 0f963b7592ef9e054974b6672b86ec1edd84b4bc (patch) | |
tree | 5b2fe0f51f0dc0521fcbcd078bebb101cf4288d0 /net/bridge/br_private.h | |
parent | 93870cc02a0af4392401713d14235accafc752bc (diff) | |
download | op-kernel-dev-0f963b7592ef9e054974b6672b86ec1edd84b4bc.zip op-kernel-dev-0f963b7592ef9e054974b6672b86ec1edd84b4bc.tar.gz |
bridge: netlink: add support for default_pvid
Add IFLA_BR_VLAN_DEFAULT_PVID to allow setting/getting bridge's
default_pvid via netlink.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 1ff6a0f..09d3ecb 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -690,6 +690,7 @@ int __br_vlan_set_proto(struct net_bridge *br, __be16 proto); int br_vlan_set_proto(struct net_bridge *br, unsigned long val); int br_vlan_init(struct net_bridge *br); int br_vlan_set_default_pvid(struct net_bridge *br, unsigned long val); +int __br_vlan_set_default_pvid(struct net_bridge *br, u16 pvid); int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags); int nbp_vlan_delete(struct net_bridge_port *port, u16 vid); void nbp_vlan_flush(struct net_bridge_port *port); |