Home
last modified time | relevance | path

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

/linux/drivers/net/ppp/
A Dppp_deflate.c212 wptr += PPP_HDRLEN; in z_compress()
215 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress()
418 if (isize <= PPP_HDRLEN + DEFLATE_OVHD) { in z_decompress()
426 seq = get_unaligned_be16(ibuf + PPP_HDRLEN); in z_decompress()
448 state->strm.next_in = ibuf + PPP_HDRLEN + DEFLATE_OVHD; in z_decompress()
449 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD); in z_decompress()
469 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
A Dbsd_comp.c631 olen = PPP_HDRLEN + BSD_OVHD; in bsd_compress()
650 rptr += PPP_HDRLEN; in bsd_compress()
651 isize -= PPP_HDRLEN; in bsd_compress()
741 db->bytes_out += olen - PPP_HDRLEN - BSD_OVHD; in bsd_compress()
867 ibuf += (PPP_HDRLEN + 2); in bsd_decompress()
868 ilen = isize - (PPP_HDRLEN + 2); in bsd_decompress()
1114 db->comp_bytes += isize - BSD_OVHD - PPP_HDRLEN; in bsd_decompress()
A Dppp_mppe.c367 obuf += PPP_HDRLEN; in mppe_compress()
441 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress()
558 ibuf += PPP_HDRLEN + MPPE_OVHD; in mppe_decompress()
559 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ in mppe_decompress()
A Dppp_generic.c1227 ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */ in ppp_dev_configure()
1447 if (skb_cow_head(skb, PPP_HDRLEN)) in ppp_start_xmit()
1615 dev->hard_header_len = PPP_HDRLEN; in ppp_setup()
1685 ppp->xcomp->comp_extra + PPP_HDRLEN; in pad_compress_skb()
1692 if (ppp->dev->hard_header_len > PPP_HDRLEN) in pad_compress_skb()
1694 ppp->dev->hard_header_len - PPP_HDRLEN); in pad_compress_skb()
2526 obuff_size = ppp->mru + PPP_HDRLEN + 1; in ppp_decompress_frame()
2529 obuff_size = ppp->mru + PPP_HDRLEN; in ppp_decompress_frame()
A Dpppoe.c753 PPP_HDRLEN, in pppoe_ioctl()
770 - PPP_HDRLEN)) in pppoe_ioctl()
A Dppp_synctty.c680 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_sync_input()
A Dppp_async.c874 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
/linux/include/uapi/linux/
A Dppp_defs.h19 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
/linux/net/atm/
A Dpppoatm.c414 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
/linux/net/core/
A Dflow_dissector.c611 u8 _ppp_hdr[PPP_HDRLEN]; in __skb_flow_dissect_gre()
635 offset += PPP_HDRLEN; in __skb_flow_dissect_gre()

Completed in 31 milliseconds