Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dppp_deflate.c206 wptr += PPP_HDRLEN;
210 olen = PPP_HDRLEN + DEFLATE_OVHD;
388 if (isize <= PPP_HDRLEN + DEFLATE_OVHD) {
396 seq = (ibuf[PPP_HDRLEN] << 8) + ibuf[PPP_HDRLEN+1];
418 state->strm.next_in = ibuf + PPP_HDRLEN + DEFLATE_OVHD;
419 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD);
439 state->strm.avail_out = osize - PPP_HDRLEN;
Dbsd_comp.c639 olen = PPP_HDRLEN + BSD_OVHD; in bsd_compress()
658 rptr += PPP_HDRLEN; in bsd_compress()
659 isize -= PPP_HDRLEN; in bsd_compress()
749 db->bytes_out += olen - PPP_HDRLEN - BSD_OVHD; in bsd_compress()
875 ibuf += (PPP_HDRLEN + 2); in bsd_decompress()
876 ilen = isize - (PPP_HDRLEN + 2); in bsd_decompress()
1122 db->comp_bytes += isize - BSD_OVHD - PPP_HDRLEN; in bsd_decompress()
Dppp_generic.c828 if (skb_headroom(skb) < PPP_HDRLEN) { in ppp_start_xmit()
909 dev->hard_header_len = PPP_HDRLEN; in ppp_net_init()
1040 if (ppp->dev->hard_header_len > PPP_HDRLEN) in ppp_send_frame()
1042 ppp->dev->hard_header_len - PPP_HDRLEN); in ppp_send_frame()
1047 ppp->dev->mtu + PPP_HDRLEN); in ppp_send_frame()
1543 ns = dev_alloc_skb(ppp->mru + PPP_HDRLEN); in ppp_decompress_frame()
1550 skb->len + 2, ns->data, ppp->mru + PPP_HDRLEN); in ppp_decompress_frame()
2257 ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */ in ppp_create_interface()
Dpppoe.c711 PPP_HDRLEN, in pppoe_ioctl()
728 - PPP_HDRLEN)) in pppoe_ioctl()
Dppp_synctty.c749 if ((skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2)) == 0) { in ppp_sync_input()
Dppp_async.c892 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
/linux-2.4.37.9/include/linux/
Dppp_defs.h48 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
/linux-2.4.37.9/net/irda/irnet/
Dirnet_ppp.c458 ap->chan.mtu = (2048 - TTP_MAX_HEADER - 2 - PPP_HDRLEN); in dev_irnet_open()
461 ap->mru = (2048 - TTP_MAX_HEADER - 2 - PPP_HDRLEN); in dev_irnet_open()
/linux-2.4.37.9/net/atm/
Dpppoatm.c302 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
/linux-2.4.37.9/drivers/isdn/
Disdn_ppp.c2530 skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); in isdn_ppp_decompress()