Home
last modified time | relevance | path

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

123456

/linux/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/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()
A Dnf_reject_ipv6.c86 net->ipv6.devconf_all->hop_limit); in nf_reject_skb_v6_tcp_reset()
127 net->ipv6.devconf_all->hop_limit); in nf_reject_skb_v6_unreach()
210 ip6h->hop_limit = hoplimit; in nf_reject_ip6hdr_put()
/linux/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/drivers/infiniband/sw/rxe/
A 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/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/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/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/drivers/infiniband/hw/hns/
A Dhns_roce_ah.c73 ah->av.hop_limit = grh->hop_limit; in hns_roce_create_ah()
105 ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); in hns_roce_query_ah()
/linux/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/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/include/linux/
A Dipv6.h14 __s32 hop_limit; member
196 u8 hop_limit; member
224 __s16 hop_limit:9; member
228 __s16 hop_limit:9; member
/linux/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/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/net/ipv6/
A Dip6_tunnel.c1091 u8 hop_limit; in ip6_tnl_xmit() local
1095 hop_limit = skb_tunnel_info(skb)->key.ttl; in ip6_tnl_xmit()
1098 hop_limit = t->parms.hop_limit; in ip6_tnl_xmit()
1226 if (hop_limit == 0) { in ip6_tnl_xmit()
1228 hop_limit = ip_hdr(skb)->ttl; in ip6_tnl_xmit()
1230 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6_tnl_xmit()
1232 hop_limit = ip6_dst_hoplimit(dst); in ip6_tnl_xmit()
1257 ipv6h->hop_limit = hop_limit; in ip6_tnl_xmit()
1522 t->parms.hop_limit = p->hop_limit; in ip6_tnl_change()
1561 p->hop_limit = u->hop_limit; in ip6_tnl_parm_from_user()
[all …]
A 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()
/linux/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/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()
/linux/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/include/uapi/linux/netfilter_ipv6/
A Dip6t_hl.h21 __u8 hop_limit; member
A Dip6t_HL.h21 __u8 hop_limit; member

Completed in 32 milliseconds

123456