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

/freebsd-11-stable/sys/netinet6/
H A Dsend.c117 int icmp6len; local
138 icmp6len = m->m_pkthdr.len - sizeof(struct ip6_hdr);
152 nd6_ns_input(m, sizeof(struct ip6_hdr), icmp6len);
155 nd6_na_input(m, sizeof(struct ip6_hdr), icmp6len);
161 nd6_rs_input(m, sizeof(struct ip6_hdr), icmp6len);
164 nd6_ra_input(m, sizeof(struct ip6_hdr), icmp6len);
H A Dnd6_nbr.c119 nd6_ns_input(struct mbuf *m, int off, int icmp6len) argument
146 IP6_EXTHDR_CHECK(m, off, icmp6len,);
149 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
206 icmp6len -= sizeof(*nd_ns);
207 nd6_option_init(nd_ns + 1, icmp6len, &ndopts);
409 int icmp6len; local
438 icmp6len = sizeof(*nd_ns);
439 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len;
540 icmp6len += optlen;
560 icmp6len
612 nd6_na_input(struct mbuf *m, int off, int icmp6len) argument
942 int icmp6len, maxlen, error; local
[all...]
H A Dicmp6.c407 int icmp6len = m->m_pkthdr.len - *offp; local
426 if (icmp6len < sizeof(struct icmp6_hdr)) {
460 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
620 if (mld_input(m, off, icmp6len) != 0)
633 if (icmp6len == sizeof(struct icmp6_hdr) + 4)
635 else if (icmp6len >= sizeof(struct icmp6_nodeinfo))
734 if (icmp6len < sizeof(struct nd_router_solicit))
737 IP6_EXTHDR_CHECK(m, off, icmp6len, IPPROTO_DONE);
745 nd6_rs_input(m, off, icmp6len);
755 if (icmp6len < sizeo
881 icmp6_notify_error(struct mbuf **mp, int off, int icmp6len, int code) argument
2222 int icmp6len = ntohs(ip6->ip6_plen); local
[all...]
H A Dnd6_rtr.c122 nd6_rs_input(struct mbuf *m, int off, int icmp6len) argument
161 IP6_EXTHDR_CHECK(m, off, icmp6len,);
164 IP6_EXTHDR_GET(nd_rs, struct nd_router_solicit *, m, off, icmp6len);
171 icmp6len -= sizeof(*nd_rs);
172 nd6_option_init(nd_rs + 1, icmp6len, &ndopts);
213 nd6_ra_input(struct mbuf *m, int off, int icmp6len) argument
254 IP6_EXTHDR_CHECK(m, off, icmp6len,);
257 IP6_EXTHDR_GET(nd_ra, struct nd_router_advert *, m, off, icmp6len);
264 icmp6len -= sizeof(*nd_ra);
265 nd6_option_init(nd_ra + 1, icmp6len,
[all...]
H A Dmld6.c806 struct mbuf *m, struct mldv2_query *mld, const int off, const int icmp6len)
858 if (icmp6len < sizeof(struct mldv2_query) +
1240 mld_input(struct mbuf *m, int off, int icmp6len) argument
1256 icmp6len >= sizeof(struct mldv2_query)) {
1274 if (icmp6len == sizeof(struct mld_hdr)) {
1277 } else if (icmp6len >= sizeof(struct mldv2_query)) {
1279 (struct mldv2_query *)mld, off, icmp6len) != 0)
805 mld_v2_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mbuf *m, struct mldv2_query *mld, const int off, const int icmp6len) argument
H A Dnd6.c371 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts) argument
377 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
379 if (icmp6len == 0) {
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-icmp6.c1572 icmp6_nodeinfo_print(netdissect_options *ndo, u_int icmp6len, const u_char *bp, const u_char *ep) argument
1700 if (icmp6len > siz) {

Completed in 115 milliseconds