aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2023-10-25 12:30:14 +0000
committerDavid S. Miller <[email protected]>2023-10-27 09:51:41 +0000
commit83c1bbeb864f2a197603b91b3e0f748cca64543d (patch)
treed332252b5f12508d7ebd4383d8ad49560ecae8c0 /net/unix/sysctl_net_unix.c
parentvxlan: mdb: Factor out a helper for remote entry size calculation (diff)
downloadkernel-83c1bbeb864f2a197603b91b3e0f748cca64543d.tar.gz
kernel-83c1bbeb864f2a197603b91b3e0f748cca64543d.zip
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 <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions