--- zzzz-none-000/linux-4.1.38/include/uapi/linux/ppp-ioctl.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/uapi/linux/ppp-ioctl.h 2020-11-25 10:06:48.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!! */