Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Ddst_metadata.h146 __be16 tp_dst, in __ip_tun_set_dst() argument
159 0, 0, tp_dst, tunnel_id, flags); in __ip_tun_set_dst()
177 __be16 tp_dst, in __ipv6_tun_set_dst() argument
195 info->key.tp_dst = tp_dst; in __ipv6_tun_set_dst()
Dip_tunnels.h31 #define IP_TUNNEL_KEY_SIZE offsetofend(struct ip_tunnel_key, tp_dst)
56 __be16 tp_dst; member
173 __be16 tp_src, __be16 tp_dst, in ip_tunnel_key_init() argument
191 key->tp_dst = tp_dst; in ip_tunnel_key_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c65 int dst_port = be16_to_cpu(e->tun_info->key.tp_dst); in mlx5e_tc_tun_init_encap_attr_vxlan()
96 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan()
Dtc_tun_mplsoudp.c41 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr()
Dtc_tun_geneve.c104 udp->dest = tun_info->key.tp_dst; in mlx5e_gen_ip_tunnel_header_geneve()
/kernel/linux/linux-5.10/drivers/net/
Dgeneve.c655 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst); in geneve_sock_add()
661 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6, in geneve_sock_add()
901 geneve->cfg.info.key.tp_dst, sport, &full_tos); in geneve_xmit_skb()
973 tos, ttl, df, sport, geneve->cfg.info.key.tp_dst, in geneve_xmit_skb()
998 geneve->cfg.info.key.tp_dst, sport); in geneve6_xmit_skb()
1053 info->key.label, sport, geneve->cfg.info.key.tp_dst, in geneve6_xmit_skb()
1127 geneve->cfg.info.key.tp_dst, sport, NULL); in geneve_fill_metadata_dst()
1143 geneve->cfg.info.key.tp_dst, sport); in geneve_fill_metadata_dst()
1155 info->key.tp_dst = geneve->cfg.info.key.tp_dst; in geneve_fill_metadata_dst()
1317 if (info->key.tp_dst == geneve->cfg.info.key.tp_dst) { in geneve_find_dev()
[all …]
Dbareudp.c504 info->key.tp_dst = bareudp->port; in bareudp_fill_metadata_dst()
Dvxlan.c2664 dst_port = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_xmit_one()
3185 dport = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_fill_metadata_dst()
3215 info->key.tp_dst = dport; in vxlan_fill_metadata_dst()
/kernel/linux/linux-5.10/net/psample/
Dpsample.c266 if (tun_key->tp_dst && in __psample_ip_tun_to_nlattr()
267 nla_put_be16(skb, PSAMPLE_TUNNEL_KEY_ATTR_TP_DST, tun_key->tp_dst)) in __psample_ip_tun_to_nlattr()
343 if (tun_key->tp_dst) in psample_tunnel_meta_len()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c492 flow->tun_key.tp_dst = match.key->dst; in bnxt_tc_parse_flow()
493 flow->tun_mask.tp_dst = match.mask->dst; in bnxt_tc_parse_flow()
834 req.dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc()
905 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc()
1230 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs()
1327 tun_key.tp_dst = flow->tun_key.tp_dst; in bnxt_tc_get_decap_handle()
/kernel/linux/linux-5.10/net/ipv4/
Dudp_tunnel_core.c218 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_tunnel.c446 info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]); in nft_tunnel_obj_init()
621 nla_put_be16(skb, NFTA_TUNNEL_KEY_DPORT, info->key.tp_dst) < 0) in nft_tunnel_ports_dump()
/kernel/linux/linux-5.10/net/sched/
Dact_tunnel_key.c744 (key->tp_dst && in tunnel_key_dump()
746 key->tp_dst)) || in tunnel_key_dump()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow_netlink.c729 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr()
816 match->key->tun_key.tp_dst || in ip_tun_from_nlattr()
909 if (output->tp_dst && in __ip_tun_to_nlattr()
910 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c294 switch (tun->key.tp_dst) { in nfp_fl_get_tun_from_act()
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c356 tp->dst = key->tp_dst; in skb_flow_dissect_tunnel_info()