Home
last modified time | relevance | path

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

/Linux-v4.19/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
192 __be16 tp_src, __be16 tp_dst, in ip_tunnel_key_init() argument
210 key->tp_dst = tp_dst; in ip_tunnel_key_init()
/Linux-v4.19/drivers/net/
Dgeneve.c605 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->info.key.tp_dst); in geneve_sock_add()
611 gs = geneve_socket_create(net, geneve->info.key.tp_dst, ipv6, in geneve_sock_add()
851 tos, ttl, df, sport, geneve->info.key.tp_dst, in geneve_xmit_skb()
892 info->key.label, sport, geneve->info.key.tp_dst, in geneve6_xmit_skb()
984 info->key.tp_dst = geneve->info.key.tp_dst; in geneve_fill_metadata_dst()
1134 if (info->key.tp_dst == geneve->info.key.tp_dst) { in geneve_find_dev()
1139 info->key.tp_dst == geneve->info.key.tp_dst && in geneve_find_dev()
1226 info->key.tp_dst = htons(dst_port); in init_tnl_info()
1328 info->key.tp_dst = nla_get_be16(data[IFLA_GENEVE_PORT]); in geneve_nl2info()
1597 if (nla_put_be16(skb, IFLA_GENEVE_PORT, info->key.tp_dst)) in geneve_fill_info()
Dvxlan.c2154 dst_port = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_xmit_one()
2561 dport = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_fill_metadata_dst()
2591 info->key.tp_dst = dport; in vxlan_fill_metadata_dst()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c346 flow->tun_key.tp_dst = key->dst; in bnxt_tc_parse_flow()
347 flow->tun_mask.tp_dst = mask->dst; in bnxt_tc_parse_flow()
606 req.dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc()
680 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc()
1007 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs()
1104 tun_key.tp_dst = flow->tun_key.tp_dst; in bnxt_tc_get_decap_handle()
/Linux-v4.19/net/netfilter/
Dnft_tunnel.c343 info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]); in nft_tunnel_obj_init()
467 nla_put_be16(skb, NFTA_TUNNEL_KEY_DPORT, htons(info->key.tp_dst)) < 0) in nft_tunnel_ports_dump()
/Linux-v4.19/net/ipv4/
Dudp_tunnel.c209 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2336 fl4.fl4_dport = tun_key->tp_dst; in mlx5e_create_encap_header_ipv4()
2382 fl4.saddr, tun_key->tp_dst, in mlx5e_create_encap_header_ipv4()
2445 fl6.fl6_dport = tun_key->tp_dst; in mlx5e_create_encap_header_ipv6()
2491 &fl6.saddr, tun_key->tp_dst, in mlx5e_create_encap_header_ipv6()
2544 if (!memchr_inv(&key->tp_dst, 0, sizeof(key->tp_dst))) in mlx5e_attach_encap()
2555 if (mlx5_vxlan_lookup_port(priv->mdev->vxlan, be16_to_cpu(key->tp_dst)) && in mlx5e_attach_encap()
2560 "%d isn't an offloaded vxlan udp dport\n", be16_to_cpu(key->tp_dst)); in mlx5e_attach_encap()
/Linux-v4.19/net/sched/
Dact_tunnel_key.c514 nla_put_be16(skb, TCA_TUNNEL_KEY_ENC_DST_PORT, key->tp_dst) || in tunnel_key_dump()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Daction.c208 switch (tun->key.tp_dst) { in nfp_fl_get_tun_from_act_l4_port()
/Linux-v4.19/net/openvswitch/
Dflow_netlink.c737 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr()
895 if (output->tp_dst && in __ip_tun_to_nlattr()
896 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
/Linux-v4.19/net/core/
Dflow_dissector.c217 tp->dst = key->tp_dst; in skb_flow_dissect_tunnel_info()