Searched refs:tun_key (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/net/psample/ |
A D | psample.c | 234 if (tun_key->u.ipv4.src && in __psample_ip_tun_to_nlattr() 236 tun_key->u.ipv4.src)) in __psample_ip_tun_to_nlattr() 238 if (tun_key->u.ipv4.dst && in __psample_ip_tun_to_nlattr() 254 if (tun_key->tos && in __psample_ip_tun_to_nlattr() 265 if (tun_key->tp_src && in __psample_ip_tun_to_nlattr() 268 if (tun_key->tp_dst && in __psample_ip_tun_to_nlattr() 324 if (tun_key->u.ipv4.src) in psample_tunnel_meta_len() 326 if (tun_key->u.ipv4.dst) in psample_tunnel_meta_len() 336 if (tun_key->tos) in psample_tunnel_meta_len() 343 if (tun_key->tp_src) in psample_tunnel_meta_len() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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.c | 240 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; in mlx5e_tc_tun_create_header_ipv4() 242 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv4() 290 ip->tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4() 357 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv4() 394 ip->tos = tun_key->tos; in mlx5e_tc_tun_update_header_ipv4() 508 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv6() 509 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label); in mlx5e_tc_tun_create_header_ipv6() 559 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_create_header_ipv6() 621 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv6() 623 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label); in mlx5e_tc_tun_update_header_ipv6() [all …]
|
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() 91 if (tun_key->tun_flags & TUNNEL_VXLAN_OPT) in mlx5e_gen_ip_tunnel_header_vxlan() 96 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan()
|
A D | tc_tun_mplsoudp.c | 32 const struct ip_tunnel_key *tun_key = &r->tun_info->key; in generate_ip_tun_hdr() local 40 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr()
|
/linux-6.3-rc2/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-6.3-rc2/net/openvswitch/ |
A D | flow_netlink.c | 695 SW_FLOW_KEY_PUT(match, tun_key.tun_id, in ip_tun_from_nlattr() 720 SW_FLOW_KEY_PUT(match, tun_key.tos, in ip_tun_from_nlattr() 724 SW_FLOW_KEY_PUT(match, tun_key.ttl, in ip_tun_from_nlattr() 735 SW_FLOW_KEY_PUT(match, tun_key.tp_src, in ip_tun_from_nlattr() 739 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr() 823 if (match->key->tun_key.u.ipv4.src || in ip_tun_from_nlattr() 825 match->key->tun_key.tp_src || in ip_tun_from_nlattr() 826 match->key->tun_key.tp_dst || in ip_tun_from_nlattr() 827 match->key->tun_key.ttl || in ip_tun_from_nlattr() 828 match->key->tun_key.tos || in ip_tun_from_nlattr() [all …]
|
A D | flow.c | 1013 memcpy(&key->tun_key, &tun_info->key, sizeof(key->tun_key)); in ovs_flow_key_extract() 1029 memset(&key->tun_key, 0, sizeof(key->tun_key)); in ovs_flow_key_extract()
|
A D | flow.h | 78 struct ip_tunnel_key tun_key; /* Encapsulating tunnel key. */ member
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_tunnel.sh | 69 tun_key= 71 tun_key="key $1" 76 ip link add dev $DEV_NS type $TYPE seq $tun_key \ 82 ip link add dev $DEV type $TYPE $tun_key external
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/ |
A D | match.c | 497 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv4_gre_tun() 532 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv6_gre_tun()
|
A D | cmsg.h | 512 __be32 tun_key; member 552 __be32 tun_key; member
|
Completed in 35 milliseconds