diff options
| author | David S. Miller <davem@davemloft.net> | 2013-03-07 15:29:54 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-03-07 15:29:54 -0500 |
| commit | a6f3587ca24da9c150269fe76cb2eabc6df96b90 (patch) | |
| tree | e6130e1486b7f2f0e7ee09ff9542fde75da00d00 /include | |
| parent | 6906f4ed6f85b2d72fd944e15da6a905fdde8b40 (diff) | |
| parent | 3e5c112f5f3a09e7b5a899ef87ce38de83f99f1a (diff) | |
Merge branch 'fdb'
Vlad Yasevich says:
====================
This is a short series that now allows mac filter programming on any
card that support IFF_UNICAST_FLT by using the existing FDB interface.
Some existing drivers that had FDB functionality usually supported
it only in SR-IOV mode. Since that's not always enabled, and
we want to take advantage of IFF_UNICAST_FLT support, these drivers
have been converted to call the default handler when not in SRIOV mode.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/rtnetlink.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 489dd7bb28e..f28544b2f9a 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -69,6 +69,15 @@ extern int ndo_dflt_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, int idx); +extern int ndo_dflt_fdb_add(struct ndmsg *ndm, + struct nlattr *tb[], + struct net_device *dev, + const unsigned char *addr, + u16 flags); +extern int ndo_dflt_fdb_del(struct ndmsg *ndm, + struct nlattr *tb[], + struct net_device *dev, + const unsigned char *addr); extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u16 mode); |
