/external/ppp/pppd/include/net/ |
ppp_defs.h | 52 #define PPP_HDRLEN 4 /* octets for standard ppp header */ 64 #define PPP_MAXMTU 65535 - (PPP_HDRLEN + PPP_FCSLEN)
|
/external/tcpdump/ |
ppp.h | 17 #define PPP_HDRLEN 4 /* length of PPP header */
|
print-ppp.c | [all...] |
/external/ppp/pppd/ |
chap-new.c | 92 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN) 93 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN) 296 ss->challenge_pktlen = PPP_HDRLEN + len; 298 p = ss->challenge + PPP_HDRLEN; 321 if (id != ss->challenge[PPP_HDRLEN+1] || len < 2) 349 ss->challenge + PPP_HDRLEN + CHAP_HDRLEN, 369 output(0, outpacket_buf, PPP_HDRLEN + len); 480 p = response + PPP_HDRLEN; 487 output(0, response, PPP_HDRLEN + len);
|
demand.c | 87 framemax += PPP_HDRLEN + PPP_FCSLEN; 276 if (len < PPP_HDRLEN) 340 if (len < PPP_HDRLEN)
|
utils.c | 483 if (len >= PPP_HDRLEN && p[0] == PPP_ALLSTATIONS && p[1] == PPP_UI) { 486 len -= PPP_HDRLEN; 802 * Assumes len >= PPP_HDRLEN. 818 && len >= PPP_HDRLEN + HEADERLEN) { 819 unsigned char *lcp = p + PPP_HDRLEN; 823 && l >= HEADERLEN && l <= len - PPP_HDRLEN)
|
fsm.c | 771 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN; 809 if (datalen && data != outp + PPP_HDRLEN + HEADERLEN) 810 BCOPY(data, outp + PPP_HDRLEN + HEADERLEN, datalen); 816 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
|
main.c | 189 u_char outpacket_buf[PPP_MRU+PPP_HDRLEN]; /* buffer for outgoing packet */ 190 u_char inpacket_buf[PPP_MRU+PPP_HDRLEN]; /* buffer for incoming packet */ 1074 if (len < PPP_HDRLEN) { 1084 len -= PPP_HDRLEN; 1129 lcp_sprotrej(0, p - PPP_HDRLEN, len + PPP_HDRLEN); [all...] |
upap.c | 571 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN); 601 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
|
eap.c | 279 output(esp->es_unit, outpacket_buf, EAP_HEADERLEN + PPP_HDRLEN); 304 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + EAP_HEADERLEN); 856 outlen = (outp - outpacket_buf) - PPP_HDRLEN; 859 output(esp->es_unit, outpacket_buf, outlen + PPP_HDRLEN); 1066 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + msglen); 1101 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + msglen); 1134 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + msglen); 1165 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + msglen); 1190 output(esp->es_unit, outpacket_buf, PPP_HDRLEN + msglen); [all...] |
cbcp.c | 442 output(us->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
|
tty.c | 1081 max_level = PPP_MRU + PPP_HDRLEN + 1; 1135 nibuf = read(ifd, ibufp, PPP_MRU + PPP_HDRLEN); 1159 nobuf = read(pty_master, obufp, PPP_MRU + PPP_HDRLEN); [all...] |
ipv6cp.c | [all...] |
ipcp.c | [all...] |
sys-linux.c | 1055 if (len < PPP_HDRLEN) 1122 len = PPP_MRU + PPP_HDRLEN; [all...] |
sys-solaris.c | [all...] |
/bionic/libc/kernel/uapi/linux/ |
ppp_defs.h | 22 #define PPP_HDRLEN 4
|
/external/kernel-headers/original/uapi/linux/ |
ppp_defs.h | 19 #define PPP_HDRLEN 4 /* octets for standard ppp header */
|