Home
last modified time | relevance | path

Searched refs:tp_dst (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/include/net/
H A Ddst_metadata.h200 __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 Dip_tunnels.h31 #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 Dgeneve.c935 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 Dbareudp.c535 info->key.tp_dst = bareudp->port; in bareudp_fill_metadata_dst()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c66 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 Dtc_tun_mplsoudp.c40 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr()
H A Dtc_tun_geneve.c104 udp->dest = tun_info->key.tp_dst; in mlx5e_gen_ip_tunnel_header_geneve()
/openbmc/linux/net/psample/
H A Dpsample.c269 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 Dtc_encap_actions.c101 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 Dbnxt_tc.c493 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 Dudp_tunnel_core.c200 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/openbmc/linux/net/netfilter/
H A Dnft_tunnel.c475 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 Dact_tunnel_key.c748 (key->tp_dst && in tunnel_key_dump()
750 key->tp_dst)) || in tunnel_key_dump()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c742 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 Daction.c296 switch (tun->key.tp_dst) { in nfp_fl_get_tun_from_act()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c2518 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 Dflow_dissector.c443 tp->dst = key->tp_dst; in skb_flow_dissect_tunnel_info()