| /xnu-8792.41.9/bsd/net/ |
| H A D | nat464_utils.c | 321 } else if (ptr == PTR_IP6(ip6_hlim)) { in nat464_translate_icmp() 432 ptr = PTR_IP6(ip6_hlim); in nat464_translate_icmp() 547 ip6->ip6_hlim = IPV6_DEFHLIM; in nat464_translate_icmp_ip() 549 ip6->ip6_hlim = ttl2; in nat464_translate_icmp_ip() 749 ip6->ip6_hlim = ttl; in nat464_translate_46() 1030 &hlen2, iph2->ip6_nxt, iph2->ip6_hlim, tot_len2, in nat464_translate_proto()
|
| H A D | pf_norm.c | 2427 if (r->min_ttl && h->ip6_hlim < r->min_ttl) { in pf_normalize_ip6() 2428 h->ip6_hlim = r->min_ttl; in pf_normalize_ip6() 2563 if (r->min_ttl && h->ip6_hlim < r->min_ttl) { in pf_normalize_ip6() 2564 h->ip6_hlim = r->min_ttl; in pf_normalize_ip6() 2779 src->scrub->pfss_ttl = h->ip6_hlim; in pf_normalize_tcp_init() 2885 if (h->ip6_hlim > src->scrub->pfss_ttl) { in pf_normalize_tcp_stateful() 2886 src->scrub->pfss_ttl = h->ip6_hlim; in pf_normalize_tcp_stateful() 2888 h->ip6_hlim = src->scrub->pfss_ttl; in pf_normalize_tcp_stateful()
|
| H A D | pf_osfp.c | 146 fp.fp_ttl = ip6->ip6_hlim; in pf_osfp_fingerprint_hdr()
|
| H A D | pf.c | 2788 h6->ip6_hlim = IPV6_DEFHLIM; in pf_send_tcp() 4548 ip6->ip6_hlim = IPV6_DEFHLIM; in pf_change_icmp_af() 4550 ip6->ip6_hlim = pd2->ttl; in pf_change_icmp_af() 4633 } else if (ptr == PTR_IP6(ip6_hlim)) { in pf_translate_icmp_af() 4737 ptr = PTR_IP6(ip6_hlim); in pf_translate_icmp_af() 4843 ip6->ip6_hlim = pd->ttl; in pf_nat64_ipv4() 10329 pd.ttl = h->ip6_hlim; in pf_test6() 10374 pd.ttl = h->ip6_hlim; in pf_test6()
|
| H A D | dlil.c | 7391 ip6h->ip6_hlim, src, *dst, tot_len, &is_first_frag) == NT_NAT64) ? in dlil_clat64()
|
| /xnu-8792.41.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 | 787 ip6->ip6_hlim = ip->ip_ttl; in ip_2_ip6_hdr() 3033 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in udp_fill_keepalive_offload_frames()
|
| H A D | tcp_subr.c | 671 ip6->ip6_hlim = 0; in tcp_fillheaders() 892 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, in tcp_respond() 3945 ip6->ip6_hlim = in6_selecthlim(inp, ifp); in tcp_make_keepalive_frame()
|
| H A D | tcp_output.c | 2793 ip6->ip6_hlim = in6_selecthlim(inp, inp->in6p_route.ro_rt ? in tcp_output()
|
| /xnu-8792.41.9/bsd/netinet6/ |
| H A D | ip6_forward.c | 241 if (ip6->ip6_hlim <= IPV6_HLIMDEC) { in ip6_forward() 267 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6_forward()
|
| H A D | nd6_nbr.c | 293 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_ns_input() 296 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_ns_input() 658 ip6->ip6_hlim = IPV6_MAXHLIM; in nd6_ns_output() 942 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_na_input() 945 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_na_input() 1477 ip6->ip6_hlim = IPV6_MAXHLIM; in nd6_na_output()
|
| H A D | icmp6.c | 2456 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect() 2464 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect() 2467 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in icmp6_reflect() 2581 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in icmp6_redirect_input() 2585 ip6_sprintf(&src6), ip6->ip6_hlim); in icmp6_redirect_input() 2876 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 | 435 ip6->ip6_hlim = in6_selecthlim(in6p, in6p->in6p_route.ro_rt ? in udp6_output()
|
| H A D | ip6_output.c | 1022 ip6->ip6_hlim = opt->ip6po_hlim & 0xff; in ip6_output_list() 1026 ip6->ip6_hlim = im6o->im6o_multicast_hlim; in ip6_output_list() 1029 ip6->ip6_hlim = (uint8_t)ip6_defmcasthlim; in ip6_output_list() 1366 if (ip6->ip6_hlim == 0 || (ifp->if_flags & IFF_LOOPBACK) || in ip6_output_list()
|
| H A D | nd6_rtr.c | 263 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_rs_input() 266 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_rs_input() 398 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in nd6_ra_input() 401 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), in nd6_ra_input()
|
| H A D | raw_ip6.c | 685 ip6->ip6_hlim = in6_selecthlim(in6p, oifp); in rip6_output()
|
| H A D | nd6_prproxy.c | 501 if (ip6->ip6_hlim != IPV6_MAXHLIM || ip6->ip6_nxt != IPPROTO_ICMPV6) { in nd6_prproxy_isours()
|
| H A D | ah_core.c | 1536 ip6copy.ip6_hlim = 0; in ah6_calccksum()
|
| H A D | ipsec.c | 2451 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec6_encapsulate() 2811 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec46_encapsulate() 4990 ip6->ip6_hlim = (u_int8_t)ip6_defhlim; in ipsec_send_natt_keepalive()
|
| H A D | ip6_input.c | 1884 int hlim = ip6->ip6_hlim & 0xff; in ip6_savecontrol_v4()
|
| /xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 886 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_tcp() 1027 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_quic()
|
| H A D | flow_agg.c | 1102 if (sip6->ip6_hlim != ip6->ip6_hlim) { in can_agg_slowpath() 1104 DTRACE_SKYWALK2(aggr__fail9, uint8_t, sip6->ip6_hlim, in can_agg_slowpath() 1105 uint8_t, ip6->ip6_hlim); in can_agg_slowpath()
|