/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6t_dst.c | 63 unsigned int hdrlen = 0; local 97 hdrlen = 8; 99 hdrlen = (hdr->hdrlen+2)<<2; 101 hdrlen = ipv6_optlen(hdr); 130 len -= hdrlen; 131 ptr += hdrlen; 150 if (len < hdrlen){ 157 DEBUGP("IPv6 OPTS LEN %u %u ", hdrlen, optsh->hdrlen); 160 optinfo->hdrlen, hdrlen, 162 ((optinfo->hdrlen == hdrlen) ^ [all …]
|
D | ip6t_hbh.c | 63 unsigned int hdrlen = 0; local 97 hdrlen = 8; 99 hdrlen = (hdr->hdrlen+2)<<2; 101 hdrlen = ipv6_optlen(hdr); 130 len -= hdrlen; 131 ptr += hdrlen; 150 if (len < hdrlen){ 157 DEBUGP("IPv6 OPTS LEN %u %u ", hdrlen, optsh->hdrlen); 160 optinfo->hdrlen, hdrlen, 162 ((optinfo->hdrlen == hdrlen) ^ [all …]
|
D | ip6t_ah.c | 25 __u8 hdrlen; member 58 unsigned int hdrlen = 0; in match() local 93 hdrlen = 8; in match() 95 hdrlen = (hdr->hdrlen+2)<<2; in match() 97 hdrlen = ipv6_optlen(hdr); in match() 121 len -= hdrlen; in match() 122 ptr += hdrlen; in match() 139 DEBUGP("IPv6 AH LEN %u %u ", hdrlen, ah->hdrlen); in match() 148 ahinfo->hdrlen, hdrlen, in match() 149 (!ahinfo->hdrlen || in match() [all …]
|
D | ip6t_rt.c | 53 unsigned int hdrlen = 0; in match() local 85 hdrlen = 8; in match() 87 hdrlen = (hdr->hdrlen+2)<<2; in match() 89 hdrlen = ipv6_optlen(hdr); in match() 113 len -= hdrlen; in match() 114 ptr += hdrlen; in match() 129 if (len < hdrlen){ in match() 136 DEBUGP("IPv6 RT LEN %u %u ", hdrlen, route->hdrlen); in match() 150 rtinfo->hdrlen, hdrlen, in match() 152 ((rtinfo->hdrlen == hdrlen) ^ in match() [all …]
|
D | ip6t_ipv6header.c | 50 int hdrlen; in ipv6header_match() local 70 hdrlen = 8; in ipv6header_match() 72 hdrlen = (hdr->hdrlen+2)<<2; in ipv6header_match() 74 hdrlen = ipv6_optlen(hdr); in ipv6header_match() 99 len -= hdrlen; in ipv6header_match() 100 ptr += hdrlen; in ipv6header_match()
|
D | ip6t_esp.c | 70 int hdrlen; in match() local 91 hdrlen = 8; in match() 93 hdrlen = (hdr->hdrlen+2)<<2; in match() 95 hdrlen = ipv6_optlen(hdr); in match() 112 len -= hdrlen; in match() 113 ptr += hdrlen; in match()
|
D | ip6t_frag.c | 53 unsigned int hdrlen = 0; in match() local 84 hdrlen = 8; in match() 86 hdrlen = (hdr->hdrlen+2)<<2; in match() 88 hdrlen = ipv6_optlen(hdr); in match() 112 len -= hdrlen; in match() 113 ptr += hdrlen; in match()
|
D | ip6t_LOG.c | 42 __u8 hdrlen; member 65 unsigned int hdrlen = 0; in dump_packet() local 123 hdrlen = 8; in dump_packet() 135 hdrlen = ipv6_optlen(hdr); in dump_packet() 166 hdrlen = (hdr->hdrlen+2)<<2; in dump_packet() 204 ptr += hdrlen; in dump_packet()
|
/linux-2.4.37.9/net/ipv6/ |
D | exthdrs.c | 232 skb->h.raw += (hdr->hdrlen + 1) << 3; in ipv6_routing_header() 243 if (hdr->hdrlen & 0x01) { in ipv6_routing_header() 244 icmpv6_param_prob(skb, ICMPV6_HDR_FIELD, (&hdr->hdrlen) - skb->nh.raw); in ipv6_routing_header() 253 n = hdr->hdrlen >> 1; in ipv6_routing_header() 356 int hdrlen = ipv6_optlen(hdr); in ipv6_invert_rthdr() local 360 hdr->hdrlen & 0x01) in ipv6_invert_rthdr() 363 n = hdr->hdrlen >> 1; in ipv6_invert_rthdr() 364 opt = sock_kmalloc(sk, sizeof(*opt) + hdrlen, GFP_ATOMIC); in ipv6_invert_rthdr() 368 opt->tot_len = sizeof(*opt) + hdrlen; in ipv6_invert_rthdr() 370 opt->opt_nflen = hdrlen; in ipv6_invert_rthdr() [all …]
|
D | datagram.c | 237 put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, (rthdr->hdrlen+1) << 3, rthdr); in datagram_recv_ctl() 319 len = ((hdr->hdrlen + 1) << 3); in datagram_send_ctl() 339 len = ((hdr->hdrlen + 1) << 3); in datagram_send_ctl() 363 len = ((hdr->hdrlen + 2) << 2); in datagram_send_ctl() 392 len = ((rthdr->hdrlen + 1) << 3); in datagram_send_ctl() 400 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in datagram_send_ctl() 409 int dsthdrlen = ((opt->dst1opt->hdrlen+1)<<3); in datagram_send_ctl()
|
/linux-2.4.37.9/fs/nfs/ |
D | nfs2xdr.c | 237 int status, count, recvd, hdrlen; in nfs_xdr_readres() local 250 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readres() 251 if (iov->iov_len < hdrlen) { in nfs_xdr_readres() 253 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs_xdr_readres() 255 } else if (iov->iov_len != hdrlen) { in nfs_xdr_readres() 257 xdr_shift_buf(&req->rq_rcv_buf, iov->iov_len - hdrlen); in nfs_xdr_readres() 260 recvd = req->rq_received - hdrlen; in nfs_xdr_readres() 395 int hdrlen, recvd; in nfs_xdr_readdirres() local 403 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readdirres() 404 if (iov->iov_len < hdrlen) { in nfs_xdr_readdirres() [all …]
|
D | nfs3xdr.c | 506 int hdrlen, recvd; in nfs3_xdr_readdirres() local 524 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs3_xdr_readdirres() 525 if (iov->iov_len < hdrlen) { in nfs3_xdr_readdirres() 527 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs3_xdr_readdirres() 529 } else if (iov->iov_len != hdrlen) { in nfs3_xdr_readdirres() 531 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readdirres() 535 recvd = req->rq_received - hdrlen; in nfs3_xdr_readdirres() 742 unsigned int hdrlen; in nfs3_xdr_readlinkres() local 753 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs3_xdr_readlinkres() 754 if (iov->iov_len > hdrlen) { in nfs3_xdr_readlinkres() [all …]
|
/linux-2.4.37.9/net/bluetooth/cmtp/ |
D | core.c | 139 __u8 hdr, hdrlen, id; in cmtp_recv_frame() local 149 hdrlen = 2; in cmtp_recv_frame() 153 hdrlen = 3; in cmtp_recv_frame() 157 hdrlen = 1; in cmtp_recv_frame() 164 BT_DBG("hdr 0x%02x hdrlen %d len %d id %d", hdr, hdrlen, len, id); in cmtp_recv_frame() 166 if (hdrlen + len > skb->len) { in cmtp_recv_frame() 172 skb_pull(skb, hdrlen); in cmtp_recv_frame() 178 cmtp_add_msgpart(session, id, skb->data + hdrlen, len); in cmtp_recv_frame() 183 cmtp_add_msgpart(session, id, skb->data + hdrlen, len); in cmtp_recv_frame() 192 skb_pull(skb, hdrlen + len); in cmtp_recv_frame()
|
/linux-2.4.37.9/include/linux/ |
D | ipv6.h | 38 __u8 hdrlen; member 51 __u8 hdrlen; member 61 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3)
|
D | ppp_channel.h | 40 int hdrlen; /* amount of headroom channel needs */ member
|
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_v110.c | 89 isdn_v110_open(unsigned char key, int hdrlen, int maxsize) in isdn_v110_open() argument 124 v->skbres = hdrlen; in isdn_v110_open() 125 v->maxsize = maxsize - hdrlen; in isdn_v110_open() 579 int hdrlen = dev->drv[c->driver]->interface->hl_hdrlen; in isdn_v110_stat_callback() local 584 dev->v110[idx] = isdn_v110_open(V110_9600, hdrlen, maxsize); in isdn_v110_stat_callback() 587 dev->v110[idx] = isdn_v110_open(V110_19200, hdrlen, maxsize); in isdn_v110_stat_callback() 590 dev->v110[idx] = isdn_v110_open(V110_38400, hdrlen, maxsize); in isdn_v110_stat_callback()
|
/linux-2.4.37.9/drivers/net/ |
D | ppp_deflate.c | 65 int unit, int hdrlen, int debug)); 68 int unit, int hdrlen, int mru, int debug)); 140 z_comp_init(arg, options, opt_len, unit, hdrlen, debug) in z_comp_init() argument 143 int opt_len, unit, hdrlen, debug; 324 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug) in z_decomp_init() argument 327 int opt_len, unit, hdrlen, mru, debug;
|
D | slhc.c | 498 int len, hdrlen; in slhc_uncompress() local 543 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress() 549 i = ntohs(ip->tot_len) - hdrlen; in slhc_uncompress() 557 ntohs(ip->tot_len) - hdrlen); in slhc_uncompress() 606 len += hdrlen; in slhc_uncompress() 610 memmove(icp + hdrlen, cp, len - hdrlen); in slhc_uncompress()
|
D | ppp_generic.c | 79 int hdrlen; /* space to leave for headers */ member 433 skb = alloc_skb(count + pf->hdrlen, GFP_KERNEL); in ppp_write() 436 skb_reserve(skb, pf->hdrlen); in ppp_write() 1139 int i, bits, hdrlen, mtu; in ppp_mp_explode() local 1148 hdrlen = (ppp->flags & SC_MP_XSHORTSEQ)? MPHDRLEN_SSN: MPHDRLEN; in ppp_mp_explode() 1212 if (pch->chan == 0 || (mtu = pch->chan->mtu) < hdrlen) { in ppp_mp_explode() 1229 if (fnb > mtu + 2 - hdrlen) in ppp_mp_explode() 1230 fnb = mtu + 2 - hdrlen; in ppp_mp_explode() 1233 frag = alloc_skb(fnb + hdrlen, GFP_ATOMIC); in ppp_mp_explode() 1236 q = skb_put(frag, fnb + hdrlen); in ppp_mp_explode() [all …]
|
/linux-2.4.37.9/drivers/isdn/pcbit/ |
D | capi.c | 642 int capi_decode_debug_188(u_char *hdr, ushort hdrlen) in capi_decode_debug_188() argument 649 if (len < 64 && len == hdrlen - 1) { in capi_decode_debug_188() 650 memcpy(str, hdr + 1, hdrlen - 1); in capi_decode_debug_188() 651 str[hdrlen - 1] = 0; in capi_decode_debug_188()
|
/linux-2.4.37.9/include/linux/netfilter_ipv6/ |
D | ip6t_ah.h | 7 u_int32_t hdrlen; /* Header Length */ member
|
D | ip6t_frag.h | 7 u_int32_t hdrlen; /* Header Length */ member
|
D | ip6t_opts.h | 8 u_int32_t hdrlen; /* Header Length */ member
|
D | ip6t_rt.h | 12 u_int32_t hdrlen; /* Header Length */ member
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_ah.c | 19 __u8 hdrlen; member
|