OSDN Git Service

net: bridge: multicast: add EHT host handling functions
authorNikolay Aleksandrov <nikolay@nvidia.com>
Wed, 20 Jan 2021 14:51:55 +0000 (16:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 03:39:56 +0000 (19:39 -0800)
commit5b16328879302695101f403f261ff7c5f1ee4b84
treebb83ca18740a33c083b432d8af6ef993c1a384ee
parent8f07b831197e0809e59f16149b878e8334c3433f
net: bridge: multicast: add EHT host handling functions

Add functions to create, destroy and lookup an EHT host. These are
per-host entries contained in the eht_host_tree in net_bridge_port_group
which are used to store a list of all sources (S,G) entries joined for that
group by each host, the host's current filter mode and total number of
joined entries.
No functional changes yet, these would be used in later patches.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/Makefile
net/bridge/br_multicast.c
net/bridge/br_multicast_eht.c [new file with mode: 0644]