/openbmc/linux/include/net/ |
H A D | dst_metadata.h | 200 __be16 tp_dst, in __ip_tun_set_dst() argument 213 0, 0, tp_dst, tunnel_id, flags); in __ip_tun_set_dst() 231 __be16 tp_dst, in __ipv6_tun_set_dst() argument 249 info->key.tp_dst = tp_dst; in __ipv6_tun_set_dst()
|
H A D | ip_tunnels.h | 31 #define IP_TUNNEL_KEY_SIZE offsetofend(struct ip_tunnel_key, tp_dst) 57 __be16 tp_dst; member 185 __be16 tp_src, __be16 tp_dst, in ip_tunnel_key_init() argument 203 key->tp_dst = tp_dst; in ip_tunnel_key_init()
|
/openbmc/linux/drivers/net/ |
H A D | geneve.c | 935 geneve->cfg.info.key.tp_dst, sport, &full_tos); in geneve_xmit_skb() 1008 tos, ttl, df, sport, geneve->cfg.info.key.tp_dst, in geneve_xmit_skb() 1034 geneve->cfg.info.key.tp_dst, sport); in geneve6_xmit_skb() 1164 geneve->cfg.info.key.tp_dst, sport, NULL); in geneve_fill_metadata_dst() 1180 geneve->cfg.info.key.tp_dst, sport); in geneve_fill_metadata_dst() 1192 info->key.tp_dst = geneve->cfg.info.key.tp_dst; in geneve_fill_metadata_dst() 1357 if (info->key.tp_dst == geneve->cfg.info.key.tp_dst) { in geneve_find_dev() 1362 info->key.tp_dst == geneve->cfg.info.key.tp_dst && in geneve_find_dev() 1455 info->key.tp_dst = htons(dst_port); in init_tnl_info() 1567 info->key.tp_dst = nla_get_be16(data[IFLA_GENEVE_PORT]); in geneve_nl2info() [all …]
|
H A D | bareudp.c | 535 info->key.tp_dst = bareudp->port; in bareudp_fill_metadata_dst()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_vxlan.c | 66 int dst_port = be16_to_cpu(e->tun_info->key.tp_dst); in mlx5e_tc_tun_init_encap_attr_vxlan() 99 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan()
|
H A D | tc_tun_mplsoudp.c | 40 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr()
|
H A D | tc_tun_geneve.c | 104 udp->dest = tun_info->key.tp_dst; in mlx5e_gen_ip_tunnel_header_geneve()
|
/openbmc/linux/net/psample/ |
H A D | psample.c | 269 if (tun_key->tp_dst && in __psample_ip_tun_to_nlattr() 270 nla_put_be16(skb, PSAMPLE_TUNNEL_KEY_ATTR_TP_DST, tun_key->tp_dst)) in __psample_ip_tun_to_nlattr() 346 if (tun_key->tp_dst) in psample_tunnel_meta_len()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 101 flow4.fl4_dport = encap->key.tp_dst; in efx_bind_neigh() 109 flow6.fl6_dport = encap->key.tp_dst; in efx_bind_neigh() 312 udp->dest = key->tp_dst; in efx_gen_tun_header_udp()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 493 flow->tun_key.tp_dst = match.key->dst; in bnxt_tc_parse_flow() 494 flow->tun_mask.tp_dst = match.mask->dst; in bnxt_tc_parse_flow() 841 req->dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc() 913 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc() 1238 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs() 1335 tun_key.tp_dst = flow->tun_key.tp_dst; in bnxt_tc_get_decap_handle()
|
/openbmc/linux/net/ipv4/ |
H A D | udp_tunnel_core.c | 200 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_tunnel.c | 475 info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]); in nft_tunnel_obj_init() 650 nla_put_be16(skb, NFTA_TUNNEL_KEY_DPORT, info->key.tp_dst) < 0) in nft_tunnel_ports_dump()
|
/openbmc/linux/net/sched/ |
H A D | act_tunnel_key.c | 748 (key->tp_dst && in tunnel_key_dump() 750 key->tp_dst)) || in tunnel_key_dump()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 742 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr() 829 match->key->tun_key.tp_dst || in ip_tun_from_nlattr() 922 if (output->tp_dst && in __ip_tun_to_nlattr() 923 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 296 switch (tun->key.tp_dst) { in nfp_fl_get_tun_from_act()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2518 dst_port = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_xmit_one() 3121 dport = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_fill_metadata_dst() 3152 info->key.tp_dst = dport; in vxlan_fill_metadata_dst()
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 443 tp->dst = key->tp_dst; in skb_flow_dissect_tunnel_info()
|