Lines Matching refs:icmp6len
98 int icmp6len)
116 IP6_EXTHDR_CHECK(m, off, icmp6len, return);
119 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
159 icmp6len -= sizeof(*nd_ns);
160 nd6_option_init(nd_ns + 1, icmp6len, &ndopts);
351 int icmp6len;
389 icmp6len = sizeof(*nd_ns);
390 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len;
503 icmp6len += optlen;
510 ip6->ip6_plen = htons((u_short)icmp6len);
513 = in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len);
542 int icmp6len)
574 IP6_EXTHDR_CHECK(m, off, icmp6len, return);
577 IP6_EXTHDR_GET(nd_na, struct nd_neighbor_advert *, m, off, icmp6len);
605 icmp6len -= sizeof(*nd_na);
606 nd6_option_init(nd_na + 1, icmp6len, &ndopts);
854 int icmp6len;
889 icmp6len = sizeof(*nd_na);
890 m->m_pkthdr.len = m->m_len = sizeof(struct ip6_hdr) + icmp6len;
957 icmp6len += optlen;
965 ip6->ip6_plen = htons((u_short)icmp6len);
969 in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len);