HomeSort by: relevance | last modified time | path
    Searched refs:icmp6len (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/netinet6/
nd6_rtr.c 57 nd6_rtr_cache(struct mbuf *m, int off, int icmp6len, int icmp6_type)
92 icmp6len);
99 icmp6len -= sizeof(*nd_rs);
100 nd6_option_init(nd_rs + 1, icmp6len, &ndopts);
110 icmp6len);
117 icmp6len -= sizeof(*nd_ra);
118 nd6_option_init(nd_ra + 1, icmp6len, &ndopts);
nd6_nbr.c 101 nd6_ns_input(struct mbuf *m, int off, int icmp6len)
127 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
177 icmp6len -= sizeof(*nd_ns);
178 nd6_option_init(nd_ns + 1, icmp6len, &ndopts);
415 int icmp6len; local
451 icmp6len = sizeof(*nd_ns);
452 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len;
555 icmp6len += optlen;
572 icmp6len += optlen;
579 ip6->ip6_plen = htons((u_int16_t)icmp6len);
917 int icmp6len, maxlen, error; local
    [all...]
icmp6.c 500 int icmp6len = m->m_pkthdr.len - off; local
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)
2248 int icmp6len = m->m_pkthdr.len - off; local
    [all...]
nd6.c 203 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts)
209 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
211 if (icmp6len == 0) {
  /src/external/bsd/tcpdump/dist/
print-icmp6.c 1720 icmp6_nodeinfo_print(netdissect_options *ndo, u_int icmp6len, const u_char *bp, const u_char *ep)
1825 if (icmp6len > siz)

Completed in 19 milliseconds