/kernel/linux/linux-5.10/include/net/ |
H A D | dst_metadata.h | 145 __be16 tp_dst, in __ip_tun_set_dst() 158 0, 0, tp_dst, tunnel_id, flags); in __ip_tun_set_dst() 176 __be16 tp_dst, in __ipv6_tun_set_dst() 194 info->key.tp_dst = tp_dst; in __ipv6_tun_set_dst() 142 __ip_tun_set_dst(__be32 saddr, __be32 daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be16 flags, __be64 tunnel_id, int md_size) __ip_tun_set_dst() argument 173 __ipv6_tun_set_dst(const struct in6_addr *saddr, const struct in6_addr *daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be32 label, __be16 flags, __be64 tunnel_id, int md_size) __ipv6_tun_set_dst() argument
|
H A D | ip_tunnels.h | 31 #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() 186 /* For the tunnel types on the top of IPsec, the tp_src and tp_dst of in ip_tunnel_key_init() 191 key->tp_dst = tp_dst; in ip_tunnel_key_init() 170 ip_tunnel_key_init(struct ip_tunnel_key *key, __be32 saddr, __be32 daddr, u8 tos, u8 ttl, __be32 label, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags) ip_tunnel_key_init() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | dst_metadata.h | 200 __be16 tp_dst, in __ip_tun_set_dst() 213 0, 0, tp_dst, tunnel_id, flags); in __ip_tun_set_dst() 231 __be16 tp_dst, in __ipv6_tun_set_dst() 249 info->key.tp_dst = tp_dst; in __ipv6_tun_set_dst() 197 __ip_tun_set_dst(__be32 saddr, __be32 daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be16 flags, __be64 tunnel_id, int md_size) __ip_tun_set_dst() argument 228 __ipv6_tun_set_dst(const struct in6_addr *saddr, const struct in6_addr *daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be32 label, __be16 flags, __be64 tunnel_id, int md_size) __ipv6_tun_set_dst() argument
|
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() 198 /* For the tunnel types on the top of IPsec, the tp_src and tp_dst of in ip_tunnel_key_init() 203 key->tp_dst = tp_dst; in ip_tunnel_key_init() 182 ip_tunnel_key_init(struct ip_tunnel_key *key, __be32 saddr, __be32 daddr, u8 tos, u8 ttl, __be32 label, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags) ip_tunnel_key_init() argument
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | geneve.c | 655 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | geneve.c | 682 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst); in geneve_sock_add() 688 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6, in geneve_sock_add() 933 geneve->cfg.info.key.tp_dst, sport, &full_tos); in geneve_xmit_skb() 1006 tos, ttl, df, sport, geneve->cfg.info.key.tp_dst, in geneve_xmit_skb() 1031 geneve->cfg.info.key.tp_dst, sport); in geneve6_xmit_skb() 1087 info->key.label, sport, geneve->cfg.info.key.tp_dst, in geneve6_xmit_skb() 1161 geneve->cfg.info.key.tp_dst, sport, NULL); in geneve_fill_metadata_dst() 1177 geneve->cfg.info.key.tp_dst, sport); in geneve_fill_metadata_dst() 1189 info->key.tp_dst = geneve->cfg.info.key.tp_dst; in geneve_fill_metadata_dst() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_vxlan.c | 65 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()
|
H A D | tc_tun_mplsoudp.c | 41 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/net/psample/ |
H A D | psample.c | 267 if (tun_key->tp_dst && in __psample_ip_tun_to_nlattr() 268 nla_put_be16(skb, PSAMPLE_TUNNEL_KEY_ATTR_TP_DST, tun_key->tp_dst)) in __psample_ip_tun_to_nlattr() 344 if (tun_key->tp_dst) in psample_tunnel_meta_len()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 492 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-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp_tunnel_core.c | 200 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_tunnel.c | 446 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/ipv4/ |
H A D | udp_tunnel_core.c | 218 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_tunnel_key.c | 744 (key->tp_dst && in tunnel_key_dump() 746 key->tp_dst)) || in tunnel_key_dump()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow_netlink.c | 730 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr() 817 match->key->tun_key.tp_dst || in ip_tun_from_nlattr() 910 if (output->tp_dst && in __ip_tun_to_nlattr() 911 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
|
/kernel/linux/linux-6.6/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()
|