Home
last modified time | relevance | path

Searched refs:hop_limit (Results 1 – 25 of 150) sorted by relevance

123456

/linux-6.1.9/net/netfilter/
Dxt_hl.c51 return ip6h->hop_limit == info->hop_limit; in hl_mt6()
53 return ip6h->hop_limit != info->hop_limit; in hl_mt6()
55 return ip6h->hop_limit < info->hop_limit; in hl_mt6()
57 return ip6h->hop_limit > info->hop_limit; in hl_mt6()
Dxt_HL.c79 new_hl = info->hop_limit; in hl_tg6()
82 new_hl = ip6h->hop_limit + info->hop_limit; in hl_tg6()
87 new_hl = ip6h->hop_limit - info->hop_limit; in hl_tg6()
92 new_hl = ip6h->hop_limit; in hl_tg6()
96 ip6h->hop_limit = new_hl; in hl_tg6()
118 if (info->mode != IP6T_HL_SET && info->hop_limit == 0) in hl_tg6_check()
Dnft_chain_route.c73 u8 hop_limit; in nf_route_table_hook6() local
83 hop_limit = ipv6_hdr(skb)->hop_limit; in nf_route_table_hook6()
93 ipv6_hdr(skb)->hop_limit != hop_limit || in nf_route_table_hook6()
/linux-6.1.9/net/ipv6/netfilter/
Dip6table_mangle.c36 u_int8_t hop_limit; in ip6t_mangle_out() local
44 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6t_mangle_out()
55 ipv6_hdr(skb)->hop_limit != hop_limit || in ip6t_mangle_out()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_marshall.c88 dst->grh.hop_limit = grh->hop_limit; in ib_copy_ah_attr_to_user()
146 dst->hop_limit = src->hop_limit; in __ib_copy_path_rec_to_user()
198 dst->hop_limit = src->hop_limit; in ib_copy_path_rec_from_user()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_av.c53 av->grh.hop_limit = grh->hop_limit; in rxe_av_from_attr()
67 grh->hop_limit = av->grh.hop_limit; in rxe_av_to_attr()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_ah.c71 ah->av.hop_limit = grh->hop_limit; in hns_roce_create_ah()
103 ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); in hns_roce_query_ah()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dah.c58 ah->av.ib.hop_limit = grh->hop_limit; in create_ib_ah()
121 ah->av.eth.hop_limit = grh->hop_limit; in create_iboe_ah()
228 ah->av.ib.hop_limit, in mlx4_ib_query_ah()
/linux-6.1.9/include/trace/events/
Dib_umad.h34 __field(u8, hop_limit)
68 __entry->hop_limit = umad_hdr->hop_limit;
97 __entry->gid_index, __entry->hop_limit,
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_av.c64 u8 hop_limit; member
214 av->hop_limit = grh->hop_limit; in mthca_create_ah()
283 header->grh.hop_limit = ah->av->hop_limit; in mthca_read_ah()
318 ah->av->hop_limit, in mthca_ah_query()
/linux-6.1.9/include/uapi/linux/
Dip6_tunnel.h32 __u8 hop_limit; /* hop limit for tunnel */ member
44 __u8 hop_limit; /* hop limit for tunnel */ member
Dicmpv6.h43 __u8 hop_limit; member
76 #define icmp6_hop_limit icmp6_dataun.u_nd_ra.hop_limit
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dah.c66 ah->av.hop_limit = grh->hop_limit; in create_ib_ah()
140 ah->av.hop_limit, in mlx5_ib_query_ah()
/linux-6.1.9/include/linux/
Dipv6.h14 __s32 hop_limit; member
198 u8 hop_limit; member
226 __s16 hop_limit:9; member
230 __s16 hop_limit:9; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_mad.h86 __u8 hop_limit; member
130 __u8 hop_limit; member
Dib_user_sa.h65 __u8 hop_limit; member
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c260 dst->hop_limit = src->hop_limit; in pvrdma_global_route_to_ib()
270 dst->hop_limit = src->hop_limit; in ib_global_route_to_pvrdma()
/linux-6.1.9/net/xfrm/
Dxfrm_inout.h32 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header()
52 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header()
/linux-6.1.9/net/ipv6/
Dip6_tunnel.c1085 u8 hop_limit; in ip6_tnl_xmit() local
1091 hop_limit = skb_tunnel_info(skb)->key.ttl; in ip6_tnl_xmit()
1094 hop_limit = t->parms.hop_limit; in ip6_tnl_xmit()
1230 if (hop_limit == 0) { in ip6_tnl_xmit()
1232 hop_limit = ip_hdr(skb)->ttl; in ip6_tnl_xmit()
1234 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6_tnl_xmit()
1236 hop_limit = ip6_dst_hoplimit(dst); in ip6_tnl_xmit()
1261 ipv6h->hop_limit = hop_limit; in ip6_tnl_xmit()
1527 t->parms.hop_limit = p->hop_limit; in ip6_tnl_change()
1562 p->hop_limit = u->hop_limit; in ip6_tnl_parm_from_user()
[all …]
Doutput_core.c120 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit()
122 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
Dseg6_iptunnel.c160 hdr->hop_limit = inner_hdr->hop_limit; in seg6_do_srh_encap()
163 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap()
249 hdr->hop_limit = inner_hdr->hop_limit; in seg6_do_srh_encap_red()
252 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap_red()
/linux-6.1.9/samples/bpf/
Dxdp_fwd_kern.c87 if (ip6h->hop_limit <= 1) in xdp_fwd_flags()
136 ip6h->hop_limit--; in xdp_fwd_flags()
/linux-6.1.9/include/uapi/linux/netfilter_ipv6/
Dip6t_hl.h21 __u8 hop_limit; member
Dip6t_HL.h21 __u8 hop_limit; member
/linux-6.1.9/net/6lowpan/
Diphc.c652 hdr.hop_limit = lowpan_ttl_values[iphc0 & LOWPAN_IPHC_HLIM_MASK]; in lowpan_header_decompress()
654 if (lowpan_fetch_skb(skb, &hdr.hop_limit, in lowpan_header_decompress()
655 sizeof(hdr.hop_limit))) in lowpan_header_decompress()
770 hdr.hop_limit, &hdr.daddr); in lowpan_header_decompress()
1149 hdr->hop_limit, &hdr->daddr); in lowpan_header_compress()
1212 switch (hdr->hop_limit) { in lowpan_header_compress()
1223 lowpan_push_hc_data(&hc_ptr, &hdr->hop_limit, in lowpan_header_compress()
1224 sizeof(hdr->hop_limit)); in lowpan_header_compress()

123456