/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 196 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 …]
|
D | tc_tun_mplsoudp.c | 42 *mpls = mpls_entry_encode(tun_id, tun_key->ttl, tun_key->tos, true); in generate_ip_tun_hdr()
|
/drivers/net/ethernet/netronome/nfp/flower/ |
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() 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 …]
|
D | match.c | 179 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()
|
D | cmsg.h | 227 u8 ttl; member 354 u8 ttl; member 419 u8 ttl; member
|
/drivers/net/ |
D | geneve.c | 891 __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 …]
|
D | bareudp.c | 293 __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/ |
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()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_nve_vxlan.c | 76 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()
|
D | spectrum_nve.h | 14 u8 ttl; member
|
D | spectrum_span.c | 357 __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()
|
D | spectrum_span.h | 18 unsigned int ttl; member
|
/drivers/net/wireless/st/cw1200/ |
D | queue.h | 43 unsigned long ttl; member 72 unsigned long ttl);
|
D | queue.c | 97 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/ |
D | rxe_net.c | 250 __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()
|
D | rxe_icrc.c | 40 ip4h->ttl = 0xff; in rxe_icrc_hdr()
|
/drivers/net/ethernet/mscc/ |
D | ocelot_vcap.h | 144 enum ocelot_vcap_bit ttl; /* TTL zero */ member 169 enum ocelot_vcap_bit ttl; /* TTL zero */ member
|
D | ocelot_vcap.c | 484 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/ |
D | ud_header.c | 145 { STRUCT_FIELD(ip4, ttl), 293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum()
|
/drivers/char/agp/ |
D | parisc-agp.c | 303 int ttl = 48; in lba_find_capability() local 309 while (ttl-- && pos >= 0x40) { in lba_find_capability()
|
D | hp-agp.c | 185 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/ |
D | pcie-designware.c | 62 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/ |
D | qed_iscsi.c | 97 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/ |
D | sata_fsl.c | 226 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/ |
D | vxlan_core.c | 2603 __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 …]
|