Home
last modified time | relevance | path

Searched refs:tp_dst (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/include/net/
H A Ddst_metadata.h145 __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 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()
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 Ddst_metadata.h200 __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 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()
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 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()
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dgeneve.c682 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 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()
H A Dtc_tun_mplsoudp.c41 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/psample/
H A Dpsample.c267 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 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A 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-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/net/ipv4/
H A Dudp_tunnel_core.c200 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/kernel/linux/linux-5.10/net/netfilter/
H A 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/ipv4/
H A Dudp_tunnel_core.c218 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst()
/kernel/linux/linux-5.10/net/sched/
H A Dact_tunnel_key.c744 (key->tp_dst && in tunnel_key_dump()
746 key->tp_dst)) || in tunnel_key_dump()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/net/sched/
H A Dact_tunnel_key.c748 (key->tp_dst && in tunnel_key_dump()
750 key->tp_dst)) || in tunnel_key_dump()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dflow_netlink.c730 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 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()

Completed in 30 milliseconds

12