Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv6/
Dreassembly.c428 end = offset + (ntohs(skb->nh.ipv6h->payload_len) - in ip6_frag_queue()
459 offsetof(struct ipv6hdr, payload_len)); in ip6_frag_queue()
593 int payload_len; in ip6_frag_reasm() local
602 payload_len = (head->data - head->nh.raw) - sizeof(struct ipv6hdr) + fq->len; in ip6_frag_reasm()
605 if (payload_len > 65535) { in ip6_frag_reasm()
606 payload_len -= 8; in ip6_frag_reasm()
607 if (payload_len > 65535) in ip6_frag_reasm()
671 head->nh.ipv6h->payload_len = ntohs(payload_len); in ip6_frag_reasm()
685 printk(KERN_DEBUG "ip6_frag_reasm: payload len = %d\n", payload_len); in ip6_frag_reasm()
708 if (hdr->payload_len==0) { in ipv6_reassembly()
Dip6_output.c236 hdr->payload_len = htons(seg_len); in ip6_xmit()
281 hdr->payload_len = htons(len); in ip6_nd_hdr()
301 hdr->payload_len = htons(pktlength - sizeof(struct ipv6hdr)); in ip6_bld_1()
490 hdr->payload_len = htons(unfrag_len + last_len - sizeof(struct ipv6hdr)); in ip6_frag_xmit()
Dmcast.c1036 len = ntohs(skb->nh.ipv6h->payload_len); in igmp6_event_query()
1305 int payload_len, mldlen, err; in mld_sendpack() local
1307 payload_len = skb->tail - (unsigned char *)skb->nh.ipv6h - in mld_sendpack()
1310 pip6->payload_len = htons(payload_len); in mld_sendpack()
1590 int err, len, payload_len, full_len; in igmp6_send() local
1602 payload_len = len + sizeof(ra); in igmp6_send()
1603 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send()
1620 ip6_nd_hdr(sk, skb, dev, &addr_buf, snd_addr, NEXTHDR_HOP, payload_len); in igmp6_send()
Dip6_input.c82 pkt_len = ntohs(hdr->payload_len); in ipv6_rcv()
Dexthdrs.c508 if (skb->nh.ipv6h->payload_len) { in ipv6_hop_jumbo()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6t_length.c19 u_int16_t pktlen = ntohs(skb->nh.ipv6h->payload_len) + sizeof(struct ipv6hdr); in match()
Dip6t_LOG.c79 ntohs(ipv6h->payload_len) + sizeof(struct ipv6hdr), in dump_packet()
Dip6_tables.c413 ADD_COUNTER(e->counters, ntohs((*pskb)->nh.ipv6h->payload_len) + IPV6_HDR_LEN, 1); in ip6t_do_table()
/linux-2.4.37.9/include/linux/
Dipv6.h95 __u16 payload_len; member
/linux-2.4.37.9/net/sctp/
Dsm_make_chunk.c1554 size_t payload_len = WORD_ROUND(sizeof(error)) + in sctp_process_inv_paramlength() local
1560 *errp = sctp_make_op_error_space(asoc, chunk, payload_len); in sctp_process_inv_paramlength()
/linux-2.4.37.9/drivers/net/fc/
Diph5526.c3464 int payload_len = ntohl(*(base_ptr + 8)) & 0xFF;
3469 if ((payload_len < 4) || (payload_len > 256)) {
3475 no_of_pages = (payload_len / 4) - 1;