Skip to content

Commit 62f47bf

Browse files
idoschdavem330
authored andcommitted
net: Add MDB get device operation
Add MDB net device operation that will be invoked by rtnetlink code in response to received RTM_GETMDB messages. Subsequent patches will implement the operation in the bridge and VXLAN drivers. Signed-off-by: Ido Schimmel <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 83c1bbe commit 62f47bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/netdevice.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,10 @@ struct net_device_ops {
16091609
int (*ndo_mdb_dump)(struct net_device *dev,
16101610
struct sk_buff *skb,
16111611
struct netlink_callback *cb);
1612+
int (*ndo_mdb_get)(struct net_device *dev,
1613+
struct nlattr *tb[], u32 portid,
1614+
u32 seq,
1615+
struct netlink_ext_ack *extack);
16121616
int (*ndo_bridge_setlink)(struct net_device *dev,
16131617
struct nlmsghdr *nlh,
16141618
u16 flags,

0 commit comments

Comments
 (0)