/linux-6.3-rc2/tools/testing/selftests/netfilter/ |
A D | nft_concat_range.sh | 533 [ -n "${dst_port}" ] && dst_port="-ud ${dst_port}" 610 [ -n "${dst_port}" ] && dst_port="-ud ${dst_port}" 686 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 714 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 742 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 777 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 805 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 833 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 868 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" 896 [ -n "${dst_port}" ] && dst_port="-p ${dst_port}" [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | vsock_virtio_transport_common.h | 42 __u32 dst_cid, __u32 dst_port, 50 dst_cid, dst_port, 60 __field(__u32, dst_port) 70 __entry->dst_port = dst_port; 78 __entry->dst_cid, __entry->dst_port, 88 __u32 dst_cid, __u32 dst_port, 98 dst_cid, dst_port, 110 __field(__u32, dst_port) 122 __entry->dst_port = dst_port; 133 __entry->dst_cid, __entry->dst_port,
|
/linux-6.3-rc2/net/openvswitch/ |
A D | vport-geneve.c | 33 u16 dst_port; member 46 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options() 59 u16 dst_port; in geneve_tnl_create() local 69 dst_port = nla_get_u16(a); in geneve_tnl_create() 82 geneve_port->dst_port = dst_port; in geneve_tnl_create() 85 dev = geneve_dev_create_fb(net, parms->name, NET_NAME_USER, dst_port); in geneve_tnl_create()
|
A D | vport-vxlan.c | 25 __be16 dst_port = vxlan->cfg.dst_port; in vxlan_get_options() local 27 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options() 93 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | tb.c | 416 struct tb_port *dst_port) in tb_find_tunnel() argument 424 (dst_port && dst_port == tunnel->dst_port))) { in tb_find_tunnel() 441 sw = dst_port->sw; in tb_find_first_usb3_tunnel() 469 dst_port->port); in tb_available_bandwidth() 473 tunnel->dst_port != dst_port) { in tb_available_bandwidth() 532 tunnel->dst_port == dst_port) in tb_available_bandwidth() 891 dst_port = tunnel->dst_port; in tb_deactivate_and_free_tunnel() 1055 out = tunnel->dst_port; in tb_recalc_estimated_bandwidth_for_group() 1466 if (tunnel->src_port != nhi_port || tunnel->dst_port != dst_port) in __tb_disconnect_xdomain_paths() 1621 out = tunnel->dst_port; in tb_alloc_dp_bandwidth() [all …]
|
A D | tunnel.c | 159 if (tb_port_is_pcie_up(tunnel->dst_port)) in tb_pci_activate() 267 tb_port_warn(tunnel->dst_port, in tb_tunnel_discover_pci() 317 tunnel->dst_port = up; in tb_tunnel_alloc_pci() 514 struct tb_port *out = tunnel->dst_port; in tb_dp_xchg_caps() 610 struct tb_port *out = tunnel->dst_port; in tb_dp_bw_alloc_mode_enable() 750 tb_dp_port_set_hops(tunnel->dst_port, in tb_dp_activate() 765 if (tb_port_is_dpout(tunnel->dst_port)) in tb_dp_activate() 1262 tunnel->dst_port = out; in tb_tunnel_alloc_dp() 1468 tunnel->dst_port = dst; in tb_tunnel_alloc_dma() 1779 tb_port_warn(tunnel->dst_port, in tb_tunnel_discover_usb3() [all …]
|
A D | test.c | 408 struct tb_port *src_port, *dst_port, *p; in tb_test_path_basic() local 414 dst_port = src_port; in tb_test_path_basic() 417 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic() 425 struct tb_port *src_port, *dst_port, *p; in tb_test_path_not_connected_walk() local 433 dst_port = &dev->ports[16]; in tb_test_path_not_connected_walk() 447 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_not_connected_walk() 487 dst_port = &dev->ports[9]; in tb_test_path_single_hop_walk() 546 dst_port = &dev2->ports[13]; in tb_test_path_daisy_chain_walk() 609 dst_port = &dev3->ports[13]; in tb_test_path_simple_tree_walk() 693 dst_port = &dev9->ports[14]; in tb_test_path_complex_tree_walk() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/ |
A D | tc_police.sh | 133 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 159 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 171 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 213 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 220 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \ 242 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 247 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 252 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 305 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 331 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ [all …]
|
A D | router_multicast.sh | 324 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 326 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 328 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 369 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 371 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 373 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 375 skip_hw dst_ip ff0e::3 ip_proto udp dst_port 12345 action pass 420 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 422 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 465 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop [all …]
|
A D | pedit_l4port.sh | 177 do_test_pedit_l4port "dev $swp1 ingress" udp dport dst_port 178 do_test_pedit_l4port "dev $swp2 egress" udp dport dst_port 189 do_test_pedit_l4port "dev $swp1 ingress" tcp dport dst_port 190 do_test_pedit_l4port "dev $swp2 egress" tcp dport dst_port
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_mrp.c | 51 int dst_port) in ocelot_mrp_redirect_add_vcap() argument 71 filter->action.port_mask = BIT(dst_port); in ocelot_mrp_redirect_add_vcap() 165 int dst_port; in ocelot_mrp_add_ring_role() local 182 dst_port = ocelot_mrp_find_partner_port(ocelot, ocelot_port); in ocelot_mrp_add_ring_role() 183 if (dst_port == -1) in ocelot_mrp_add_ring_role() 186 err = ocelot_mrp_redirect_add_vcap(ocelot, port, dst_port); in ocelot_mrp_add_ring_role()
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/ |
A D | one_armed_router.sh | 135 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 139 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 143 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 178 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \ 182 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \ 186 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
|
A D | rif_mac_profiles.sh | 113 flower skip_sw ip_proto udp src_port 12345 dst_port 54321 \ 120 dst_port 54321 action pass 148 flower skip_sw ip_proto udp src_port 54321 dst_port 12345 \ 153 dst_port 12345 action pass
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_sock_fields.c | 81 dst->dst_port = src->dst_port; in skcpy() 148 } else if (sk->dst_port == srv_sa6.sin6_port) { in egress_read_sock_fields() 262 __u32 *word = (__u32 *)&sk->dst_port; in sk_dst_port__load_word() 268 __u16 *half = (__u16 *)&sk->dst_port; in sk_dst_port__load_half() 274 __u8 *byte = (__u8 *)&sk->dst_port; in sk_dst_port__load_byte()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_fdir.c | 948 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt() 963 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt() 978 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt() 1050 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt() 1055 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt() 1069 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt() 1082 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt() 1095 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt() 1233 a->ip.v4.dst_port == b->ip.v4.dst_port && in ice_fdir_comp_rules() 1249 if (a->ip.v6.dst_port == b->ip.v6.dst_port && in ice_fdir_comp_rules() [all …]
|
A D | ice_ethtool_fdir.c | 158 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry() 802 dst_port = ICE_FLOW_FIELD_IDX_TCP_DST_PORT; in ice_set_init_fdir_seg() 805 dst_port = ICE_FLOW_FIELD_IDX_UDP_DST_PORT; in ice_set_init_fdir_seg() 919 enum ice_flow_field src_port, dst_port; in ice_set_fdir_ip4_seg() local 932 dst_port = ICE_FLOW_FIELD_IDX_TCP_DST_PORT; in ice_set_fdir_ip4_seg() 935 dst_port = ICE_FLOW_FIELD_IDX_UDP_DST_PORT; in ice_set_fdir_ip4_seg() 938 dst_port = ICE_FLOW_FIELD_IDX_SCTP_DST_PORT; in ice_set_fdir_ip4_seg() 1060 enum ice_flow_field src_port, dst_port; in ice_set_fdir_ip6_seg() local 1076 dst_port = ICE_FLOW_FIELD_IDX_TCP_DST_PORT; in ice_set_fdir_ip6_seg() 1079 dst_port = ICE_FLOW_FIELD_IDX_UDP_DST_PORT; in ice_set_fdir_ip6_seg() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_fdir.c | 212 switch (ntohs(fltr->ip_data.dst_port)) { in iavf_fill_fdir_udp_flex_pay_hdr() 338 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr() 339 tcph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_tcp_hdr() 367 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr() 368 udph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_udp_hdr() 399 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr() 400 sctph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_sctp_hdr() 657 ntohs(fltr->ip_data.dst_port), in iavf_print_fdir_fltr() 685 ntohs(fltr->ip_data.dst_port), in iavf_print_fdir_fltr()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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() local 69 if (!mlx5_vxlan_lookup_port(priv->mdev->vxlan, dst_port)) { in mlx5e_tc_tun_init_encap_attr_vxlan() 74 dst_port); in mlx5e_tc_tun_init_encap_attr_vxlan()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 27 __be16 dst_port; member 398 tpos->tuple.dst_port == dst_port) in qede_arfs_htbl_key_search() 499 n->tuple.dst_port = ports[1]; in qede_rx_flow_steer() 1444 ports[1] = t->dst_port; in qede_flow_build_ipv4_hdr() 1455 &t->dst_ipv4, t->dst_port); in qede_flow_stringify_ipv4_hdr() 1496 ports[1] = t->dst_port; in qede_flow_build_ipv6_hdr() 1531 } else if (!t->src_port && t->dst_port && in qede_set_v4_tuple_to_profile() 1559 if (t->src_port && t->dst_port && in qede_set_v6_tuple_to_profile() 1563 } else if (!t->src_port && t->dst_port && in qede_set_v6_tuple_to_profile() 1599 fltr->tuple.dst_port == t->dst_port && in qede_flow_find_fltr() [all …]
|
/linux-6.3-rc2/net/vmw_vsock/ |
A D | virtio_transport_common.c | 50 u32 dst_port) in virtio_transport_alloc_skb() argument 68 hdr->dst_port = cpu_to_le32(dst_port); in virtio_transport_alloc_skb() 91 dst_cid, dst_port, in virtio_transport_alloc_skb() 133 hdr->dst_port = pkt_hdr->dst_port; in virtio_transport_build_skb() 195 u32 src_cid, src_port, dst_cid, dst_port; in virtio_transport_send_pkt_info() local 211 dst_port = vsk->remote_addr.svm_port; in virtio_transport_send_pkt_info() 214 dst_port = info->remote_port; in virtio_transport_send_pkt_info() 232 dst_cid, dst_port); in virtio_transport_send_pkt_info() 858 le32_to_cpu(hdr->dst_port), in virtio_transport_reset_no_sock() 1219 le32_to_cpu(hdr->dst_port)); in virtio_transport_recv_listen() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/ |
A D | rtl819x_TS.h | 41 u16 dst_port; member 55 u16 dst_port; member
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_ppe_offload.c | 32 __be16 dst_port; member 60 data->v4.dst_addr, data->dst_port); in mtk_flow_set_ipv4_addr() 69 data->v6.dst_addr.s6_addr32, data->dst_port); in mtk_flow_set_ipv6_addr() 128 data->dst_port = cpu_to_be16(val); in mtk_flow_mangle_ports() 133 data->dst_port = cpu_to_be16(val); in mtk_flow_mangle_ports() 369 data.dst_port = ports.key->dst; in mtk_flow_offload_replace()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_model.h | 60 input->filter.formatted.dst_port = (__force __be16)(val >> 16); in ixgbe_mat_prgm_ports() 61 mask->formatted.dst_port = (__force __be16)(m >> 16); in ixgbe_mat_prgm_ports()
|
/linux-6.3-rc2/include/linux/ |
A D | omap-dma.h | 210 int dst_port; /* Only on OMAP1 REVISIT: Is this needed? */ member 298 extern void omap_set_dma_priority(int lch, int dst_port, int priority); 300 static inline void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_arfs.c | 76 __be16 dst_port; member 459 __be16 dst_port) in arfs_hash_bucket() argument 465 ((__force unsigned long)dst_port << 2); in arfs_hash_bucket() 523 ntohs(tuple->dst_port)); in arfs_add_rule() 532 ntohs(tuple->dst_port)); in arfs_add_rule() 663 tuple->dst_port = fk->ports.dst; in arfs_alloc_rule() 670 tuple->dst_port)); in arfs_alloc_rule() 676 if (tuple->src_port != fk->ports.src || tuple->dst_port != fk->ports.dst) in arfs_cmp()
|