Home
last modified time | relevance | path

Searched refs:PPP_HDRLEN (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ppp/
H A Dppp_deflate.c211 wptr += PPP_HDRLEN; in z_compress()
214 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress()
417 if (isize <= PPP_HDRLEN + DEFLATE_OVHD) { in z_decompress()
425 seq = get_unaligned_be16(ibuf + PPP_HDRLEN); in z_decompress()
447 state->strm.next_in = ibuf + PPP_HDRLEN + DEFLATE_OVHD; in z_decompress()
448 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD); in z_decompress()
468 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
H A Dbsd_comp.c630 olen = PPP_HDRLEN + BSD_OVHD; in bsd_compress()
649 rptr += PPP_HDRLEN; in bsd_compress()
650 isize -= PPP_HDRLEN; in bsd_compress()
740 db->bytes_out += olen - PPP_HDRLEN - BSD_OVHD; in bsd_compress()
866 ibuf += (PPP_HDRLEN + 2); in bsd_decompress()
867 ilen = isize - (PPP_HDRLEN + 2); in bsd_decompress()
1113 db->comp_bytes += isize - BSD_OVHD - PPP_HDRLEN; in bsd_decompress()
H A Dppp_mppe.c310 obuf += PPP_HDRLEN; in mppe_compress()
384 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress()
501 ibuf += PPP_HDRLEN + MPPE_OVHD; in mppe_decompress()
502 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ in mppe_decompress()
/linux/include/uapi/linux/
H A Dppp_defs.h19 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
/linux/net/core/
H A Dflow_dissector.c739 u8 _ppp_hdr[PPP_HDRLEN]; in __skb_flow_dissect_gre()
763 offset += PPP_HDRLEN; in __skb_flow_dissect_gre()