33 #define PPP_MAXMRU 65000 34 #define PPP_MAXMTU 16384 39 #define SC_COMP_PROT 0x00000001 40 #define SC_COMP_AC 0x00000002 41 #define SC_COMP_TCP 0x00000004 42 #define SC_NO_TCP_CCID 0x00000008 43 #define SC_REJ_COMP_AC 0x00000010 44 #define SC_REJ_COMP_TCP 0x00000020 45 #define SC_CCP_OPEN 0x00000040 46 #define SC_CCP_UP 0x00000080 47 #define SC_DEBUG 0x00010000 48 #define SC_LOG_INPKT 0x00020000 49 #define SC_LOG_OUTPKT 0x00040000 50 #define SC_LOG_RAWIN 0x00080000 51 #define SC_LOG_FLUSH 0x00100000 52 #define SC_RCV_B7_0 0x01000000 53 #define SC_RCV_B7_1 0x02000000 54 #define SC_RCV_EVNP 0x04000000 55 #define SC_RCV_ODDP 0x08000000 56 #define SC_SYNC 0x00200000 57 #define SC_MASK 0x0fff00ff 62 #define SC_TIMEOUT 0x00000400 63 #define SC_VJ_RESET 0x00000800 64 #define SC_COMP_RUN 0x00001000 65 #define SC_DECOMP_RUN 0x00002000 66 #define SC_DC_ERROR 0x00004000 67 #define SC_DC_FERROR 0x00008000 68 #define SC_TBUSY 0x10000000 69 #define SC_PKTLOST 0x20000000 70 #define SC_FLUSH 0x40000000 71 #define SC_ESCAPED 0x80000000 90 char ifr_name[IFNAMSIZ];
95 char ifr_name[IFNAMSIZ];
103 #define PPPIOCSTASK _IOW('t', 91, int) 104 #define PPPIOCGFLAGS _IOR('t', 90, int) 105 #define PPPIOCSFLAGS _IOW('t', 89, int) 106 #define PPPIOCGASYNCMAP _IOR('t', 88, int) 107 #define PPPIOCSASYNCMAP _IOW('t', 87, int) 108 #define PPPIOCGUNIT _IOR('t', 86, int) 109 #define PPPIOCGRASYNCMAP _IOR('t', 85, int) 110 #define PPPIOCSRASYNCMAP _IOW('t', 84, int) 111 #define PPPIOCGMRU _IOR('t', 83, int) 112 #define PPPIOCSMRU _IOW('t', 82, int) 113 #define PPPIOCSMAXCID _IOW('t', 81, int) 114 #define PPPIOCGXASYNCMAP _IOR('t', 80, ext_accm) 115 #define PPPIOCSXASYNCMAP _IOW('t', 79, ext_accm) 116 #define PPPIOCXFERUNIT _IO('t', 78) 117 #define PPPIOCSCOMPRESS _IOW('t', 77, struct ppp_option_data) 118 #define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) 119 #define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) 120 #define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) 122 #define PPPIOCSPASS _IOW('t', 71, struct bpf_program) 123 #define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) 127 #define PPPIOCGMTU _IOR('t', 73, int) 128 #define PPPIOCSMTU _IOW('t', 72, int) 134 #define SIOCGPPPSTATS _IOWR('i', 123, struct ifpppstatsreq) 135 #define SIOCGPPPCSTATS _IOWR('i', 122, struct ifpppcstatsreq) 137 #if !defined(ifr_mtu) 138 #define ifr_mtu ifr_ifru.ifru_metric
Definition: ppp_defs.h:123
Definition: ppp_defs.h:138