--- zzzz-none-000/linux-4.9.279/include/linux/if_bridge.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/include/linux/if_bridge.h 2023-02-08 11:43:43.000000000 +0000 @@ -46,14 +46,24 @@ #define BR_LEARNING_SYNC BIT(9) #define BR_PROXYARP_WIFI BIT(10) #define BR_MCAST_FLOOD BIT(11) +#define BR_MULTICAST_TO_UNICAST BIT(12) +#define BR_BCAST_FLOOD BIT(14) +#define BR_ISOLATED BIT(16) #define BR_DEFAULT_AGEING_TIME (300 * HZ) +typedef int (*br_ioctl_hook_t)(struct net *, unsigned int, void __user *arg); +extern br_ioctl_hook_t brioctl_get(void); + extern void brioctl_set(int (*ioctl_hook)(struct net *, unsigned int, void __user *)); typedef int br_should_route_hook_t(struct sk_buff *skb); extern br_should_route_hook_t __rcu *br_should_route_hook; +#ifdef CONFIG_LTQ_MCAST_SNOOPING +extern void (*ovs_brc_mcsnoop_hook)(int type, int br_snooping); +#endif + #if IS_ENABLED(CONFIG_BRIDGE) && IS_ENABLED(CONFIG_BRIDGE_IGMP_SNOOPING) int br_multicast_list_adjacent(struct net_device *dev, struct list_head *br_ip_list);