/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 | nf_flow_table_ip.c | 446 if (ip6h->hop_limit <= 1) in nf_flow_tuple_ipv6() 516 ip6h->hop_limit--; in nf_flow_offload_ipv6_hook()
|
D | nft_fwd_netdev.c | 132 ip6h->hop_limit--; in nft_fwd_neigh_eval()
|
/net/ipv6/netfilter/ |
D | ip6table_mangle.c | 39 u_int8_t hop_limit; in ip6t_mangle_out() local 47 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6t_mangle_out() 58 ipv6_hdr(skb)->hop_limit != hop_limit || in ip6t_mangle_out()
|
D | nf_dup_ipv6.c | 63 --iph->hop_limit; in nf_dup_ipv6()
|
D | nf_reject_ipv6.c | 76 ip6h->hop_limit = hoplimit; in nf_reject_ip6hdr_put()
|
/net/ipv6/ |
D | ip6_tunnel.c | 1055 u8 hop_limit; in ip6_tnl_xmit() local 1059 hop_limit = skb_tunnel_info(skb)->key.ttl; in ip6_tnl_xmit() 1062 hop_limit = t->parms.hop_limit; in ip6_tnl_xmit() 1190 if (hop_limit == 0) { in ip6_tnl_xmit() 1192 hop_limit = ip_hdr(skb)->ttl; in ip6_tnl_xmit() 1194 hop_limit = ipv6_hdr(skb)->hop_limit; in ip6_tnl_xmit() 1196 hop_limit = ip6_dst_hoplimit(dst); in ip6_tnl_xmit() 1221 ipv6h->hop_limit = hop_limit; in ip6_tnl_xmit() 1503 t->parms.hop_limit = p->hop_limit; in ip6_tnl_change() 1542 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 | seg6_iptunnel.c | 140 hdr->hop_limit = inner_hdr->hop_limit; in seg6_do_srh_encap() 143 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap()
|
D | xfrm6_state.c | 32 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header()
|
D | ndisc.c | 443 int hop_limit, int len) in ip6_nd_hdr() argument 462 hdr->hop_limit = hop_limit; in ip6_nd_hdr() 501 ip6_nd_hdr(skb, saddr, daddr, inet6_sk(sk)->hop_limit, skb->len); in ndisc_send_skb() 1344 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in ndisc_router_discovery() 1738 if (ipv6_hdr(skb)->hop_limit != 255) { in ndisc_rcv() 1740 ipv6_hdr(skb)->hop_limit); in ndisc_rcv() 1895 np->hop_limit = 255; in ndisc_net_init()
|
D | ip6_gre.c | 1195 t->parms.hop_limit = p->hop_limit; in ip6gre_tnl_copy_tnl_parm() 1226 p->hop_limit = u->hop_limit; in ip6gre_tnl_parm_from_user() 1244 u->hop_limit = p->hop_limit; in ip6gre_tnl_parm_to_user() 1378 ipv6h->hop_limit = t->parms.hop_limit; in ip6gre_header() 1809 parms->hop_limit = nla_get_u8(data[IFLA_GRE_TTL]); in ip6gre_netlink_parms() 2169 nla_put_u8(skb, IFLA_GRE_TTL, p->hop_limit) || in ip6gre_fill_info()
|
D | ip6_output.c | 112 if (ipv6_hdr(skb)->hop_limit == 0) { in ip6_finish_output2() 319 hlimit = np->hop_limit; in ip6_xmit() 328 hdr->hop_limit = hlimit; in ip6_xmit() 544 if (hdr->hop_limit <= 1) { in ip6_forward() 641 hdr->hop_limit--; in ip6_forward() 1363 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork() 1850 hdr->hop_limit = v6_cork->hop_limit; in __ip6_make_skb()
|
D | exthdrs.c | 452 if (ipv6_hdr(skb)->hop_limit <= 1) { in ipv6_srh_rcv() 459 ipv6_hdr(skb)->hop_limit--; in ipv6_srh_rcv() 635 if (ipv6_hdr(skb)->hop_limit <= 1) { in ipv6_rthdr_rcv() 642 ipv6_hdr(skb)->hop_limit--; in ipv6_rthdr_rcv()
|
D | ip6_udp_tunnel.c | 110 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 | 560 np->hop_limit = val; in do_ipv6_setsockopt() 1265 val = np->hop_limit; in do_ipv6_getsockopt() 1278 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
|
/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/xfrm/ |
D | xfrm_inout.h | 20 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header()
|
/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 209 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_tcp_reset() 274 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_unreach()
|
/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() 986 *ttl = old_ipv6h->hop_limit; in ip_vs_prepare_tunneled_skb() 1414 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()
|
/net/openvswitch/ |
D | actions.c | 463 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask); in set_ipv6_ttl() 466 csum_replace(&skb->csum, (__force __wsum)(nh->hop_limit << 8), in set_ipv6_ttl() 468 nh->hop_limit = new_ttl; in set_ipv6_ttl() 597 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
|