Searched refs:icmp6len (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | nd6_nbr.c | 253 int icmp6len) 280 IP6_EXTHDR_CHECK(m, off, icmp6len, return); 283 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len); 340 icmp6len -= sizeof(*nd_ns); 341 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); 563 int icmp6len; local 617 icmp6len = sizeof(*nd_ns); 618 m->m_pkthdr.len = m->m_len = sizeof(*ip6) + icmp6len; 761 icmp6len += optlen; 768 ip6->ip6_plen = htons((u_short)icmp6len); 250 nd6_ns_input( struct mbuf *m, int off, int icmp6len) argument 838 nd6_na_input( struct mbuf *m, int off, int icmp6len) argument 1279 int icmp6len, maxlen, error; local [all...] |
H A D | icmp6.c | 438 int icmp6len = m->m_pkthdr.len - *offp; local 456 if (icmp6len < sizeof(struct icmp6_hdr)) { 502 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) { 694 if (icmp6len < sizeof(struct mld_hdr)) 708 if (mld_input(m, off, icmp6len) == IPPROTO_DONE) 712 if (mld_input(n, off, icmp6len) != IPPROTO_DONE) 720 if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */ 738 if (icmp6len < sizeof(struct icmp6_nodeinfo)) 771 if (icmp6len < sizeof(struct nd_router_solicit)) 781 nd6_rs_input(m, off, icmp6len); 2406 int icmp6len = ntohs(ip6->ip6_plen); local [all...] |
H A D | mld6.c | 915 struct mbuf *m, const int off, const int icmp6len) 968 if (icmp6len < sizeof(struct mldv2_query) + 1367 mld_input(struct mbuf *m, int off, int icmp6len) argument 1383 icmp6len >= sizeof(struct mldv2_query)) { 1401 if (icmp6len == sizeof(struct mld_hdr)) { 1404 } else if (icmp6len >= sizeof(struct mldv2_query)) { 1406 icmp6len) != 0) 914 mld_v2_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mbuf *m, const int off, const int icmp6len) argument
|
H A D | nd6_rtr.c | 271 int icmp6len) 319 IP6_EXTHDR_CHECK(m, off, icmp6len, return); 322 IP6_EXTHDR_GET(nd_rs, struct nd_router_solicit *, m, off, icmp6len); 329 icmp6len -= sizeof(*nd_rs); 330 nd6_option_init(nd_rs + 1, icmp6len, &ndopts); 373 int icmp6len) 432 IP6_EXTHDR_CHECK(m, off, icmp6len, return); 435 IP6_EXTHDR_GET(nd_ra, struct nd_router_advert *, m, off, icmp6len); 442 icmp6len -= sizeof(*nd_ra); 443 nd6_option_init(nd_ra + 1, icmp6len, 268 nd6_rs_input( struct mbuf *m, int off, int icmp6len) argument 370 nd6_ra_input( struct mbuf *m, int off, int icmp6len) argument [all...] |
H A D | nd6.c | 490 int icmp6len, 496 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len); 498 if (icmp6len == 0) { 488 nd6_option_init( void *opt, int icmp6len, union nd_opts *ndopts) argument
|
Completed in 35 milliseconds