diff options
| author | David S. Miller <davem@davemloft.net> | 2018-12-17 01:42:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-12-17 01:42:35 +0300 |
| commit | 0634d694b06fb522ec6bc8001b24c4b828897f69 (patch) | |
| tree | f62f84c6beb1cf666e792c921ac502924962af5f /include | |
| parent | 5312b93b04208bb055a2ee1fd6c8617905d8b330 (diff) | |
| parent | 31d31951d00a3ec6335dad36cd49a4767e2bb304 (diff) | |
| download | linux-0634d694b06fb522ec6bc8001b24c4b828897f69.tar.xz | |
Merge branch 'rtnl-fdb-get'
Roopa Prabhu says:
====================
rtnl fdb get
This series adds support for rtnl fdb get similar to
route get.
v2: add nda_policy, fixes to exact msgs, strict nlmsg parsing
v3: remove unnecessary attribute length checks + simplify code
as pointed out by david
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netdevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 811632d4d8b1..1377d085ef99 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1387,7 +1387,12 @@ struct net_device_ops { struct net_device *dev, struct net_device *filter_dev, int *idx); - + int (*ndo_fdb_get)(struct sk_buff *skb, + struct nlattr *tb[], + struct net_device *dev, + const unsigned char *addr, + u16 vid, u32 portid, u32 seq, + struct netlink_ext_ack *extack); int (*ndo_bridge_setlink)(struct net_device *dev, struct nlmsghdr *nlh, u16 flags, |
