Home
last modified time | relevance | path

Searched refs:IP6_EXTHDR_CHECK (Results 1 – 13 of 13) sorted by relevance

/xnu-11215.1.10/bsd/netinet6/
H A Ddest6.c93 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), return IPPROTO_DONE); in dest6_input()
97 IP6_EXTHDR_CHECK(m, off, dstoptlen, return IPPROTO_DONE); in dest6_input()
H A Droute6.c100 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), return IPPROTO_DONE); in route6_input()
H A Dicmp6.c309 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), return ); in icmp6_error_flag()
367 IP6_EXTHDR_CHECK(m, 0, off + sizeof(struct icmp6_hdr), return ); in icmp6_error_flag()
480 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_hdr), return IPPROTO_DONE); in icmp6_input()
797 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_nodeinfo), in icmp6_input()
977 IP6_EXTHDR_CHECK(m, off, in icmp6_notify_error()
1013 IP6_EXTHDR_CHECK(m, 0, in icmp6_notify_error()
1043 IP6_EXTHDR_CHECK(m, 0, eoff + sizeof(*rth), in icmp6_notify_error()
1069 IP6_EXTHDR_CHECK(m, 0, eoff + rthlen, in icmp6_notify_error()
1092 IP6_EXTHDR_CHECK(m, 0, eoff + in icmp6_notify_error()
2557 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in icmp6_redirect_input()
H A Dah_input.c607 IP6_EXTHDR_CHECK(m, off, sizeof(struct ah), {return IPPROTO_DONE;}); in ah6_input()
689 IP6_EXTHDR_CHECK(m, off, (int)(sizeof(struct ah) + sizoff + siz1), in ah6_input()
H A Dip6_input.c922 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), { goto done; }); in ip6_input()
1583 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input()
1587 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input()
H A Dfrag6.c304 IP6_EXTHDR_CHECK(m, offset, sizeof(struct ip6_frag), goto done); in frag6_input()
H A Desp_input.c953 IP6_EXTHDR_CHECK(m, off, ESPMAXLEN, {return IPPROTO_DONE;}); in esp6_input_extended()
1160 IP6_EXTHDR_CHECK(m, off, (int)(esplen + ivlen), goto bad); /*XXX*/ in esp6_input_extended()
H A Dudp6_usrreq.c259 IP6_EXTHDR_CHECK(m, off, sizeof(struct udphdr), return IPPROTO_DONE); in udp6_input()
H A Dnd6_nbr.c290 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_ns_input()
977 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_na_input()
H A Dnd6_rtr.c293 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_rs_input()
428 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_ra_input()
H A Dmld6.c1524 IP6_EXTHDR_CHECK(m, off, mldlen, return IPPROTO_DONE); in mld_input()
/xnu-11215.1.10/bsd/netinet/
H A Dip6.h318 #define IP6_EXTHDR_CHECK(m, off, hlen, action) \ macro
H A Dtcp_input.c947 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE); in tcp6_input()
2190 IP6_EXTHDR_CHECK(m, off0, off, return ); in tcp_input()