]> Pileus Git - ~andy/linux/commit
bridge: Add netlink interface to configure vlans on bridge ports
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:12 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:41:46 +0000 (19:41 -0500)
commit407af3299ef1ac7e87ce3fb530e32a009d1a9efd
tree9572e0b02eb9f6c2952b490f3a79f4b790fcea3c
parent85f46c6baef1486ce20e13dd7cdea5dd15be2a90
bridge: Add netlink interface to configure vlans on bridge ports

Add a netlink interface to add and remove vlan configuration on bridge port.
The interface uses the RTM_SETLINK message and encodes the vlan
configuration inside the IFLA_AF_SPEC.  It is possble to include multiple
vlans to either add or remove in a single message.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/uapi/linux/if_bridge.h
net/bridge/br_device.c
net/bridge/br_if.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/core/rtnetlink.c