Home
last modified time | relevance | path

Searched refs:IPPROTO_ICMPV6 (Results 1 – 22 of 22) sorted by relevance

/xnu-11215.61.5/bsd/net/
H A Dnat464_utils.c524 if (proto2 == IPPROTO_ICMPV6) { in nat464_translate_icmp_ip()
548 ip6->ip6_nxt = IPPROTO_ICMPV6; in nat464_translate_icmp_ip()
705 if (*proto != IPPROTO_ICMPV6) { in nat464_translate_64()
851 *proto = IPPROTO_ICMPV6; in nat464_translate_proto()
852 } else if (*proto == IPPROTO_ICMPV6) { in nat464_translate_proto()
946 *proto = IPPROTO_ICMPV6; in nat464_translate_proto()
985 icmp6h->icmp6_cksum = pbuf_inet6_cksum(pbuf, IPPROTO_ICMPV6, hlen, in nat464_translate_proto()
996 case IPPROTO_ICMPV6: in nat464_translate_proto()
H A Dpacket_mangler.c886 case IPPROTO_ICMPV6: in pktmnglr_ipfilter_input()
1015 case IPPROTO_ICMPV6: in pktmnglr_ipfilter_input()
1072 case IPPROTO_ICMPV6: in chksm_update()
H A Dpf.c833 case IPPROTO_ICMPV6: in pf_state_compare_lan_ext()
960 case IPPROTO_ICMPV6: in pf_state_compare_ext_gwy()
1437 case IPPROTO_ICMPV6: in pf_stateins_err()
1991 case IPPROTO_ICMPV6: in pf_print_state()
2874 m0->m_pkthdr.pkt_proto = IPPROTO_ICMPV6; in pf_send_icmp()
3038 case IPPROTO_ICMPV6: in pf_match_xport()
4565 if (pd2->proto == IPPROTO_ICMPV6) { in pf_change_icmp_af()
4580 ip6->ip6_nxt = IPPROTO_ICMPV6; in pf_change_icmp_af()
4885 if (pd->proto == IPPROTO_ICMPV6) { in pf_nat64_ipv4()
4897 IPPROTO_ICMPV6, hlen, in pf_nat64_ipv4()
[all …]
H A Dif_redirect.c723 if (proto == IPPROTO_ICMPV6) { in pkt_is_for_delegate()
H A Dif_bridge.c7988 ip6hdr.ip6_nxt != IPPROTO_ICMPV6) {
9059 if (mnr != NULL && ip6h->ip6_nxt == IPPROTO_ICMPV6) {
9489 cksum = in6_cksum(m, IPPROTO_ICMPV6, mnr->mnr_ip6_header_len,
9989 case IPPROTO_ICMPV6:
H A Dbpf.c3779 case IPPROTO_ICMPV6: { in get_proto_trunc_len()
H A Dcontent_filter.c564 … (SOCK_CHECK_PROTO(so, IPPROTO_ICMP) || SOCK_CHECK_PROTO(so, IPPROTO_ICMPV6)))
/xnu-11215.61.5/tests/skywalk/
H A Dskt_reass.c296 if (ip6->ip6_nxt != IPPROTO_ICMPV6) { in bad_fraglen_match()
370 if (ip6->ip6_nxt != IPPROTO_ICMPV6) { in timeout_match()
421 ip6f->ip6f_nxt = IPPROTO_ICMPV6; in atomic_build()
441 htonl(IPPROTO_ICMPV6 + sizeof(struct icmp6_hdr) + dlen)); in atomic_build()
471 if (ip6->ip6_nxt != IPPROTO_ICMPV6) { in atomic_match()
/xnu-11215.61.5/bsd/netinet6/
H A Dicmp6.c363 if (off >= 0 && nxt == IPPROTO_ICMPV6) { in icmp6_error_flag()
563 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) { in icmp6_input()
2157 if (in6p->in6p_ip6_nxt != IPPROTO_ICMPV6) { in icmp6_rip6_input()
2310 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect()
2455 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect()
2474 icmp6->icmp6_cksum = in6_cksum(m, IPPROTO_ICMPV6, in icmp6_reflect()
2874 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_redirect_output()
3047 = in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), ntohs(ip6->ip6_plen)); in icmp6_redirect_output()
3099 if (level != IPPROTO_ICMPV6) { in icmp6_ctloutput()
3181 } else if (sopt->sopt_level == IPPROTO_ICMPV6) { in icmp6_dgram_ctloutput()
[all …]
H A Draw_ip6.c199 if (proto == IPPROTO_ICMPV6 || in6p->in6p_cksum != -1) { in rip6_input()
529 if (SOCK_PROTO(so) == IPPROTO_ICMPV6) { in rip6_output()
694 if (SOCK_PROTO(so) == IPPROTO_ICMPV6 || in6p->in6p_cksum != -1) { in rip6_output()
700 if (SOCK_PROTO(so) == IPPROTO_ICMPV6) { in rip6_output()
887 if (SOCK_PROTO(so) == IPPROTO_ICMPV6) { in rip6_output()
943 } else if (sopt->sopt_level == IPPROTO_ICMPV6) { in rip6_ctloutput()
H A Din6_proto.c225 .pr_protocol = IPPROTO_ICMPV6,
239 .pr_protocol = IPPROTO_ICMPV6,
507 SYSCTL_NODE(_net_inet6, IPPROTO_ICMPV6, icmp6,
H A Dnd6_nbr.c678 ip6->ip6_nxt = IPPROTO_ICMPV6; in nd6_ns_output()
871 = in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len); in nd6_ns_output()
1514 ip6->ip6_nxt = IPPROTO_ICMPV6; in nd6_na_output()
1617 in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len); in nd6_na_output()
H A Dmld6.c2362 ip6->ip6_nxt = IPPROTO_ICMPV6; in mld_v1_transmit_report()
2385 mld->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6, in mld_v1_transmit_report()
3826 ip6->ip6_nxt = IPPROTO_ICMPV6; in mld_v2_encap_report()
3852 mld->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6, in mld_v2_encap_report()
H A Dip6_input.c1171 ip6->ip6_nxt == IPPROTO_ICMPV6) { in ip6_input()
2328 case IPPROTO_ICMPV6: in ip6_pkt_has_ulp()
H A Dnd6_prproxy.c501 if (ip6->ip6_hlim != IPV6_MAXHLIM || ip6->ip6_nxt != IPPROTO_ICMPV6) { in nd6_prproxy_isours()
H A Dip6_output.c3148 } else if (SOCK_PROTO(so) == IPPROTO_ICMPV6) { in ip6_raw_ctloutput()
3158 if (SOCK_PROTO(so) == IPPROTO_ICMPV6) { in ip6_raw_ctloutput()
H A Dipsec.c1365 case IPPROTO_ICMPV6: in ipsec6_get_ulp()
/xnu-11215.61.5/tests/
H A Dudp_kao_opt.c134 SET_UDP_KAO_OPT(EINVAL, PF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6);
H A Dso_bindtodevice.c190 test_so_bindtodevice(PF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6);
H A Dnet_bridge.c482 case IPPROTO_ICMPV6: { in ip6_frame_validate()
906 ip6->ip6_nxt = IPPROTO_ICMPV6; in ethernet_nd6_frame_populate()
2225 T_ASSERT_EQ(ip6->ip6_nxt, IPPROTO_ICMPV6, NULL); in validate_mac_nat_nd6_out()
/xnu-11215.61.5/bsd/netinet/
H A Din.h172 #define IPPROTO_ICMPV6 58 /* ICMP6 */ macro
H A Din.c2303 case IPPROTO_ICMPV6: in ipproto_cassert()