diff options
| author | Vlad Yasevich <vyasevic@redhat.com> | 2013-02-13 07:00:13 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-02-13 19:41:46 -0500 |
| commit | 6cbdceeb1cb12c7d620161925a8c3e81daadb2e4 (patch) | |
| tree | 81852fee23a380456cce4d2c1bb5ec52c7ff0013 /include/linux | |
| parent | 407af3299ef1ac7e87ce3fb530e32a009d1a9efd (diff) | |
bridge: Dump vlan information from a bridge port
Using the RTM_GETLINK dump the vlan filter list of a given
bridge port. The information depends on setting the filter
flag similar to how nic VF info is dumped.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 1b90f9401000..1964ca66df56 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1019,7 +1019,8 @@ struct net_device_ops { | |||
| 1019 | struct nlmsghdr *nlh); | 1019 | struct nlmsghdr *nlh); |
| 1020 | int (*ndo_bridge_getlink)(struct sk_buff *skb, | 1020 | int (*ndo_bridge_getlink)(struct sk_buff *skb, |
| 1021 | u32 pid, u32 seq, | 1021 | u32 pid, u32 seq, |
| 1022 | struct net_device *dev); | 1022 | struct net_device *dev, |
| 1023 | u32 filter_mask); | ||
| 1023 | int (*ndo_bridge_dellink)(struct net_device *dev, | 1024 | int (*ndo_bridge_dellink)(struct net_device *dev, |
| 1024 | struct nlmsghdr *nlh); | 1025 | struct nlmsghdr *nlh); |
| 1025 | int (*ndo_change_carrier)(struct net_device *dev, | 1026 | int (*ndo_change_carrier)(struct net_device *dev, |
