| /xnu-12377.1.9/bsd/net/ |
| H A D | nat464_utils.c | 333 } else if (ptr == PTR_IP6(ip6_hlim)) { in nat464_translate_icmp() 444 ptr = PTR_IP6(ip6_hlim); in nat464_translate_icmp() 559 ip6->ip6_hlim = IPV6_DEFHLIM; in nat464_translate_icmp_ip() 561 ip6->ip6_hlim = ttl2; in nat464_translate_icmp_ip() 761 ip6->ip6_hlim = ttl; in nat464_translate_46() 1048 &hlen2, iph2->ip6_nxt, iph2->ip6_hlim, tot_len2, in nat464_translate_proto()
|
| H A D | pf_norm.c | 2428 if (r->min_ttl && h->ip6_hlim < r->min_ttl) { in pf_normalize_ip6() 2429 h->ip6_hlim = r->min_ttl; in pf_normalize_ip6() 2564 if (r->min_ttl && h->ip6_hlim < r->min_ttl) { in pf_normalize_ip6() 2565 h->ip6_hlim = r->min_ttl; in pf_normalize_ip6() 2781 src->scrub->pfss_ttl = h->ip6_hlim; in pf_normalize_tcp_init() 2886 if (h->ip6_hlim > src->scrub->pfss_ttl) { in pf_normalize_tcp_stateful() 2887 src->scrub->pfss_ttl = h->ip6_hlim; in pf_normalize_tcp_stateful() 2889 h->ip6_hlim = src->scrub->pfss_ttl; in pf_normalize_tcp_stateful()
|
| H A D | pf_osfp.c | 149 fp.fp_ttl = ip6->ip6_hlim; in pf_osfp_fingerprint_hdr()
|
| H A D | dlil_subr.c | 936 ip6h->ip6_hlim, src, *dst, tot_len, &is_first_frag) == NT_NAT64) ? in dlil_clat64()
|
| H A D | pf.c | 2829 h6->ip6_hlim = IPV6_DEFHLIM; in pf_send_tcp() 4588 ip6->ip6_hlim = IPV6_DEFHLIM; in pf_change_icmp_af() 4590 ip6->ip6_hlim = pd2->ttl; in pf_change_icmp_af() 4673 } else if (ptr == PTR_IP6(ip6_hlim)) { in pf_translate_icmp_af() 4777 ptr = PTR_IP6(ip6_hlim); in pf_translate_icmp_af() 4883 ip6->ip6_hlim = pd->ttl; in pf_nat64_ipv4() 10385 pd.ttl = h->ip6_hlim; in pf_test6() 10430 pd.ttl = h->ip6_hlim; in pf_test6()
|
| /xnu-12377.1.9/tests/skywalk/ |
| H A D | skt_reass.c | 252 ip6->ip6_hlim = IPV6_DEFHLIM; in bad_fraglen_build() 326 ip6->ip6_hlim = IPV6_DEFHLIM; in timeout_build() 407 ip6->ip6_hlim = IPV6_DEFHLIM; in atomic_build() 501 ip6->ip6_hlim = IPV6_DEFHLIM; in queue_limit_build()
|
| H A D | skt_netifdirect.c | 229 ip6_hdr.ip6_hlim = IPV6_DEFHLIM; in skt_netif_ipv6_udp_frame_populate()
|
| H A D | skywalk_test_utils.c | 2425 ip6->ip6_hlim = IPV6_DEFHLIM; in sktu_create_ip6_frames()
|
| /xnu-12377.1.9/bsd/netinet/ |
| H A D | ip6.h | 128 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim macro
|
| H A D | udp_usrreq.c | 855 ip6->ip6_hlim = ip->ip_ttl; in ip_2_ip6_hdr() 3141 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in udp_fill_keepalive_offload_frames()
|
| H A D | tcp_subr.c | 690 ip6->ip6_hlim = 0; in tcp_fillheaders() 990 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, in tcp_respond() 4829 ip6->ip6_hlim = in6_selecthlim(inp, ifp); in tcp_make_keepalive_frame()
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | ip6_forward.c | 244 if (ip6->ip6_hlim <= IPV6_HLIMDEC) { in ip6_forward() 270 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6_forward()
|
| H A D | nd6_nbr.c | 302 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_ns_input() 305 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_ns_input() 680 ip6->ip6_hlim = IPV6_MAXHLIM; in nd6_ns_output() 968 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_na_input() 971 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_na_input() 1518 ip6->ip6_hlim = IPV6_MAXHLIM; in nd6_na_output()
|
| H A D | icmp6.c | 2461 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect() 2469 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect() 2472 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in icmp6_reflect() 2585 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in icmp6_redirect_input() 2589 ip6_sprintf(&src6), ip6->ip6_hlim); in icmp6_redirect_input() 2877 ip6->ip6_hlim = IPV6_MAXHLIM; in icmp6_redirect_output()
|
| H A D | in6_gif.c | 176 ip6->ip6_hlim = ip6_gif_hlim; in in6_gif_output()
|
| H A D | udp6_output.c | 472 ip6->ip6_hlim = in6_selecthlim(in6p, in6p->in6p_route.ro_rt ? in udp6_output()
|
| H A D | ip6_output.c | 1061 ip6->ip6_hlim = opt->ip6po_hlim & 0xff; in ip6_output_list() 1065 ip6->ip6_hlim = im6o->im6o_multicast_hlim; in ip6_output_list() 1068 ip6->ip6_hlim = (uint8_t)ip6_defmcasthlim; in ip6_output_list() 1422 if (ip6->ip6_hlim == 0 || (ifp->if_flags & IFF_LOOPBACK) || in ip6_output_list()
|
| H A D | ah_core.c | 855 ip6copy.ip6_hlim = 0; in ah6_calccksum()
|
| H A D | nd6_rtr.c | 266 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_rs_input() 269 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_rs_input() 414 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_ra_input() 417 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_ra_input()
|
| H A D | ipsec.c | 2440 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec6_encapsulate() 2798 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec46_encapsulate() 5272 ip6->ip6_hlim = (u_int8_t)ip6_defhlim; in ipsec_send_natt_keepalive() 5389 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in ipsec_fill_offload_frame()
|
| H A D | raw_ip6.c | 698 ip6->ip6_hlim = in6_selecthlim(in6p, oifp); in rip6_output()
|
| H A D | nd6_prproxy.c | 502 if (ip6->ip6_hlim != IPV6_MAXHLIM || ip6->ip6_nxt != IPPROTO_ICMPV6) { in nd6_prproxy_isours()
|
| H A D | ip6_input.c | 1935 int hlim = ip6->ip6_hlim & 0xff; in ip6_savecontrol_v4()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 906 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_tcp() 1048 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_quic()
|
| H A D | flow_agg.c | 1132 if (sip6->ip6_hlim != ip6->ip6_hlim) { in can_agg_slowpath() 1134 DTRACE_SKYWALK2(aggr__fail9, uint8_t, sip6->ip6_hlim, in can_agg_slowpath() 1135 uint8_t, ip6->ip6_hlim); in can_agg_slowpath()
|