| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_tun.c | 25 u8 ttl; member 151 if (!attr->ttl) in mlx5e_route_lookup_ipv4_get() 239 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv4() 290 ip->ttl = attr.ttl; in mlx5e_tc_tun_create_header_ipv4() 355 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv4() 395 ip->ttl = attr.ttl; in mlx5e_tc_tun_update_header_ipv4() 460 if (!attr->ttl) in mlx5e_route_lookup_ipv6_get() 507 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv6() 621 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv6() 921 match.mask->ttl); in mlx5e_tc_tun_parse() [all …]
|
| /drivers/net/ethernet/netronome/nfp/flower/ |
| 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() 97 mpls_lse |= act->mpls_mangle.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_set_mpls() 463 if (ip_tun->key.ttl) { in nfp_fl_set_tun() 464 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun() 475 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun() 496 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun() 564 __u8 ttl; member 607 case offsetof(struct iphdr, ttl): in nfp_fl_set_ip4() 617 set_ip_ttl_tos->ipv4_ttl &= ~ttl_word_mask->ttl; in nfp_fl_set_ip4() [all …]
|
| 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()
|
| A D | cmsg.h | 226 u8 ttl; member 359 u8 ttl; member 424 u8 ttl; member
|
| /drivers/net/ |
| A D | geneve.c | 828 __u8 tos, ttl; in geneve_xmit_skb() local 890 ttl = key->ttl; in geneve_xmit_skb() 896 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve_xmit_skb() 898 ttl = key->ttl; in geneve_xmit_skb() 899 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in geneve_xmit_skb() 942 __u8 prio, ttl; in geneve6_xmit_skb() local 1001 ttl = key->ttl; in geneve6_xmit_skb() 1004 ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); in geneve6_xmit_skb() 1006 ttl = key->ttl; in geneve6_xmit_skb() 1007 ttl = ttl ? : ip6_dst_hoplimit(dst); in geneve6_xmit_skb() [all …]
|
| A D | bareudp.c | 316 __u8 tos, ttl; in bareudp_xmit_skb() local 341 ttl = key->ttl; in bareudp_xmit_skb() 363 tos, ttl, df, sport, bareudp->port, in bareudp_xmit_skb() 386 __u8 prio, ttl; in bareudp6_xmit_skb() local 410 ttl = key->ttl; in bareudp6_xmit_skb() 431 &saddr, &daddr, prio, ttl, in bareudp6_xmit_skb()
|
| /drivers/net/usb/ |
| 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()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | mpls.c | 33 mpls_info->ttl = act->mpls_push.ttl; in copy_mpls_info()
|
| /drivers/net/wireless/st/cw1200/ |
| A D | queue.h | 43 unsigned long ttl; member 72 unsigned long ttl);
|
| A D | queue.c | 98 if (time_is_after_jiffies(iter->queue_timestamp + queue->ttl)) { in __cw1200_queue_gc() 124 unsigned long tmo = item->queue_timestamp + queue->ttl; in __cw1200_queue_gc() 168 unsigned long ttl) in cw1200_queue_init() argument 176 queue->ttl = ttl; in cw1200_queue_init()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_nve_vxlan.c | 106 if (cfg->ttl == 0) { in mlxsw_sp_nve_vxlan_can_offload() 155 config->ttl = cfg->ttl; in mlxsw_sp_nve_vxlan_config() 171 config->ttl); in mlxsw_sp_nve_vxlan_config_prepare()
|
| A D | spectrum_nve.h | 14 u8 ttl; member
|
| A D | spectrum_span.c | 358 __u8 ttl, in mlxsw_sp_span_entry_tunnel_parms_common() argument 398 sparmsp->ttl = ttl; in mlxsw_sp_span_entry_tunnel_parms_common() 457 bool inherit_ttl = !tparm.iph.ttl; in mlxsw_sp_span_entry_gretap4_parms() 473 tparm.iph.ttl, in mlxsw_sp_span_entry_gretap4_parms() 497 sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap4_configure() 601 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(mpat_pl, sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap6_configure()
|
| A D | spectrum_span.h | 31 unsigned int ttl; member
|
| /drivers/infiniband/sw/rxe/ |
| A D | rxe_net.c | 228 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument 251 iph->ttl = ttl; in prepare_ipv4_hdr() 258 __u8 proto, __u8 prio, __u8 ttl) in prepare_ipv6_hdr() argument 273 ip6h->hop_limit = ttl; in prepare_ipv6_hdr()
|
| A D | rxe_icrc.c | 63 ip4h->ttl = 0xff; in rxe_icrc_hdr()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_tc_lib.c | 310 list[i].h_u.ipv4_hdr.time_to_live = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer() 311 list[i].m_u.ipv4_hdr.time_to_live = hdr->l3_mask.ttl; in ice_tc_fill_tunnel_outer() 336 hdr_h->hop_limit = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer() 337 hdr_m->hop_limit = hdr->l3_mask.ttl; in ice_tc_fill_tunnel_outer() 565 headers->l3_key.ttl; in ice_tc_fill_rules() 567 headers->l3_mask.ttl; in ice_tc_fill_rules() 591 hdr_h->hop_limit = headers->l3_key.ttl; in ice_tc_fill_rules() 592 hdr_m->hop_limit = headers->l3_mask.ttl; in ice_tc_fill_rules() 1430 if (match->mask->ttl) { in ice_tc_set_tos_ttl() 1436 headers->l3_key.ttl = match->key->ttl; in ice_tc_set_tos_ttl() [all …]
|
| A D | ice_fdir.c | 949 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt() 964 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt() 979 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt() 988 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
|
| /drivers/infiniband/core/ |
| A D | ud_header.c | 145 { STRUCT_FIELD(ip4, ttl), 293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum()
|
| /drivers/net/ethernet/sfc/ |
| A D | tc_encap_actions.c | 160 neigh->ttl = ip6_dst_hoplimit(dst); in efx_bind_neigh() 183 neigh->ttl = ip4_dst_hoplimit(&rt->dst); in efx_bind_neigh() 276 ip->ttl = neigh->ttl; in efx_gen_tun_header_ipv4() 297 ip->hop_limit = neigh->ttl; in efx_gen_tun_header_ipv6()
|
| A D | tc_encap_actions.h | 54 u8 ttl; member
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_nvmetcp.h | 66 u8 ttl; member
|
| A D | qed_iscsi.c | 98 u8 ttl; member 385 p_tcp->ttl = p_conn->ttl; in qed_sp_iscsi_conn_offload() 428 p_tcp2->ttl = p_conn->ttl; in qed_sp_iscsi_conn_offload() 1263 con->ttl = conn_info->ttl; in qed_iscsi_offload_conn()
|
| A D | qed_nvmetcp.c | 340 p_tcp->ttl = p_conn->ttl; in qed_sp_nvmetcp_conn_offload() 712 con->ttl = conn_info->ttl; in qed_nvmetcp_offload_conn()
|
| /drivers/char/agp/ |
| A D | parisc-agp.c | 305 int ttl = 48; in lba_find_capability() local 311 while (ttl-- && pos >= 0x40) { in lba_find_capability()
|