Searched refs:PPP_HDRLEN (Results 1 – 11 of 11) sorted by relevance
237 wptr += PPP_HDRLEN; in z_compress()240 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress()445 if (isize <= PPP_HDRLEN + DEFLATE_OVHD) { in z_decompress()453 seq = get_unaligned_be16(ibuf + PPP_HDRLEN); in z_decompress()475 state->strm.next_in = ibuf + PPP_HDRLEN + DEFLATE_OVHD; in z_decompress()476 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD); in z_decompress()496 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
631 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()
400 obuf += PPP_HDRLEN; in mppe_compress()485 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress()607 ibuf += PPP_HDRLEN + MPPE_OVHD; in mppe_decompress()608 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ in mppe_decompress()
964 if (skb_cow_head(skb, PPP_HDRLEN)) in ppp_start_xmit()1033 dev->hard_header_len = PPP_HDRLEN; in ppp_setup()1078 ppp->xcomp->comp_extra + PPP_HDRLEN; in pad_compress_skb()1085 if (ppp->dev->hard_header_len > PPP_HDRLEN) in pad_compress_skb()1087 ppp->dev->hard_header_len - PPP_HDRLEN); in pad_compress_skb()1823 obuff_size = ppp->mru + PPP_HDRLEN + 1; in ppp_decompress_frame()1826 obuff_size = ppp->mru + PPP_HDRLEN; in ppp_decompress_frame()2591 ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */ in ppp_create_interface()
745 PPP_HDRLEN, in pppoe_ioctl()762 - PPP_HDRLEN)) in pppoe_ioctl()
731 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_sync_input()
877 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
48 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
292 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
492 ap->chan.mtu = (2048 - TTP_MAX_HEADER - 2 - PPP_HDRLEN); in dev_irnet_open()495 ap->mru = (2048 - TTP_MAX_HEADER - 2 - PPP_HDRLEN); in dev_irnet_open()
2535 skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); in isdn_ppp_decompress()