Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/net/
H A Dsixxlowpan.c605 hdrbuf[PACKETBUF_HC1_TTL] = ip6->ip6_hlim; in compress_hdr_hc1()
613 hdrbuf[PACKETBUF_HC1_TTL] = ip6->ip6_hlim; in compress_hdr_hc1()
636 hdrbuf[PACKETBUF_HC1_HC_UDP_TTL] = ip6->ip6_hlim; in compress_hdr_hc1()
648 hdrbuf[PACKETBUF_HC1_TTL] = ip6->ip6_hlim; in compress_hdr_hc1()
709 ip6->ip6_hlim = payload[PACKETBUF_HC1_TTL]; in uncompress_hdr_hc1()
715 ip6->ip6_hlim = payload[PACKETBUF_HC1_TTL]; in uncompress_hdr_hc1()
732 ip6->ip6_hlim = payload[PACKETBUF_HC1_HC_UDP_TTL]; in uncompress_hdr_hc1()
743 ip6->ip6_hlim = payload[PACKETBUF_HC1_TTL]; in uncompress_hdr_hc1()
H A Dnat464_utils.c321 } 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 Dpf_norm.c2427 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 Dpf_osfp.c146 fp.fp_ttl = ip6->ip6_hlim; in pf_osfp_fingerprint_hdr()
H A Dpf.c2731 h6->ip6_hlim = IPV6_DEFHLIM; in pf_send_tcp()
4470 ip6->ip6_hlim = IPV6_DEFHLIM; in pf_change_icmp_af()
4472 ip6->ip6_hlim = pd2->ttl; in pf_change_icmp_af()
4555 } else if (ptr == PTR_IP6(ip6_hlim)) { in pf_translate_icmp_af()
4659 ptr = PTR_IP6(ip6_hlim); in pf_translate_icmp_af()
4765 ip6->ip6_hlim = pd->ttl; in pf_nat64_ipv4()
10199 pd.ttl = h->ip6_hlim; in pf_test6()
10244 pd.ttl = h->ip6_hlim; in pf_test6()
H A Ddlil.c7168 ip6h->ip6_hlim, src, *dst, tot_len, &is_first_frag) == NT_NAT64) ? in dlil_clat64()
/xnu-8020.101.4/bsd/netinet/
H A Dip6.h128 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim macro
H A Dudp_usrreq.c782 ip6->ip6_hlim = ip->ip_ttl; in ip_2_ip6_hdr()
3023 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in udp_fill_keepalive_offload_frames()
H A Dtcp_subr.c658 ip6->ip6_hlim = 0; in tcp_fillheaders()
879 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, in tcp_respond()
3927 ip6->ip6_hlim = in6_selecthlim(inp, ifp); in tcp_make_keepalive_frame()
H A Dtcp_output.c2560 ip6->ip6_hlim = in6_selecthlim(inp, inp->in6p_route.ro_rt ? in tcp_output()
/xnu-8020.101.4/bsd/netinet6/
H A Dip6_forward.c241 if (ip6->ip6_hlim <= IPV6_HLIMDEC) { in ip6_forward()
267 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6_forward()
H A Dnd6_nbr.c293 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()
1470 ip6->ip6_hlim = IPV6_MAXHLIM; in nd6_na_output()
H A Dicmp6.c2431 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect()
2439 ip6->ip6_hlim = ndi->chlim; in icmp6_reflect()
2442 ip6->ip6_hlim = (uint8_t)ip6_defhlim; in icmp6_reflect()
2556 if (ip6->ip6_hlim != IPV6_MAXHLIM) { in icmp6_redirect_input()
2560 ip6_sprintf(&src6), ip6->ip6_hlim); in icmp6_redirect_input()
2851 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.c434 ip6->ip6_hlim = in6_selecthlim(in6p, in6p->in6p_route.ro_rt ? in udp6_output()
H A Dip6_output.c1022 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 Dnd6_rtr.c263 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 Draw_ip6.c674 ip6->ip6_hlim = in6_selecthlim(in6p, oifp); in rip6_output()
H A Dnd6_prproxy.c501 if (ip6->ip6_hlim != IPV6_MAXHLIM || ip6->ip6_nxt != IPPROTO_ICMPV6) { in nd6_prproxy_isours()
H A Dah_core.c1536 ip6copy.ip6_hlim = 0; in ah6_calccksum()
H A Dipsec.c2451 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec6_encapsulate()
2810 ip6->ip6_hlim = IPV6_DEFHLIM; in ipsec46_encapsulate()
4979 ip6->ip6_hlim = (u_int8_t)ip6_defhlim; in ipsec_send_natt_keepalive()
H A Dip6_input.c1884 int hlim = ip6->ip6_hlim & 0xff; in ip6_savecontrol_v4()
/xnu-8020.101.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1051 if (sip6->ip6_hlim != ip6->ip6_hlim) { in can_agg_slowpath()
1053 DTRACE_SKYWALK2(aggr__fail9, uint8_t, sip6->ip6_hlim, in can_agg_slowpath()
1054 uint8_t, ip6->ip6_hlim); in can_agg_slowpath()
/xnu-8020.101.4/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c3809 ip6->ip6_hlim = IPV6_DEFHLIM; in fsw_flow_abort_tcp()
3953 ip6->ip6_hlim = IPV6_DEFHLIM; in fsw_flow_abort_quic()