diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2012-04-15 10:44:02 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 21:06:04 +0400 |
commit | 12a94634453c61fd9a11c4702002e3db6d4feb70 (patch) | |
tree | 1131fded53fdab8b912cd14d8240def52166d2f2 /include/net/af_ieee802154.h | |
parent | 77162022ab26a1f99d3af30c03760a76f86e193d (diff) | |
download | linux-12a94634453c61fd9a11c4702002e3db6d4feb70.tar.xz |
net: addr_list: add exclusive dev_uc_add and dev_mc_add
This adds a dev_uc_add_excl() and dev_mc_add_excl() calls
similar to the original dev_{uc|mc}_add() except it sets
the global bit and returns -EEXIST for duplicat entires.
This is useful for drivers that support SR-IOV, macvlan
devices and any other devices that need to manage the
unicast and multicast lists.
v2: fix typo UNICAST should be MULTICAST in dev_mc_add_excl()
CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/af_ieee802154.h')
0 files changed, 0 insertions, 0 deletions