Searched refs:PPP_HDRLEN (Results 1 – 10 of 10) sorted by relevance
206 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;
639 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()
828 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()
711 PPP_HDRLEN, in pppoe_ioctl()728 - PPP_HDRLEN)) in pppoe_ioctl()
749 if ((skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2)) == 0) { in ppp_sync_input()
892 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
48 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
458 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()
302 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
2530 skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); in isdn_ppp_decompress()