Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 25 of 66) sorted by relevance

123

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c196 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv4() local
204 ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv4()
207 &fl4, &n, &ttl); in mlx5e_tc_tun_create_header_ipv4()
260 ip->ttl = ttl; in mlx5e_tc_tun_create_header_ipv4()
362 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv6() local
365 ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv6()
372 &fl6, &n, &ttl); in mlx5e_tc_tun_create_header_ipv6()
424 ip6h->hop_limit = ttl; in mlx5e_tc_tun_create_header_ipv6()
613 match.mask->ttl); in mlx5e_tc_tun_parse()
615 match.key->ttl); in mlx5e_tc_tun_parse()
[all …]
Dtc_tun_mplsoudp.c42 *mpls = mpls_entry_encode(tun_id, tun_key->ttl, tun_key->tos, true); in generate_ip_tun_hdr()
/drivers/net/ethernet/netronome/nfp/flower/
Daction.c56 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()
439 if (ip_tun->key.ttl) { in nfp_fl_set_tun()
440 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun()
451 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun()
454 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
472 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun()
475 set_tun->ttl = net->ipv4.sysctl_ip_default_ttl; in nfp_fl_set_tun()
546 __u8 ttl; member
[all …]
Dmatch.c179 ext->ttl = match.key->ttl; in nfp_flower_compile_ip_ext()
181 msk->ttl = match.mask->ttl; in nfp_flower_compile_ip_ext()
371 ext->ttl = match.key->ttl; in nfp_flower_compile_tun_ip_ext()
373 msk->ttl = match.mask->ttl; in nfp_flower_compile_tun_ip_ext()
Dcmsg.h227 u8 ttl; member
354 u8 ttl; member
419 u8 ttl; member
/drivers/net/
Dgeneve.c891 __u8 tos, ttl; in geneve_xmit_skb() local
941 ttl = key->ttl; in geneve_xmit_skb()
947 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve_xmit_skb()
949 ttl = key->ttl; in geneve_xmit_skb()
950 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in geneve_xmit_skb()
973 tos, ttl, df, sport, geneve->cfg.info.key.tp_dst, in geneve_xmit_skb()
989 __u8 prio, ttl; in geneve6_xmit_skb() local
1037 ttl = key->ttl; in geneve6_xmit_skb()
1042 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve6_xmit_skb()
1044 ttl = key->ttl; in geneve6_xmit_skb()
[all …]
Dbareudp.c293 __u8 tos, ttl; in bareudp_xmit_skb() local
313 ttl = key->ttl; in bareudp_xmit_skb()
334 tos, ttl, df, sport, bareudp->port, in bareudp_xmit_skb()
356 __u8 prio, ttl; in bareudp6_xmit_skb() local
375 ttl = key->ttl; in bareudp6_xmit_skb()
396 &saddr, &daddr, prio, ttl, in bareudp6_xmit_skb()
/drivers/net/usb/
Dnet1080.c254 #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()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c76 if (cfg->ttl == 0) { in mlxsw_sp_nve_vxlan_can_offload()
97 config->ttl = cfg->ttl; in mlxsw_sp_nve_vxlan_config()
173 config->ttl); in mlxsw_sp_nve_vxlan_config_prepare()
Dspectrum_nve.h14 u8 ttl; member
Dspectrum_span.c357 __u8 ttl, in mlxsw_sp_span_entry_tunnel_parms_common() argument
397 sparmsp->ttl = ttl; in mlxsw_sp_span_entry_tunnel_parms_common()
456 bool inherit_ttl = !tparm.iph.ttl; in mlxsw_sp_span_entry_gretap4_parms()
471 tparm.iph.ttl, in mlxsw_sp_span_entry_gretap4_parms()
495 sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap4_configure()
598 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(mpat_pl, sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap6_configure()
Dspectrum_span.h18 unsigned int ttl; member
/drivers/net/wireless/st/cw1200/
Dqueue.h43 unsigned long ttl; member
72 unsigned long ttl);
Dqueue.c97 if (jiffies - item->queue_timestamp < queue->ttl) in __cw1200_queue_gc()
121 unsigned long tmo = item->queue_timestamp + queue->ttl; in __cw1200_queue_gc()
165 unsigned long ttl) in cw1200_queue_init() argument
173 queue->ttl = ttl; in cw1200_queue_init()
/drivers/infiniband/sw/rxe/
Drxe_net.c250 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument
272 iph->ttl = ttl; in prepare_ipv4_hdr()
281 __u8 proto, __u8 prio, __u8 ttl) in prepare_ipv6_hdr() argument
296 ip6h->hop_limit = ttl; in prepare_ipv6_hdr()
Drxe_icrc.c40 ip4h->ttl = 0xff; in rxe_icrc_hdr()
/drivers/net/ethernet/mscc/
Docelot_vcap.h144 enum ocelot_vcap_bit ttl; /* TTL zero */ member
169 enum ocelot_vcap_bit ttl; /* TTL zero */ member
Docelot_vcap.c484 enum ocelot_vcap_bit ttl, fragment, options, tcp_ack, tcp_urg; in is2_entry_set() local
495 ttl = ipv4->ttl; in is2_entry_set()
516 ttl = ipv6->ttl; in is2_entry_set()
554 ttl); in is2_entry_set()
/drivers/infiniband/core/
Dud_header.c145 { STRUCT_FIELD(ip4, ttl),
293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum()
/drivers/char/agp/
Dparisc-agp.c303 int ttl = 48; in lba_find_capability() local
309 while (ttl-- && pos >= 0x40) { in lba_find_capability()
Dhp-agp.c185 int ttl = 48; in hp_zx1_lba_find_capability() local
191 while (ttl-- && pos >= 0x40) { in hp_zx1_lba_find_capability()
/drivers/pci/controller/dwc/
Dpcie-designware.c62 int ttl; in dw_pcie_find_next_ext_capability() local
66 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()
79 while (ttl-- > 0) { in dw_pcie_find_next_ext_capability()
/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c97 u8 ttl; member
384 p_tcp->ttl = p_conn->ttl; in qed_sp_iscsi_conn_offload()
427 p_tcp2->ttl = p_conn->ttl; in qed_sp_iscsi_conn_offload()
1263 con->ttl = conn_info->ttl; in qed_iscsi_offload_conn()
/drivers/ata/
Dsata_fsl.c226 u32 ttl; member
421 pp->cmdslot[tag].ttl = cpu_to_le32(data_xfer_len & ~0x03); in sata_fsl_setup_cmd_hdr_entry()
427 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); in sata_fsl_setup_cmd_hdr_entry()
432 u32 *ttl, dma_addr_t cmd_desc_paddr, in sata_fsl_fill_sg() argument
501 *ttl = ttl_dwords; in sata_fsl_fill_sg()
/drivers/net/vxlan/
Dvxlan_core.c2603 __u8 tos, ttl; in vxlan_xmit_one() local
2631 ttl = ip_tunnel_get_ttl(old_iph, skb); in vxlan_xmit_one()
2633 ttl = vxlan->cfg.ttl; in vxlan_xmit_one()
2634 if (!ttl && vxlan_addr_multicast(dst)) in vxlan_xmit_one()
2635 ttl = 1; in vxlan_xmit_one()
2671 ttl = info->key.ttl; in vxlan_xmit_one()
2745 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in vxlan_xmit_one()
2752 dst->sin.sin_addr.s_addr, tos, ttl, df, in vxlan_xmit_one()
2808 ttl = ttl ? : ip6_dst_hoplimit(ndst); in vxlan_xmit_one()
2817 &dst->sin6.sin6_addr, tos, ttl, in vxlan_xmit_one()
[all …]

123