Lines Matching refs:pktlength
292 int hlimit, unsigned pktlength) in ip6_bld_1() argument
301 hdr->payload_len = htons(pktlength - sizeof(struct ipv6hdr)); in ip6_bld_1()
513 unsigned int pktlength, jumbolen, mtu; in ip6_build_xmit() local
578 pktlength = length; in ip6_build_xmit()
592 pktlength += sizeof(struct ipv6hdr); in ip6_build_xmit()
594 pktlength += opt->opt_flen + opt->opt_nflen; in ip6_build_xmit()
596 if (pktlength > 0xFFFF + sizeof(struct ipv6hdr)) { in ip6_build_xmit()
601 pktlength += 8; in ip6_build_xmit()
602 jumbolen = pktlength - sizeof(struct ipv6hdr); in ip6_build_xmit()
617 if (pktlength < length) { in ip6_build_xmit()
626 if (pktlength <= mtu) { in ip6_build_xmit()
635 skb = sock_alloc_send_skb(sk, pktlength + 15 + in ip6_build_xmit()
653 jumbolen ? sizeof(struct ipv6hdr) : pktlength); in ip6_build_xmit()
665 ((char *) hdr) + (pktlength - length), in ip6_build_xmit()