Home
last modified time | relevance | path

Searched refs:ip6_hlim (Results 1 – 25 of 26) sorted by relevance

12

/xnu-12377.1.9/bsd/net/
H A Dnat464_utils.c333 } 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 Dpf_norm.c2428 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 Dpf_osfp.c149 fp.fp_ttl = ip6->ip6_hlim; in pf_osfp_fingerprint_hdr()
H A Ddlil_subr.c936 ip6h->ip6_hlim, src, *dst, tot_len, &is_first_frag) == NT_NAT64) ? in dlil_clat64()
H A Dpf.c2829 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 Dskt_reass.c252 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 Dskt_netifdirect.c229 ip6_hdr.ip6_hlim = IPV6_DEFHLIM; in skt_netif_ipv6_udp_frame_populate()
H A Dskywalk_test_utils.c2425 ip6->ip6_hlim = IPV6_DEFHLIM; in sktu_create_ip6_frames()
/xnu-12377.1.9/bsd/netinet/
H A Dip6.h128 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim macro
H A Dudp_usrreq.c855 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 Dtcp_subr.c690 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 Dip6_forward.c244 if (ip6->ip6_hlim <= IPV6_HLIMDEC) { in ip6_forward()
270 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6_forward()
H A Dnd6_nbr.c302 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 Dicmp6.c2461 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 Din6_gif.c176 ip6->ip6_hlim = ip6_gif_hlim; in in6_gif_output()
H A Dudp6_output.c472 ip6->ip6_hlim = in6_selecthlim(in6p, in6p->in6p_route.ro_rt ? in udp6_output()
H A Dip6_output.c1061 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 Dah_core.c855 ip6copy.ip6_hlim = 0; in ah6_calccksum()
H A Dnd6_rtr.c266 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 Dipsec.c2440 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 Draw_ip6.c698 ip6->ip6_hlim = in6_selecthlim(in6p, oifp); in rip6_output()
H A Dnd6_prproxy.c502 if (ip6->ip6_hlim != IPV6_MAXHLIM || ip6->ip6_nxt != IPPROTO_ICMPV6) { in nd6_prproxy_isours()
H A Dip6_input.c1935 int hlim = ip6->ip6_hlim & 0xff; in ip6_savecontrol_v4()
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c906 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_tcp()
1048 ip6->ip6_hlim = IPV6_DEFHLIM; in flow_track_abort_quic()
H A Dflow_agg.c1132 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()

12