--- zzzz-none-000/linux-3.18.24/include/uapi/linux/sockios.h 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/include/uapi/linux/sockios.h 2024-08-14 08:36:37.000000000 +0000 @@ -124,9 +124,34 @@ #define SIOCBRADDIF 0x89a2 /* add interface to bridge */ #define SIOCBRDELIF 0x89a3 /* remove interface from bridge */ +/*===Realtek private definition start===*/ +#define SIOCS8305VLAN 0x89b0 /* Set RTL-8305 VLAN */ +#define SIOCETHTEST 0x89b1 +#define SIOCBRIDGENF 0x89b2 /* Set Bridge Netfilter. for brnf enable/disable buttom */ +#define SIOCDIRECTBR 0x89b3 /* ioctl for direct bridge mode*/ +#define SIOCGMEDIALS 0x89b4 /* for media link status */ +#define SIOCSIPQOS 0x89b5 /* Set IPQos */ +#define SIOCSITFGROUP 0x89b6 /* set itfgroup*/ +#define SIOCRESETSTAT 0x89b7 /* reset stat of every net device */ +#define SIOCUSBSTAT 0x89b8 /* for tr069 usb status */ +#define SIOCUSBRATE 0x89b9 /* for tr069 usb rate */ + +#ifdef CONFIG_RTL_MULTI_ETH_WAN +#define SIOCSIFSMUX 0x89c1 +#endif + +/*===Realtek private definition end===*/ + /* hardware time stamping: parameters in linux/net_tstamp.h */ -#define SIOCSHWTSTAMP 0x89b0 /* set and get config */ -#define SIOCGHWTSTAMP 0x89b1 /* get config */ +/*Realtek change below to 0x89e0*/ + +/*#define SIOCSHWTSTAMP 0x89b0 */ /* set and get config */ +/*#define SIOCGHWTSTAMP 0x89b1 */ /* get config */ + +#define SIOCSHWTSTAMP 0x89e0 /* set and get config */ +#define SIOCGHWTSTAMP 0x89e1 /* get config */ + + /* Device private ioctl calls */