Re: [PATCH iproute2 net-next v2 1/2] bridge: fdb get support

2019-09-30 Thread David Ahern
On 9/28/19 2:22 PM, Roopa Prabhu wrote: > @@ -518,6 +520,113 @@ static int fdb_modify(int cmd, int flags, int argc, > char **argv) > return 0; > } > > +static int fdb_get(int argc, char **argv) > +{ > + struct { > + struct nlmsghdr n; > + struct ndmsg

[PATCH iproute2 net-next v2 1/2] bridge: fdb get support

2019-09-28 Thread Roopa Prabhu
From: Roopa Prabhu This patch adds support to lookup a bridge fdb entry using recently added support in the kernel using RTM_GETNEIGH (and AF_BRIDGE family). example: $bridge fdb get 02:02:00:00:00:03 dev test-dummy0 vlan 1002 02:02:00:00:00:03 dev test-dummy0 vlan 1002 master bridge Signed-off