linux/net/core
John Fastabend 12a9463445 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>
2012-04-15 13:06:04 -04:00
..
datagram.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
dev_addr_lists.c net: addr_list: add exclusive dev_uc_add and dev_mc_add 2012-04-15 13:06:04 -04:00
dev.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
drop_monitor.c
dst.c
ethtool.c ethtool: Add a common function for drivers with transmit time stamping. 2012-04-04 05:28:46 -04:00
fib_rules.c fib_rules: Stop using NLA_PUT*(). 2012-04-02 04:33:44 -04:00
filter.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
flow_dissector.c
flow.c
gen_estimator.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
gen_stats.c gen_stats: Stop using NLA_PUT*(). 2012-04-02 04:33:44 -04:00
iovec.c
link_watch.c
Makefile
neighbour.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
net_namespace.c
net-sysfs.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
net-sysfs.h
net-traces.c
netevent.c
netpoll.c
netprio_cgroup.c
pktgen.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
request_sock.c
rtnetlink.c net: add generic PF_BRIDGE:RTM_ FDB hooks 2012-04-15 13:06:04 -04:00
scm.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
secure_seq.c
skbuff.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
sock_diag.c
sock.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
stream.c
sysctl_net_core.c
timestamping.c
user_dma.c
utils.c net: Fixed coding style issues relating to braces. 2012-04-12 16:35:48 -04:00