--- zzzz-none-000/linux-4.1.52/include/uapi/linux/ppp-ioctl.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/uapi/linux/ppp-ioctl.h 2022-03-02 11:37:13.000000000 +0000 @@ -78,6 +78,11 @@ __aligned_u64 rx_errors; }; +#if defined(CONFIG_BCM_KF_PPP) +/* PPP device name type */ +typedef char ppp_real_dev_name[IFNAMSIZ]; +#endif + /* * Ioctl definitions. */ @@ -112,6 +117,9 @@ #define PPPIOCATTCHAN _IOW('t', 56, int) /* attach to ppp channel */ #define PPPIOCGCHAN _IOR('t', 55, int) /* get ppp channel number */ #define PPPIOCGL2TPSTATS _IOR('t', 54, struct pppol2tp_ioc_stats) +#if defined(CONFIG_BCM_KF_PPP) +#define PPPIOCSREALDEV _IOW('t', 53, ppp_real_dev_name) /* set real device name */ +#endif #define SIOCGPPPSTATS (SIOCDEVPRIVATE + 0) #define SIOCGPPPVER (SIOCDEVPRIVATE + 1) /* NEVER change this!! */