--- zzzz-none-000/linux-4.1.52/include/uapi/linux/sockios.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/uapi/linux/sockios.h 2022-03-02 11:37:13.000000000 +0000 @@ -128,6 +128,22 @@ #define SIOCSHWTSTAMP 0x89b0 /* set and get config */ #define SIOCGHWTSTAMP 0x89b1 /* get config */ +#if !defined(CONFIG_BCM_IN_KERNEL) || defined(CONFIG_BCM_KF_MISC_IOCTLS) || defined(CONFIG_BCM_KF_WANDEV) +/***********************BRCM global ioctl calls*****************************/ +#define SIOC_BRCM_GLOBAL_BASE 0x89c0 +#endif +#if !defined(CONFIG_BCM_IN_KERNEL) || defined(CONFIG_BCM_KF_MISC_IOCTLS) +#define SIOCGIFTRANSSTART (SIOC_BRCM_GLOBAL_BASE+0) /* Used by SNMP */ +#define SIOCCIFSTATS (SIOC_BRCM_GLOBAL_BASE+1) /* Clear stats of a device */ +#endif +#if !defined(CONFIG_BCM_IN_KERNEL) || defined(CONFIG_BCM_KF_WANDEV) +#define SIOCDEVISWANDEV (SIOC_BRCM_GLOBAL_BASE+2) +#endif + +/* applicaton mark. only implemented in CONFIG_AVM_SK_TC_INDEX kernels */ +#define SIOCSET_TC_INDEX 0x89d0 /* set tc_index for socket */ +#define SIOCGET_TC_INDEX 0x89d1 /* get tc_index for socket */ + /* Device private ioctl calls */ /*