Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/net/netfilter/
A 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()
A 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()
A 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.3-rc2/net/ipv6/netfilter/
A 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.3-rc2/drivers/infiniband/core/
A 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.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_ah.c70 ah->av.hop_limit = grh->hop_limit; in hns_roce_create_ah()
102 ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); in hns_roce_query_ah()
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A 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.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_av.c82 av->grh.hop_limit = grh->hop_limit; in rxe_av_from_attr()
96 grh->hop_limit = av->grh.hop_limit; in rxe_av_to_attr()
/linux-6.3-rc2/include/trace/events/
A Dib_umad.h34 __field(u8, hop_limit)
68 __entry->hop_limit = umad_hdr->hop_limit;
97 __entry->gid_index, __entry->hop_limit,
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A 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.3-rc2/include/uapi/linux/
A Dip6_tunnel.h32 __u8 hop_limit; /* hop limit for tunnel */ member
44 __u8 hop_limit; /* hop limit for tunnel */ member
A Dicmpv6.h43 __u8 hop_limit; member
76 #define icmp6_hop_limit icmp6_dataun.u_nd_ra.hop_limit
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A 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.3-rc2/include/linux/
A 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.3-rc2/include/uapi/rdma/
A Dib_user_mad.h86 __u8 hop_limit; member
130 __u8 hop_limit; member
A Dib_user_sa.h65 __u8 hop_limit; member
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A 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.3-rc2/net/xfrm/
A 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.3-rc2/net/ipv6/
A Dip6_tunnel.c1084 u8 hop_limit; in ip6_tnl_xmit() local
1090 hop_limit = skb_tunnel_info(skb)->key.ttl; in ip6_tnl_xmit()
1093 hop_limit = t->parms.hop_limit; in ip6_tnl_xmit()
1229 if (hop_limit == 0) { in ip6_tnl_xmit()
1231 hop_limit = ip_hdr(skb)->ttl; in ip6_tnl_xmit()
1233 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6_tnl_xmit()
1235 hop_limit = ip6_dst_hoplimit(dst); in ip6_tnl_xmit()
1260 ipv6h->hop_limit = hop_limit; in ip6_tnl_xmit()
1525 t->parms.hop_limit = p->hop_limit; in ip6_tnl_change()
1560 p->hop_limit = u->hop_limit; in ip6_tnl_parm_from_user()
[all …]
A Doutput_core.c114 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit()
116 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
A 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.3-rc2/samples/bpf/
A Dxdp_fwd_kern.c87 if (ip6h->hop_limit <= 1) in xdp_fwd_flags()
136 ip6h->hop_limit--; in xdp_fwd_flags()
/linux-6.3-rc2/include/uapi/linux/netfilter_ipv6/
A Dip6t_hl.h21 __u8 hop_limit; member
A Dip6t_HL.h21 __u8 hop_limit; member
/linux-6.3-rc2/net/6lowpan/
A 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()

Completed in 48 milliseconds

1234567