43 #define PPP_ADDRESS(p) (((u_char *)(p))[0]) 44 #define PPP_CONTROL(p) (((u_char *)(p))[1]) 45 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3]) 50 #define PPP_ALLSTATIONS 0xff 53 #define PPP_ESCAPE 0x7d 54 #define PPP_TRANS 0x20 62 #define PPP_VJC_COMP 0x2d 63 #define PPP_VJC_UNCOMP 0x2f 66 #define PPP_IPCP 0x8021 67 #define PPP_ATCP 0x8029 68 #define PPP_IPXCP 0x802b 69 #define PPP_IPV6CP 0x8057 70 #define PPP_CCP 0x80fd 71 #define PPP_LCP 0xc021 72 #define PPP_PAP 0xc023 73 #define PPP_LQR 0xc025 74 #define PPP_CHAP 0xc223 75 #define PPP_CBCP 0xc029 80 #define PPP_INITFCS 0xffff 81 #define PPP_GOODFCS 0xf0b8 82 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) 87 typedef uint32_t ext_accm[8];
103 unsigned int ppp_ibytes;
104 unsigned int ppp_ipackets;
105 unsigned int ppp_ierrors;
106 unsigned int ppp_obytes;
107 unsigned int ppp_opackets;
108 unsigned int ppp_oerrors;
112 unsigned int vjs_packets;
113 unsigned int vjs_compressed;
114 unsigned int vjs_searches;
115 unsigned int vjs_misses;
116 unsigned int vjs_uncompressedin;
117 unsigned int vjs_compressedin;
118 unsigned int vjs_errorin;
119 unsigned int vjs_tossed;
128 unsigned int unc_bytes;
129 unsigned int unc_packets;
130 unsigned int comp_bytes;
131 unsigned int comp_packets;
132 unsigned int inc_bytes;
133 unsigned int inc_packets;
Definition: ppp_defs.h:112
Definition: ppp_defs.h:147
Definition: ppp_defs.h:103
Definition: ppp_defs.h:123
Definition: ppp_defs.h:138
Definition: ppp_defs.h:128