Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/netinet6/
H A Ddest6.c95 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), return IPPROTO_DONE); in dest6_input()
99 IP6_EXTHDR_CHECK(m, off, dstoptlen, return IPPROTO_DONE); in dest6_input()
H A Droute6.c101 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), return IPPROTO_DONE); in route6_input()
H A Dicmp6.c311 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), return ); in icmp6_error_flag()
369 IP6_EXTHDR_CHECK(m, 0, off + sizeof(struct icmp6_hdr), return ); in icmp6_error_flag()
482 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_hdr), return IPPROTO_DONE); in icmp6_input()
799 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_nodeinfo), in icmp6_input()
979 IP6_EXTHDR_CHECK(m, off, in icmp6_notify_error()
1015 IP6_EXTHDR_CHECK(m, 0, in icmp6_notify_error()
1045 IP6_EXTHDR_CHECK(m, 0, eoff + sizeof(*rth), in icmp6_notify_error()
1071 IP6_EXTHDR_CHECK(m, 0, eoff + rthlen, in icmp6_notify_error()
1094 IP6_EXTHDR_CHECK(m, 0, eoff + in icmp6_notify_error()
2559 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.c946 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), { goto done; }); in ip6_input()
1613 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input()
1617 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input()
H A Dfrag6.c307 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.c291 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.c324 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_rs_input()
463 IP6_EXTHDR_CHECK(m, off, icmp6len, return ); in nd6_ra_input()
H A Dmld6.c1525 IP6_EXTHDR_CHECK(m, off, mldlen, return IPPROTO_DONE); in mld_input()
/xnu-12377.81.4/bsd/netinet/
H A Dip6.h318 #define IP6_EXTHDR_CHECK(m, off, hlen, action) \ macro
H A Dtcp_input.c945 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE); in tcp6_input()
2928 IP6_EXTHDR_CHECK(m, off0, off, return ); in tcp_input()