Lines Matching refs:ttl
56 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()
96 if (act->mpls_mangle.ttl) { in nfp_fl_set_mpls()
97 mpls_lse |= act->mpls_mangle.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_set_mpls()
448 if (ip_tun->key.ttl) { in nfp_fl_set_tun()
449 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun()
460 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun()
463 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
481 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun()
484 set_tun->ttl = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in nfp_fl_set_tun()
549 __u8 ttl; member
592 case offsetof(struct iphdr, ttl): in nfp_fl_set_ip4()
601 set_ip_ttl_tos->ipv4_ttl_mask |= ttl_word_mask->ttl; in nfp_fl_set_ip4()
602 set_ip_ttl_tos->ipv4_ttl &= ~ttl_word_mask->ttl; in nfp_fl_set_ip4()
603 set_ip_ttl_tos->ipv4_ttl |= ttl_word->ttl & ttl_word_mask->ttl; in nfp_fl_set_ip4()