tun_key 102 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c const struct ip_tunnel_key *tun_key = &tun_info->key; tun_key 109 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c actions->tun_encap_key = *tun_key; tun_key 274 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.dst = match.key->dst; tun_key 276 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.src = match.key->src; tun_key 288 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tun_id = key32_to_tunnel_id(match.key->keyid); tun_key 297 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tp_dst = match.key->dst; tun_key 299 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tp_src = match.key->src; tun_key 527 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct ip_tunnel_key *tun_key = &flow->tun_key; tun_key 542 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.tunnel_id = tunnel_id_to_key32(tun_key->tun_id); tun_key 562 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.dst_ipaddr[0] = tun_key->u.ipv4.dst; tun_key 563 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.src_ipaddr[0] = tun_key->u.ipv4.src; tun_key 568 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.dst_port = tun_key->tp_dst; tun_key 846 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct ip_tunnel_key *tun_key) tun_key 851 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tunnel_node = rhashtable_lookup_fast(tunnel_table, tun_key, *ht_params); tun_key 859 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tunnel_node->key = *tun_key; tun_key 952 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct ip_tunnel_key *tun_key, tun_key 964 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow.fl4_dport = tun_key->tp_dst; tun_key 965 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow.daddr = tun_key->u.ipv4.dst; tun_key 1010 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key->u.ipv4.src = flow.saddr; tun_key 1011 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key->ttl = ip4_dst_hoplimit(&rt->dst); tun_key 1030 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct ip_tunnel_key *decap_key = &flow->tun_key; tun_key 1034 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct ip_tunnel_key tun_key = { 0 }; tun_key 1060 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key.u.ipv4.dst = flow->tun_key.u.ipv4.src; tun_key 1061 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key.tp_dst = flow->tun_key.tp_dst; tun_key 1062 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c rc = bnxt_tc_resolve_tunnel_hdrs(bp, &tun_key, &l2_info); tun_key 110 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct ip_tunnel_key tun_key; tun_key 213 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c const struct ip_tunnel_key *tun_key = &e->tun_info->key; tun_key 224 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.flowi4_tos = tun_key->tos; tun_key 225 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.daddr = tun_key->u.ipv4.dst; tun_key 226 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.saddr = tun_key->u.ipv4.src; tun_key 227 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ttl = tun_key->ttl; tun_key 280 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ip->tos = tun_key->tos; tun_key 332 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c const struct ip_tunnel_key *tun_key = &e->tun_info->key; tun_key 342 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ttl = tun_key->ttl; tun_key 344 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); tun_key 345 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.daddr = tun_key->u.ipv6.dst; tun_key 346 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.saddr = tun_key->u.ipv6.src; tun_key 399 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ip6_flow_hdr(ip6h, tun_key->tos, 0); tun_key 31 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c const struct ip_tunnel_key *tun_key = &e->tun_info->key; tun_key 33 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); tun_key 39 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) tun_key 46 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c greh->flags = gre_tnl_flags_to_gre_flags(tun_key->tun_flags); tun_key 47 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c if (tun_key->tun_flags & TUNNEL_KEY) { tun_key 86 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c const struct ip_tunnel_key *tun_key = &e->tun_info->key; tun_key 87 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); tun_key 94 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c udp->dest = tun_key->tp_dst; tun_key 444 drivers/net/ethernet/netronome/nfp/flower/cmsg.h __be32 tun_key; tun_key 337 drivers/net/ethernet/netronome/nfp/flower/match.c ext->tun_key = match.key->keyid; tun_key 338 drivers/net/ethernet/netronome/nfp/flower/match.c msk->tun_key = match.mask->keyid; tun_key 853 net/openvswitch/flow.c memcpy(&key->tun_key, &tun_info->key, sizeof(key->tun_key)); tun_key 869 net/openvswitch/flow.c memset(&key->tun_key, 0, sizeof(key->tun_key)); tun_key 64 net/openvswitch/flow.h struct ip_tunnel_key tun_key; /* Encapsulating tunnel key. */ tun_key 683 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tun_id, tun_key 688 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, tun_key 693 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, tun_key 698 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src, tun_key 703 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst, tun_key 708 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tos, tun_key 712 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.ttl, tun_key 723 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tp_src, tun_key 727 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tp_dst, tun_key 786 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tun_flags, tun_flags, is_mask); tun_key 811 net/openvswitch/flow_netlink.c if (match->key->tun_key.u.ipv4.src || tun_key 812 net/openvswitch/flow_netlink.c match->key->tun_key.u.ipv4.dst || tun_key 813 net/openvswitch/flow_netlink.c match->key->tun_key.tp_src || tun_key 814 net/openvswitch/flow_netlink.c match->key->tun_key.tp_dst || tun_key 815 net/openvswitch/flow_netlink.c match->key->tun_key.ttl || tun_key 816 net/openvswitch/flow_netlink.c match->key->tun_key.tos || tun_key 821 net/openvswitch/flow_netlink.c } else if (!match->key->tun_key.u.ipv4.dst) { tun_key 826 net/openvswitch/flow_netlink.c if (ipv6 && ipv6_addr_any(&match->key->tun_key.u.ipv6.dst)) { tun_key 1805 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMSET_FIELD(match, tun_key, tun_key 1991 net/openvswitch/flow_netlink.c if (output->tun_key.tun_flags & TUNNEL_OPTIONS_PRESENT) tun_key 1994 net/openvswitch/flow_netlink.c if (ip_tun_to_nlattr(skb, &output->tun_key, opts, tun_key 2551 net/openvswitch/flow_netlink.c key->tun_key.tun_flags |= crit_opt ? TUNNEL_CRIT_OPT : 0; tun_key 2621 net/openvswitch/flow_netlink.c else if (key.tun_proto == AF_INET && key.tun_key.u.ipv4.dst == 0) tun_key 2623 net/openvswitch/flow_netlink.c tun_info->key = key.tun_key;