/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | mirror_gre.sh | 21 ttl 100 tos inherit allow-localremote \ 48 ttl 100 tos inherit allow-localremote 120 ip link set dev $tundev type $type ttl inherit 124 ip link set dev $tundev type $type ttl 100
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | nfnetlink_osf.h | 51 __u32 ttl; member 57 __u8 ttl, df; member
|
/openbmc/linux/net/ipv4/ |
H A D | inetpeer.c | 146 __u32 delta, ttl; in inet_peer_gc() local 154 ttl = 0; /* be aggressive */ in inet_peer_gc() 156 ttl = peer_maxttl - (peer_maxttl - peer_minttl) / HZ * in inet_peer_gc() 166 if (delta < ttl || !refcount_dec_if_one(&p->refcnt)) in inet_peer_gc()
|
H A D | ah4.c | 136 top_iph->ttl = iph->ttl; in ah_output_done() 195 iph->ttl = top_iph->ttl; in ah_output() 212 top_iph->ttl = 0; in ah_output() 252 top_iph->ttl = iph->ttl; in ah_output() 386 iph->ttl = 0; in ah_input()
|
H A D | ip_output.c | 138 int ttl = READ_ONCE(inet->uc_ttl); in ip_select_ttl() local 140 if (ttl < 0) in ip_select_ttl() 141 ttl = ip4_dst_hoplimit(dst); in ip_select_ttl() 142 return ttl; in ip_select_ttl() 406 if (ip_hdr(skb)->ttl == 0) { in ip_mc_output() 1319 cork->ttl = ipc->ttl; in ip_setup_cork() 1393 __u8 ttl; in __ip_make_skb() local 1432 if (cork->ttl != 0) in __ip_make_skb() 1433 ttl = cork->ttl; in __ip_make_skb() 1435 ttl = inet->mc_ttl; in __ip_make_skb() [all …]
|
H A D | ip_tunnel_core.c | 52 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit() argument 79 iph->ttl = ttl; in iptunnel_xmit() 238 .ttl = iph->ttl, in iptunnel_pmtud_build_icmp() 703 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP_TTL]); in ip_tun_build_state() 848 nla_put_u8(skb, LWTUNNEL_IP_TTL, tun_info->key.ttl) || in ip_tun_fill_encap_info() 982 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP6_HOPLIMIT]); in ip6_tun_build_state() 1010 nla_put_u8(skb, LWTUNNEL_IP6_HOPLIMIT, tun_info->key.ttl) || in ip6_tun_fill_encap_info() 1131 parms->iph.ttl = nla_get_u8(data[IFLA_IPTUN_TTL]); in ip_tunnel_netlink_parms() 1132 if (parms->iph.ttl) in ip_tunnel_netlink_parms()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 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() 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() 549 __u8 ttl; member 592 case offsetof(struct iphdr, ttl): in nfp_fl_set_ip4() 602 set_ip_ttl_tos->ipv4_ttl &= ~ttl_word_mask->ttl; in nfp_fl_set_ip4() [all …]
|
H A D | match.c | 230 tmp = match.key->ttl & match.mask->ttl; in nfp_flower_compile_ip_ext() 231 ext->ttl |= tmp & (~msk->ttl); in nfp_flower_compile_ip_ext() 232 msk->ttl |= match.mask->ttl; in nfp_flower_compile_ip_ext() 447 ext->ttl |= match.key->ttl & match.mask->ttl; in nfp_flower_compile_tun_ip_ext() 449 msk->ttl |= match.mask->ttl; in nfp_flower_compile_tun_ip_ext()
|
/openbmc/linux/net/openvswitch/ |
H A D | actions.c | 475 nh->ttl = new_ttl; in set_ip_ttl() 519 flow_key->ip.ttl = nh->ttl; in set_ipv4() 607 u8 ttl; in set_nsh() local 635 ttl = nsh_get_ttl(nh); in set_nsh() 636 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh() 637 flow_key->nsh.base.ttl = ttl; in set_nsh() 1273 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl() 1284 if (nh->ttl <= 1) in execute_dec_ttl() 1287 old_ttl = nh->ttl--; in execute_dec_ttl() 1289 htons(nh->ttl << 8)); in execute_dec_ttl() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mpls.c | 33 mpls_info->ttl = act->mpls_push.ttl; in copy_mpls_info()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 309 __u8 *ttl, bool ipv6) in values_get_tcpipopts() argument 321 *ttl = (*value >> 24) & 0xff; in values_get_tcpipopts() 327 *ttl = DEFAULT_TTL; in values_get_tcpipopts() 538 __u8 ttl; in tcpv4_gen_synack() local 540 values_get_tcpipopts(&mss, &wscale, &ttl, false); in tcpv4_gen_synack() 548 hdr->ipv4->ttl = ttl; in tcpv4_gen_synack() 561 __u8 ttl; in tcpv6_gen_synack() local 563 values_get_tcpipopts(&mss, &wscale, &ttl, true); in tcpv6_gen_synack() 569 hdr->ipv6->hop_limit = ttl; in tcpv6_gen_synack()
|
/openbmc/linux/include/linux/qed/ |
H A D | tcp_common.h | 82 u8 ttl; member 148 u8 ttl; member 218 u8 ttl; member
|
/openbmc/linux/include/net/ |
H A D | ip_tunnels.h | 53 u8 ttl; /* TTL for IPv4, HL for IPv6 */ member 184 u8 tos, u8 ttl, __be32 label, in ip_tunnel_key_init() argument 194 key->ttl = ttl; in ip_tunnel_key_init() 459 return iph->ttl; in ip_tunnel_get_ttl() 486 u8 tos, u8 ttl, __be16 df, bool xnet);
|
/openbmc/openbmc-test-automation/network/ |
H A D | test_network_nping.robot | 70 # Destination IP:80 S ttl=64 id=39113 iplen=40 seq=629782493 win=1480 72 # Destination IP:80 S ttl=64 id=39113 iplen=40 seq=629782493 win=1480 74 # Source IP:37577 SA ttl=49 id=0 iplen=44 seq=1078301364 win=5840 <mss 1380>
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | queue.h | 43 unsigned long ttl; member 72 unsigned long ttl);
|
/openbmc/linux/drivers/net/ |
H A D | geneve.c | 925 __u8 tos, ttl; in geneve_xmit_skb() local 975 ttl = key->ttl; in geneve_xmit_skb() 981 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve_xmit_skb() 983 ttl = key->ttl; in geneve_xmit_skb() 984 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in geneve_xmit_skb() 1025 __u8 prio, ttl; in geneve6_xmit_skb() local 1073 ttl = key->ttl; in geneve6_xmit_skb() 1078 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve6_xmit_skb() 1080 ttl = key->ttl; in geneve6_xmit_skb() 1081 ttl = ttl ? : ip6_dst_hoplimit(dst); in geneve6_xmit_skb() [all …]
|
H A D | bareudp.c | 302 __u8 tos, ttl; in bareudp_xmit_skb() local 322 ttl = key->ttl; in bareudp_xmit_skb() 343 tos, ttl, df, sport, bareudp->port, in bareudp_xmit_skb() 365 __u8 prio, ttl; in bareudp6_xmit_skb() local 384 ttl = key->ttl; in bareudp6_xmit_skb() 405 &saddr, &daddr, prio, ttl, in bareudp6_xmit_skb()
|
/openbmc/linux/drivers/net/usb/ |
H A D | net1080.c | 254 #define TTL_OTHER(ttl) (0x00ff & (ttl >> 8)) argument 261 u16 usbctl, status, ttl; in net1080_reset() local 289 ttl = vp; in net1080_reset() 292 MK_TTL(NC_READ_TTL_MS, TTL_OTHER(ttl)) ); in net1080_reset()
|
/openbmc/linux/net/batman-adv/ |
H A D | bat_v_ogm.c | 339 ntohl(ogm_packet->throughput), ogm_packet->ttl, in batadv_v_ogm_send_softif() 555 if (ogm_received->ttl <= 1) { in batadv_v_ogm_forward() 578 ogm_forward->ttl--; in batadv_v_ogm_forward() 583 ogm_forward->ttl, if_incoming->net_dev->name); in batadv_v_ogm_forward() 652 orig_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update() 663 neigh_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update() 874 ntohl(ogm_packet->seqno), ogm_throughput, ogm_packet->ttl, in batadv_v_ogm_process() 1058 ogm_packet->ttl = BATADV_TTL; in batadv_v_ogm_init()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_udp_tunnel.c | 80 __u8 prio, __u8 ttl, __be32 label, in udp_tunnel6_xmit_skb() argument 105 ip6h->hop_limit = ttl; in udp_tunnel6_xmit_skb()
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci.c | 509 int ttl = PCI_FIND_CAP_TTL; in pci_find_cap() local 513 while (ttl--) { in pci_find_cap() 542 int ttl, pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability() local 545 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability() 554 while (ttl-- > 0) { in pci_find_next_ext_capability()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 107 unsigned long mss4, wscale, ttl; in parse_options() local 155 ttl = parse_arg_ul(argv[0], optarg, UINT8_MAX); in parse_options() 175 if (mss4 == 0 || mss6 == 0 || wscale == 0 || ttl == 0) in parse_options() 177 *tcpipopts = (mss6 << 32) | (ttl << 24) | (wscale << 16) | mss4; in parse_options()
|
/openbmc/linux/include/uapi/linux/netfilter_ipv4/ |
H A D | ipt_ttl.h | 20 __u8 ttl; member
|
H A D | ipt_TTL.h | 20 __u8 ttl; member
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_changes.sh | 82 ip link set dev $tundev type $type ttl 50 86 ip link set dev $tundev type $type ttl 100 174 ttl 100 tos inherit $flags
|