summaryrefslogtreecommitdiff
path: root/net/dsa/trace.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2023-10-25 15:30:14 +0300
committerDavid S. Miller <davem@davemloft.net>2023-10-27 10:51:41 +0100
commit83c1bbeb864f2a197603b91b3e0f748cca64543d (patch)
treed332252b5f12508d7ebd4383d8ad49560ecae8c0 /net/dsa/trace.c
parent14c32a46d992412bc276b3365a0c3e5b8b1af9f2 (diff)
bridge: add MDB get uAPI attributes
Add MDB get attributes that correspond to the MDB set attributes used in RTM_NEWMDB messages. Specifically, add 'MDBA_GET_ENTRY' which will hold a 'struct br_mdb_entry' and 'MDBA_GET_ENTRY_ATTRS' which will hold 'MDBE_ATTR_*' attributes that are used as indexes (source IP and source VNI). An example request will look as follows: [ struct nlmsghdr ] [ struct br_port_msg ] [ MDBA_GET_ENTRY ] struct br_mdb_entry [ MDBA_GET_ENTRY_ATTRS ] [ MDBE_ATTR_SOURCE ] struct in_addr / struct in6_addr [ MDBE_ATTR_SRC_VNI ] u32 Signed-off-by: Ido Schimmel <idosch@nvidia.com> Acked-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/trace.c')
0 files changed, 0 insertions, 0 deletions