Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dppp_deflate.c237 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()
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()
Dppp_mppe.c400 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()
Dppp_generic.c964 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()
Dpppoe.c745 PPP_HDRLEN, in pppoe_ioctl()
762 - PPP_HDRLEN)) in pppoe_ioctl()
Dppp_synctty.c731 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_sync_input()
Dppp_async.c877 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
/linux-2.6.39/include/linux/
Dppp_defs.h48 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
/linux-2.6.39/net/atm/
Dpppoatm.c292 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
/linux-2.6.39/net/irda/irnet/
Dirnet_ppp.c492 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()
/linux-2.6.39/drivers/isdn/i4l/
Disdn_ppp.c2535 skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); in isdn_ppp_decompress()