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

/freebsd-9.3-release/sys/netinet6/
H A Dsend.c114 int icmp6len; local
135 icmp6len = m->m_pkthdr.len - sizeof(struct ip6_hdr);
149 nd6_ns_input(m, sizeof(struct ip6_hdr), icmp6len);
152 nd6_na_input(m, sizeof(struct ip6_hdr), icmp6len);
158 nd6_rs_input(m, sizeof(struct ip6_hdr), icmp6len);
161 nd6_ra_input(m, sizeof(struct ip6_hdr), icmp6len);
H A Dnd6_nbr.c103 nd6_ns_input(struct mbuf *m, int off, int icmp6len) argument
126 IP6_EXTHDR_CHECK(m, off, icmp6len,);
129 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
186 icmp6len -= sizeof(*nd_ns);
187 nd6_option_init(nd_ns + 1, icmp6len, &ndopts);
403 int icmp6len; local
443 icmp6len = sizeof(*nd_ns);
444 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len;
572 icmp6len += optlen;
579 ip6->ip6_plen = htons((u_short)icmp6len);
622 nd6_na_input(struct mbuf *m, int off, int icmp6len) argument
974 int icmp6len, maxlen, error; local
[all...]
H A Dicmp6.c415 int icmp6len = m->m_pkthdr.len - *offp; local
434 if (icmp6len < sizeof(struct icmp6_hdr)) {
468 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
654 if (mld_input(m, off, icmp6len) != 0)
666 if (icmp6len == sizeof(struct icmp6_hdr) + 4)
668 else if (icmp6len >= sizeof(struct icmp6_nodeinfo))
768 if (icmp6len < sizeof(struct nd_router_solicit))
776 icmp6len, IPPROTO_DONE);
782 nd6_rs_input(m, off, icmp6len);
784 nd6_rs_input(m, off, icmp6len);
971 icmp6_notify_error(struct mbuf **mp, int off, int icmp6len, int code) argument
2353 int icmp6len = ntohs(ip6->ip6_plen); local
[all...]
H A Dnd6_rtr.c122 nd6_rs_input(struct mbuf *m, int off, int icmp6len) argument
157 IP6_EXTHDR_CHECK(m, off, icmp6len,);
160 IP6_EXTHDR_GET(nd_rs, struct nd_router_solicit *, m, off, icmp6len);
167 icmp6len -= sizeof(*nd_rs);
168 nd6_option_init(nd_rs + 1, icmp6len, &ndopts);
209 nd6_ra_input(struct mbuf *m, int off, int icmp6len) argument
244 IP6_EXTHDR_CHECK(m, off, icmp6len,);
247 IP6_EXTHDR_GET(nd_ra, struct nd_router_advert *, m, off, icmp6len);
254 icmp6len -= sizeof(*nd_ra);
255 nd6_option_init(nd_ra + 1, icmp6len,
[all...]
H A Dmld6.c805 struct mbuf *m, const int off, const int icmp6len)
860 if (icmp6len < sizeof(struct mldv2_query) +
1243 mld_input(struct mbuf *m, int off, int icmp6len) argument
1259 icmp6len >= sizeof(struct mldv2_query)) {
1277 if (icmp6len == sizeof(struct mld_hdr)) {
1280 } else if (icmp6len >= sizeof(struct mldv2_query)) {
1282 icmp6len) != 0)
804 mld_v2_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mbuf *m, const int off, const int icmp6len) argument
H A Dnd6.c274 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts) argument
280 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
282 if (icmp6len == 0) {
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-icmp6.c1002 icmp6_nodeinfo_print(u_int icmp6len, const u_char *bp, const u_char *ep) argument
1131 if (icmp6len > siz) {

Completed in 116 milliseconds