--- zzzz-none-000/linux-3.18.24/include/uapi/linux/ppp-ioctl.h 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/include/uapi/linux/ppp-ioctl.h 2024-08-14 08:36:37.000000000 +0000 @@ -81,6 +81,17 @@ /* * Ioctl definitions. */ +#ifdef CONFIG_PPPOE_PROXY +#define PPPIOGETFROMPORT _IOR('t', 95, int) /* get ppp channel fromport */ +typedef char peermacaddr[6]; +#define PPPIOCSPEERMAC _IOW('t', 94, peermacaddr) /* set pppoe proxy peermac */ +#define PPPIOCSSESSION _IOW('t', 93, int) /* set pppoe proxy session id */ +#endif + +/*linux-2.6.19*/ +/*patch from linux 2.4*/ +#define PPPIOCGTIMEOUT _IOR('t', 92, int) /* get configuration flags */ +#define PPPIOCSTIMEOUT _IOW('t', 91, int) /* set configuration flags */ #define PPPIOCGFLAGS _IOR('t', 90, int) /* get configuration flags */ #define PPPIOCSFLAGS _IOW('t', 89, int) /* set configuration flags */