/net/netfilter/ |
D | xt_hl.c | 51 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()
|
D | xt_HL.c | 79 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()
|
D | nft_chain_route.c | 73 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()
|
D | nft_fwd_netdev.c | 132 ip6h->hop_limit--; in nft_fwd_neigh_eval()
|
D | nf_flow_table_ip.c | 538 if (ip6h->hop_limit <= 1) in nf_flow_tuple_ipv6() 614 ip6h->hop_limit--; in nf_flow_offload_ipv6_hook()
|
D | nf_conntrack_proto_icmpv6.c | 137 u8 hl = ipv6_hdr(skb)->hop_limit; in nf_conntrack_icmpv6_redirect()
|
/net/ipv6/netfilter/ |
D | ip6table_mangle.c | 36 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()
|
D | nf_reject_ipv6.c | 86 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()
|
D | nf_dup_ipv6.c | 63 --iph->hop_limit; in nf_dup_ipv6()
|
/net/ipv6/ |
D | ip6_tunnel.c | 1101 u8 hop_limit; in ip6_tnl_xmit() local 1105 hop_limit = skb_tunnel_info(skb)->key.ttl; in ip6_tnl_xmit() 1108 hop_limit = t->parms.hop_limit; in ip6_tnl_xmit() 1236 if (hop_limit == 0) { in ip6_tnl_xmit() 1238 hop_limit = ip_hdr(skb)->ttl; in ip6_tnl_xmit() 1240 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6_tnl_xmit() 1242 hop_limit = ip6_dst_hoplimit(dst); in ip6_tnl_xmit() 1267 ipv6h->hop_limit = hop_limit; in ip6_tnl_xmit() 1533 t->parms.hop_limit = p->hop_limit; in ip6_tnl_change() 1572 p->hop_limit = u->hop_limit; in ip6_tnl_parm_from_user() [all …]
|
D | output_core.c | 120 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit() 122 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
|
D | exthdrs.c | 465 if (ipv6_hdr(skb)->hop_limit <= 1) { in ipv6_srh_rcv() 472 ipv6_hdr(skb)->hop_limit--; in ipv6_srh_rcv() 647 if (ipv6_hdr(skb)->hop_limit <= 1) { in ipv6_rpl_srh_rcv() 654 ipv6_hdr(skb)->hop_limit--; in ipv6_rpl_srh_rcv() 837 if (ipv6_hdr(skb)->hop_limit <= 1) { in ipv6_rthdr_rcv() 844 ipv6_hdr(skb)->hop_limit--; in ipv6_rthdr_rcv()
|
D | ndisc.c | 445 int hop_limit, int len) in ip6_nd_hdr() argument 464 hdr->hop_limit = hop_limit; in ip6_nd_hdr() 503 ip6_nd_hdr(skb, saddr, daddr, inet6_sk(sk)->hop_limit, skb->len); in ndisc_send_skb() 1359 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in ndisc_router_discovery() 1766 if (ipv6_hdr(skb)->hop_limit != 255) { in ndisc_rcv() 1768 ipv6_hdr(skb)->hop_limit); in ndisc_rcv() 1924 np->hop_limit = 255; in ndisc_net_init()
|
D | seg6_iptunnel.c | 158 hdr->hop_limit = inner_hdr->hop_limit; in seg6_do_srh_encap() 161 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap()
|
D | ip6_gre.c | 1205 t->parms.hop_limit = p->hop_limit; in ip6gre_tnl_copy_tnl_parm() 1236 p->hop_limit = u->hop_limit; in ip6gre_tnl_parm_from_user() 1254 u->hop_limit = p->hop_limit; in ip6gre_tnl_parm_to_user() 1389 ipv6h->hop_limit = t->parms.hop_limit; in ip6gre_header() 1820 parms->hop_limit = nla_get_u8(data[IFLA_GRE_TTL]); in ip6gre_netlink_parms() 2180 nla_put_u8(skb, IFLA_GRE_TTL, p->hop_limit) || in ip6gre_fill_info()
|
D | ip6_output.c | 96 if (hdr->hop_limit == 0) { in ip6_finish_output2() 298 hlimit = np->hop_limit; in ip6_xmit() 307 hdr->hop_limit = hlimit; in ip6_xmit() 523 if (hdr->hop_limit <= 1) { in ip6_forward() 632 hdr->hop_limit--; in ip6_forward() 1422 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork() 1908 hdr->hop_limit = v6_cork->hop_limit; in __ip6_make_skb()
|
D | ip6_udp_tunnel.c | 105 ip6h->hop_limit = ttl; in udp_tunnel6_xmit_skb()
|
D | ah6.c | 407 top_iph->hop_limit = 0; in ah6_output() 599 ip6h->hop_limit = 0; in ah6_input()
|
D | ipv6_sockglue.c | 740 np->hop_limit = val; in do_ipv6_setsockopt() 1340 val = np->hop_limit; in do_ipv6_getsockopt() 1353 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
|
D | ioam6.c | 647 byte = ipv6_hdr(skb)->hop_limit; in __ioam6_fill_trace_data() 732 byte = ipv6_hdr(skb)->hop_limit; in __ioam6_fill_trace_data()
|
/net/xfrm/ |
D | xfrm_inout.h | 32 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()
|
/net/6lowpan/ |
D | iphc.c | 652 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()
|
/net/openvswitch/ |
D | actions.c | 459 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask); in set_ipv6_ttl() 462 csum_replace(&skb->csum, (__force __wsum)(nh->hop_limit << 8), in set_ipv6_ttl() 464 nh->hop_limit = new_ttl; in set_ipv6_ttl() 593 flow_key->ip.ttl = nh->hop_limit; in set_ipv6() 1251 if (nh->hop_limit <= 1) in execute_dec_ttl() 1254 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
|
/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 267 if (ipv6_hdr(skb)->hop_limit <= 1) { in decrement_ttl() 283 ipv6_hdr(skb)->hop_limit--; in decrement_ttl() 980 *ttl = old_ipv6h->hop_limit; in ip_vs_prepare_tunneled_skb() 1408 iph->hop_limit = ttl; in ip_vs_tunnel_xmit_v6()
|
/net/mpls/ |
D | mpls_iptunnel.c | 94 ttl = ipv6_hdr(skb)->hop_limit; in mpls_xmit()
|