Lines Matching refs:icmp6len
438 int icmp6len = m->m_pkthdr.len - *offp;
456 if (icmp6len < sizeof(struct icmp6_hdr)) {
502 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
694 if (icmp6len < sizeof(struct mld_hdr))
708 if (mld_input(m, off, icmp6len) == IPPROTO_DONE)
712 if (mld_input(n, off, icmp6len) != IPPROTO_DONE)
720 if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */
738 if (icmp6len < sizeof(struct icmp6_nodeinfo))
771 if (icmp6len < sizeof(struct nd_router_solicit))
781 nd6_rs_input(m, off, icmp6len);
785 nd6_rs_input(n, off, icmp6len);
794 if (icmp6len < sizeof(struct nd_router_advert))
804 nd6_ra_input(m, off, icmp6len);
808 nd6_ra_input(n, off, icmp6len);
817 if (icmp6len < sizeof(struct nd_neighbor_solicit))
827 nd6_ns_input(m, off, icmp6len);
831 nd6_ns_input(n, off, icmp6len);
840 if (icmp6len < sizeof(struct nd_neighbor_advert))
850 nd6_na_input(m, off, icmp6len);
854 nd6_na_input(n, off, icmp6len);
863 if (icmp6len < sizeof(struct nd_redirect))
886 if (icmp6len < sizeof(struct icmp6_router_renum))
916 if (icmp6_notify_error(m, off, icmp6len, code)) {
948 icmp6_notify_error(m, off, icmp6len, code)
950 int off, icmp6len, code;
957 if (icmp6len < sizeof(struct icmp6_hdr) + sizeof(struct ip6_hdr)) {
2406 int icmp6len = ntohs(ip6->ip6_plen);
2432 IP6_EXTHDR_CHECK(m, off, icmp6len, return);
2435 IP6_EXTHDR_GET(nd_rd, struct nd_redirect *, m, off, icmp6len);
2532 icmp6len -= sizeof(*nd_rd);
2533 nd6_option_init(nd_rd + 1, icmp6len, &ndopts);