Home | History | Annotate | Download | only in netinet6

Lines Matching defs:icmp6len

500 	int icmp6len = m->m_pkthdr.len - off;
519 if (icmp6len < sizeof(struct icmp6_hdr)) {
561 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
716 if (icmp6len < sizeof(struct mld_hdr))
734 if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */
751 if (icmp6len == sizeof(struct icmp6_hdr) + 4)
753 else if (icmp6len >= sizeof(struct icmp6_nodeinfo))
835 icmp6len < sizeof(struct nd_router_solicit)) ||
837 icmp6len < sizeof(struct nd_router_advert)))
841 nd6_rtr_cache(m, off, icmp6len, icmp6->icmp6_type);
845 nd6_rtr_cache(n, off, icmp6len, icmp6->icmp6_type);
853 if (icmp6len < sizeof(struct nd_neighbor_solicit))
857 nd6_ns_input(m, off, icmp6len);
861 nd6_ns_input(n, off, icmp6len);
869 if (icmp6len < sizeof(struct nd_neighbor_advert))
873 nd6_na_input(m, off, icmp6len);
877 nd6_na_input(n, off, icmp6len);
885 if (icmp6len < sizeof(struct nd_redirect))
901 if (icmp6len < sizeof(struct icmp6_router_renum))
921 if (icmp6_notify_error(m, off, icmp6len, code)) {
959 icmp6_notify_error(struct mbuf *m, int off, int icmp6len, int code)
966 if (icmp6len < sizeof(struct icmp6_hdr) + sizeof(struct ip6_hdr)) {
2248 int icmp6len = m->m_pkthdr.len - off;
2272 IP6_EXTHDR_GET(nd_rd, struct nd_redirect *, m, off, icmp6len);
2364 icmp6len -= sizeof(*nd_rd);
2365 nd6_option_init(nd_rd + 1, icmp6len, &ndopts);