diff options
author | Patrick McHardy <kaber@trash.net> | 2008-07-05 21:26:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-05 21:26:27 -0700 |
commit | b3ce0325f2bf1bb737cb8fc7c349ce8fefdd9e40 (patch) | |
tree | f2925e18555561b528b781c535c96bdbc0c809a9 /net/8021q/vlan.h | |
parent | eca9ebac651f774d8b10fce7c5d173c3c3d3394f (diff) |
vlan: Change vlan_dev_set_vlan_flag() to handle multiple flags at once
Change vlan_dev_set_vlan_flag() to handle multiple flags at once and
rename to vlan_dev_change_flags(). This allows to to use it from the
netlink interface, which in turn allows to handle necessary adjustments
when changing flags centrally.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index 5229a72c7ea..639e2544a80 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h @@ -28,8 +28,7 @@ void vlan_dev_set_ingress_priority(const struct net_device *dev, u32 skb_prio, short vlan_prio); int vlan_dev_set_egress_priority(const struct net_device *dev, u32 skb_prio, short vlan_prio); -int vlan_dev_set_vlan_flag(const struct net_device *dev, - u32 flag, short flag_val); +int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask); void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); |