--- zzzz-none-000/linux-4.1.52/include/uapi/linux/if_bridge.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/uapi/linux/if_bridge.h 2022-03-02 11:37:13.000000000 +0000 @@ -13,6 +13,12 @@ #ifndef _UAPI_LINUX_IF_BRIDGE_H #define _UAPI_LINUX_IF_BRIDGE_H +#if !defined(CONFIG_BCM_IN_KERNEL) +#ifndef _LINUX_IF_BRIDGE_H +#define _LINUX_IF_BRIDGE_H +#endif +#endif + #include #include #include @@ -96,7 +102,11 @@ __u32 ageing_timer_value; __u8 port_hi; __u8 pad0; +#if defined(CONFIG_BCM_KF_VLAN_AGGREGATION) && defined(CONFIG_BCM_VLAN_AGGREGATION) + __u16 vid; +#else __u16 unused; +#endif }; /* Bridge Flags */