Searched refs:tun_key (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 102 struct ip_tunnel_key *tun_key = &tun_info->key; in bnxt_tc_parse_tunnel_set() local 109 actions->tun_encap_key = *tun_key; in bnxt_tc_parse_tunnel_set() 319 flow->tun_key.u.ipv4.dst = key->dst; in bnxt_tc_parse_flow() 321 flow->tun_key.u.ipv4.src = key->src; in bnxt_tc_parse_flow() 335 flow->tun_key.tun_id = key32_to_tunnel_id(key->keyid); in bnxt_tc_parse_flow() 346 flow->tun_key.tp_dst = key->dst; in bnxt_tc_parse_flow() 348 flow->tun_key.tp_src = key->src; in bnxt_tc_parse_flow() 565 struct ip_tunnel_key *tun_key = &flow->tun_key; in hwrm_cfa_decap_filter_alloc() local 580 req.tunnel_id = tunnel_id_to_key32(tun_key->tun_id); in hwrm_cfa_decap_filter_alloc() 600 req.dst_ipaddr[0] = tun_key->u.ipv4.dst; in hwrm_cfa_decap_filter_alloc() [all …]
|
D | bnxt_tc.h | 107 struct ip_tunnel_key tun_key; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2315 struct ip_tunnel_key *tun_key = &e->tun_info.key; in mlx5e_create_encap_header_ipv4() local 2336 fl4.fl4_dport = tun_key->tp_dst; in mlx5e_create_encap_header_ipv4() 2343 tos = tun_key->tos; in mlx5e_create_encap_header_ipv4() 2344 ttl = tun_key->ttl; in mlx5e_create_encap_header_ipv4() 2346 fl4.flowi4_tos = tun_key->tos; in mlx5e_create_encap_header_ipv4() 2347 fl4.daddr = tun_key->u.ipv4.dst; in mlx5e_create_encap_header_ipv4() 2348 fl4.saddr = tun_key->u.ipv4.src; in mlx5e_create_encap_header_ipv4() 2382 fl4.saddr, tun_key->tp_dst, in mlx5e_create_encap_header_ipv4() 2383 tunnel_id_to_key32(tun_key->tun_id)); in mlx5e_create_encap_header_ipv4() 2424 struct ip_tunnel_key *tun_key = &e->tun_info.key; in mlx5e_create_encap_header_ipv6() local [all …]
|
/Linux-v4.19/net/openvswitch/ |
D | flow_netlink.c | 693 SW_FLOW_KEY_PUT(match, tun_key.tun_id, in ip_tun_from_nlattr() 698 SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, in ip_tun_from_nlattr() 703 SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, in ip_tun_from_nlattr() 708 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src, in ip_tun_from_nlattr() 713 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst, in ip_tun_from_nlattr() 718 SW_FLOW_KEY_PUT(match, tun_key.tos, in ip_tun_from_nlattr() 722 SW_FLOW_KEY_PUT(match, tun_key.ttl, in ip_tun_from_nlattr() 733 SW_FLOW_KEY_PUT(match, tun_key.tp_src, in ip_tun_from_nlattr() 737 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr() 792 SW_FLOW_KEY_PUT(match, tun_key.tun_flags, tun_flags, is_mask); in ip_tun_from_nlattr() [all …]
|
D | flow.c | 839 memcpy(&key->tun_key, &tun_info->key, sizeof(key->tun_key)); in ovs_flow_key_extract() 855 memset(&key->tun_key, 0, sizeof(key->tun_key)); in ovs_flow_key_extract()
|
D | flow.h | 78 struct ip_tunnel_key tun_key; /* Encapsulating tunnel key. */ member
|