Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Ddst_metadata.h144 __be16 tp_dst, in __ip_tun_set_dst() argument
157 0, 0, tp_dst, tunnel_id, flags); in __ip_tun_set_dst()
175 __be16 tp_dst, in __ipv6_tun_set_dst() argument
193 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()
/Linux-v5.4/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()
94 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan()
Dtc_tun_geneve.c104 udp->dest = tun_info->key.tp_dst; in mlx5e_gen_ip_tunnel_header_geneve()
/Linux-v5.4/drivers/net/
Dgeneve.c657 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->info.key.tp_dst); in geneve_sock_add()
663 gs = geneve_socket_create(net, geneve->info.key.tp_dst, ipv6, in geneve_sock_add()
928 tos, ttl, df, sport, geneve->info.key.tp_dst, in geneve_xmit_skb()
973 info->key.label, sport, geneve->info.key.tp_dst, in geneve6_xmit_skb()
1065 info->key.tp_dst = geneve->info.key.tp_dst; in geneve_fill_metadata_dst()
1227 if (info->key.tp_dst == geneve->info.key.tp_dst) { in geneve_find_dev()
1232 info->key.tp_dst == geneve->info.key.tp_dst && in geneve_find_dev()
1322 info->key.tp_dst = htons(dst_port); in init_tnl_info()
1435 info->key.tp_dst = nla_get_be16(data[IFLA_GENEVE_PORT]); in geneve_nl2info()
1720 if (nla_put_be16(skb, IFLA_GENEVE_PORT, info->key.tp_dst)) in geneve_fill_info()
Dvxlan.c2486 dst_port = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_xmit_one()
2916 dport = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_fill_metadata_dst()
2946 info->key.tp_dst = dport; in vxlan_fill_metadata_dst()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c297 flow->tun_key.tp_dst = match.key->dst; in bnxt_tc_parse_flow()
298 flow->tun_mask.tp_dst = match.mask->dst; in bnxt_tc_parse_flow()
568 req.dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc()
639 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc()
964 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs()
1061 tun_key.tp_dst = flow->tun_key.tp_dst; in bnxt_tc_get_decap_handle()
/Linux-v5.4/net/sched/
Dact_tunnel_key.c544 (key->tp_dst && in tunnel_key_dump()
546 key->tp_dst)) || in tunnel_key_dump()
/Linux-v5.4/net/netfilter/
Dnft_tunnel.c374 info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]); in nft_tunnel_obj_init()
505 nla_put_be16(skb, NFTA_TUNNEL_KEY_DPORT, htons(info->key.tp_dst)) < 0) in nft_tunnel_ports_dump()
/Linux-v5.4/net/ipv4/
Dudp_tunnel.c219 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/Linux-v5.4/net/openvswitch/
Dflow_netlink.c727 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr()
814 match->key->tun_key.tp_dst || in ip_tun_from_nlattr()
907 if (output->tp_dst && in __ip_tun_to_nlattr()
908 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c293 switch (tun->key.tp_dst) { in nfp_fl_get_tun_from_act()
/Linux-v5.4/net/core/
Dflow_dissector.c358 tp->dst = key->tp_dst; in skb_flow_dissect_tunnel_info()