Searched refs:tun_key (Results 1 – 12 of 12) sorted by relevance
/linux/net/psample/ |
A D | psample.c | 233 if (tun_key->u.ipv4.src && in __psample_ip_tun_to_nlattr() 235 tun_key->u.ipv4.src)) in __psample_ip_tun_to_nlattr() 237 if (tun_key->u.ipv4.dst && in __psample_ip_tun_to_nlattr() 253 if (tun_key->tos && in __psample_ip_tun_to_nlattr() 264 if (tun_key->tp_src && in __psample_ip_tun_to_nlattr() 267 if (tun_key->tp_dst && in __psample_ip_tun_to_nlattr() 323 if (tun_key->u.ipv4.src) in psample_tunnel_meta_len() 325 if (tun_key->u.ipv4.dst) in psample_tunnel_meta_len() 335 if (tun_key->tos) in psample_tunnel_meta_len() 342 if (tun_key->tp_src) in psample_tunnel_meta_len() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun.c | 238 attr.fl.fl4.flowi4_tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4() 241 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv4() 289 ip->tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4() 356 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv4() 393 ip->tos = tun_key->tos; in mlx5e_tc_tun_update_header_ipv4() 507 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv6() 508 attr.fl.fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_tc_tun_create_header_ipv6() 558 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_create_header_ipv6() 620 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv6() 622 attr.fl.fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_tc_tun_update_header_ipv6() [all …]
|
A D | tc_tun_gre.c | 31 const struct ip_tunnel_key *tun_key = &e->tun_info->key; in mlx5e_gen_ip_tunnel_header_gretap() local 33 __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); in mlx5e_gen_ip_tunnel_header_gretap() 39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap() 46 greh->flags = gre_tnl_flags_to_gre_flags(tun_key->tun_flags); in mlx5e_gen_ip_tunnel_header_gretap() 47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
|
A D | tc_tun_mplsoudp.c | 32 const struct ip_tunnel_key *tun_key = &r->tun_info->key; in generate_ip_tun_hdr() local 37 tun_id = be32_to_cpu(tunnel_id_to_key32(tun_key->tun_id)); in generate_ip_tun_hdr() 41 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr() 42 *mpls = mpls_entry_encode(tun_id, tun_key->ttl, tun_key->tos, true); in generate_ip_tun_hdr()
|
A D | tc_tun_vxlan.c | 86 const struct ip_tunnel_key *tun_key = &e->tun_info->key; in mlx5e_gen_ip_tunnel_header_vxlan() local 87 __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); in mlx5e_gen_ip_tunnel_header_vxlan() 94 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.c | 114 actions->tun_encap_key = *tun_key; in bnxt_tc_parse_tunnel_set() 796 struct ip_tunnel_key *tun_key = &flow->tun_key; in hwrm_cfa_decap_filter_alloc() local 841 req->dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc() 1120 struct ip_tunnel_key *tun_key) in bnxt_tc_get_tunnel_node() argument 1133 tunnel_node->key = *tun_key; in bnxt_tc_get_tunnel_node() 1238 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs() 1239 flow.daddr = tun_key->u.ipv4.dst; in bnxt_tc_resolve_tunnel_hdrs() 1284 tun_key->u.ipv4.src = flow.saddr; in bnxt_tc_resolve_tunnel_hdrs() 1308 struct ip_tunnel_key tun_key = { 0 }; in bnxt_tc_get_decap_handle() local 1334 tun_key.u.ipv4.dst = flow->tun_key.u.ipv4.src; in bnxt_tc_get_decap_handle() [all …]
|
A D | bnxt_tc.h | 130 struct ip_tunnel_key tun_key; member
|
/linux/net/openvswitch/ |
A D | flow_netlink.c | 685 SW_FLOW_KEY_PUT(match, tun_key.tun_id, in ip_tun_from_nlattr() 710 SW_FLOW_KEY_PUT(match, tun_key.tos, in ip_tun_from_nlattr() 714 SW_FLOW_KEY_PUT(match, tun_key.ttl, in ip_tun_from_nlattr() 725 SW_FLOW_KEY_PUT(match, tun_key.tp_src, in ip_tun_from_nlattr() 729 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr() 813 if (match->key->tun_key.u.ipv4.src || in ip_tun_from_nlattr() 815 match->key->tun_key.tp_src || in ip_tun_from_nlattr() 816 match->key->tun_key.tp_dst || in ip_tun_from_nlattr() 817 match->key->tun_key.ttl || in ip_tun_from_nlattr() 818 match->key->tun_key.tos || in ip_tun_from_nlattr() [all …]
|
A D | flow.c | 869 memcpy(&key->tun_key, &tun_info->key, sizeof(key->tun_key)); in ovs_flow_key_extract() 885 memset(&key->tun_key, 0, sizeof(key->tun_key)); in ovs_flow_key_extract()
|
A D | flow.h | 65 struct ip_tunnel_key tun_key; /* Encapsulating tunnel key. */ member
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | match.c | 474 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv4_gre_tun() 509 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv6_gre_tun()
|
A D | cmsg.h | 507 __be32 tun_key; member 547 __be32 tun_key; member
|
Completed in 35 milliseconds