#ifndef _BR_PRIVATE_MCAST_EHT_H_
#define _BR_PRIVATE_MCAST_EHT_H_
#define BR_MCAST_DEFAULT_EHT_HOSTS_LIMIT …
net_bridge_eht_addr;
struct net_bridge_group_eht_host { … };
struct net_bridge_group_eht_set_entry { … };
struct net_bridge_group_eht_set { … };
#ifdef CONFIG_BRIDGE_IGMP_SNOOPING
void br_multicast_eht_clean_sets(struct net_bridge_port_group *pg);
bool br_multicast_eht_handle(const struct net_bridge_mcast *brmctx,
struct net_bridge_port_group *pg,
void *h_addr,
void *srcs,
u32 nsrcs,
size_t addr_size,
int grec_type);
int br_multicast_eht_set_hosts_limit(struct net_bridge_port *p,
u32 eht_hosts_limit);
static inline bool
br_multicast_eht_should_del_pg(const struct net_bridge_port_group *pg)
{ … }
static inline bool
br_multicast_eht_hosts_over_limit(const struct net_bridge_port_group *pg)
{ … }
static inline void br_multicast_eht_hosts_inc(struct net_bridge_port_group *pg)
{ … }
static inline void br_multicast_eht_hosts_dec(struct net_bridge_port_group *pg)
{ … }
#endif
#endif