Searched refs:icmp6len (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/sys/netinet6/
H A Dnd6_rtr.c57 nd6_rtr_cache(struct mbuf *m, int off, int icmp6len, int icmp6_type) argument
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);
H A Dnd6_nbr.c101 nd6_ns_input(struct mbuf *m, int off, int icmp6len) argument
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);
414 int icmp6len; local
450 icmp6len = sizeof(*nd_ns);
451 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len;
554 icmp6len += optlen;
571 icmp6len += optlen;
578 ip6->ip6_plen = htons((u_int16_t)icmp6len);
609 nd6_na_input(struct mbuf *m, int off, int icmp6len) argument
913 int icmp6len, maxlen, error; local
[all...]
H A Dicmp6.c500 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) {
715 if (icmp6len < sizeof(struct mld_hdr))
733 if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */
750 if (icmp6len == sizeof(struct icmp6_hdr) + 4)
752 else if (icmp6len >= sizeof(struct icmp6_nodeinfo))
833 icmp6len < sizeof(struct nd_router_solicit)) ||
835 icmp6len < sizeof(struct nd_router_advert)))
839 nd6_rtr_cache(m, off, icmp6len, icmp
957 icmp6_notify_error(struct mbuf *m, int off, int icmp6len, int code) argument
2250 int icmp6len = m->m_pkthdr.len - off; local
[all...]
H A Dnd6.c202 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts) argument
208 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
210 if (icmp6len == 0) {
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-icmp6.c1709 icmp6_nodeinfo_print(netdissect_options *ndo, u_int icmp6len, const u_char *bp, const u_char *ep) argument
1835 if (icmp6len > siz)

Completed in 202 milliseconds