summaryrefslogtreecommitdiff
path: root/net/8021q/vlan.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-14 18:52:02 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-14 18:52:02 -0700
commita0a400d79e3dd7843e7e81baa3ef2957bdc292d0 (patch)
tree1391190938fb43587967f44f0ab139a2522b4a65 /net/8021q/vlan.h
parent24023451c8df726692e2f52288a20870d13b501f (diff)
[NET]: dev_mcast: add multicast list synchronization helpers
The method drivers currently use to synchronize multicast lists is not very pretty: - walk the multicast list - search each entry on a copy of the previous list - if new add to lower device - walk the copy of the previous list - search each entry on the current list - if removed delete from lower device - copy entire list This patch adds a new field to struct dev_addr_list to store the synchronization state and adds two helper functions for synchronization and cleanup. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
0 files changed, 0 insertions, 0 deletions