Home
last modified time | relevance | path

Searched refs:src_port (Results 1 – 25 of 163) sorted by relevance

1234567

/linux-6.6.21/tools/testing/selftests/netfilter/
Dnft_concat_range.sh532 [ -n "${src_port}" ] && src_port="-us ${src_port}"
537 B sendip -p ipv4 -p udp ${src_addr4} ${src_port} \
540 src_port=
549 if [ -n "${src_port}" ];then
550 __socatbind="${__socatbind}:${src_port}"
560 src_port=
577 [ -n "${src_port}" ] && src_port="-p ${src_port}"
580 "${src_port}" "${dst_addr4}" "${dst_port}"
583 src_port=
609 [ -n "${src_port}" ] && src_port="-us ${src_port}"
[all …]
/linux-6.6.21/include/trace/events/
Dvsock_virtio_transport_common.h41 __u32 src_cid, __u32 src_port,
49 src_cid, src_port,
58 __field(__u32, src_port)
68 __entry->src_port = src_port;
77 __entry->src_cid, __entry->src_port,
87 __u32 src_cid, __u32 src_port,
97 src_cid, src_port,
108 __field(__u32, src_port)
120 __entry->src_port = src_port;
132 __entry->src_cid, __entry->src_port,
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c11 u16 *src_port, *dest_port; member
67 if (ai->src_port) in mtk_print_addr_info()
68 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info()
109 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show()
117 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
134 ai.src_port = &entry->ipv4.new.src_port; in mtk_ppe_debugfs_foe_show()
Dmtk_ppe.h148 u16 src_port; member
200 u16 src_port; member
217 u16 src_port; member
382 __be32 src_addr, __be16 src_port,
386 __be32 *src_addr, __be16 src_port,
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c155 struct device_node *src_port; in omapdss_of_find_source_for_first_ep() local
162 src_port = omapdss_of_get_remote_port(ep); in omapdss_of_find_source_for_first_ep()
163 if (!src_port) { in omapdss_of_find_source_for_first_ep()
170 src = omap_dss_find_output_by_port_node(src_port); in omapdss_of_find_source_for_first_ep()
172 of_node_put(src_port); in omapdss_of_find_source_for_first_ep()
/linux-6.6.21/drivers/thunderbolt/
Dtunnel.c65 tb_route(__tunnel->src_port->sw), \
66 __tunnel->src_port->port, \
162 if (usb4_switch_version(tunnel->src_port->sw) < 2 || in tb_pci_set_ext_encapsulation()
166 ret = usb4_pci_port_set_ext_encapsulation(tunnel->src_port, enable); in tb_pci_set_ext_encapsulation()
189 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
276 tunnel->src_port = down; in tb_tunnel_discover_pci()
309 if (down != tunnel->src_port) { in tb_tunnel_discover_pci()
353 tunnel->src_port = down; in tb_tunnel_alloc_pci()
580 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
676 struct tb_port *in = tunnel->src_port; in tb_dp_bandwidth_alloc_mode_enable()
[all …]
Dtb.c111 if (tunnel->src_port->sw == in->sw && in tb_attach_bandwidth_group()
113 group = tunnel->src_port->group; in tb_attach_bandwidth_group()
435 while (parent != tunnel->src_port->sw) { in tb_discover_tunnels()
440 struct tb_port *in = tunnel->src_port; in tb_discover_tunnels()
531 struct tb_port *src_port, in tb_find_tunnel() argument
539 ((src_port && src_port == tunnel->src_port) || in tb_find_tunnel()
549 struct tb_port *src_port, in tb_find_first_usb3_tunnel() argument
556 if (dst_port->sw->config.depth > src_port->sw->config.depth) in tb_find_first_usb3_tunnel()
559 sw = src_port->sw; in tb_find_first_usb3_tunnel()
575 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth() argument
[all …]
Dtest.c425 struct tb_port *src_port, *dst_port, *p; in tb_test_path_basic() local
430 src_port = &host->ports[5]; in tb_test_path_basic()
431 dst_port = src_port; in tb_test_path_basic()
433 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_basic()
436 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_basic()
442 struct tb_port *src_port, *dst_port, *p; in tb_test_path_not_connected_walk() local
449 src_port = &host->ports[12]; in tb_test_path_not_connected_walk()
452 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_not_connected_walk()
453 KUNIT_EXPECT_PTR_EQ(test, p, src_port); in tb_test_path_not_connected_walk()
455 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_not_connected_walk()
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Dport_range_occ.sh74 flower skip_sw ip_proto udp src_port 1-100 dst_port 1-100 \
80 flower skip_sw ip_proto tcp src_port 1-100 dst_port 1-100 \
83 flower skip_sw ip_proto udp src_port 1-100 dst_port 1-100 \
86 flower skip_sw ip_proto tcp src_port 1-100 dst_port 1-100 \
Drif_mac_profiles.sh113 flower skip_sw ip_proto udp src_port 12345 dst_port 54321 \
119 flower skip_sw src_mac $smac ip_proto udp src_port 12345 \
148 flower skip_sw ip_proto udp src_port 54321 dst_port 12345 \
152 flower skip_sw src_mac $rp1_mac ip_proto udp src_port 54321 \
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dpedit_l4port.sh171 do_test_pedit_l4port "dev $swp1 ingress" udp sport src_port
172 do_test_pedit_l4port "dev $swp2 egress" udp sport src_port
183 do_test_pedit_l4port "dev $swp1 ingress" tcp sport src_port
184 do_test_pedit_l4port "dev $swp2 egress" tcp sport src_port
/linux-6.6.21/net/dsa/
Dtag_ocelot_8021q.c82 int src_port, switch_id; in ocelot_rcv() local
84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL); in ocelot_rcv()
86 skb->dev = dsa_master_find_slave(netdev, switch_id, src_port); in ocelot_rcv()
Dtag_ocelot.c106 u64 src_port, qos_class; in ocelot_rcv() local
138 ocelot_xfh_get_src_port(extraction, &src_port); in ocelot_rcv()
144 skb->dev = dsa_master_find_slave(netdev, 0, src_port); in ocelot_rcv()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fdir.c944 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
959 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
974 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
1067 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1080 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1093 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1234 a->ip.v4.src_port == b->ip.v4.src_port) in ice_fdir_comp_rules()
1250 a->ip.v6.src_port == b->ip.v6.src_port && in ice_fdir_comp_rules()
1258 a->ip.v6.src_port == b->ip.v6.src_port) in ice_fdir_comp_rules()
Dice_ethtool_fdir.c157 fsp->h_u.tcp_ip4_spec.psrc = rule->ip.v4.src_port; in ice_get_ethtool_fdir_entry()
161 fsp->m_u.tcp_ip4_spec.psrc = rule->mask.v4.src_port; in ice_get_ethtool_fdir_entry()
189 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
197 fsp->m_u.tcp_ip6_spec.psrc = rule->mask.v6.src_port; in ice_get_ethtool_fdir_entry()
785 enum ice_flow_field src_addr, dst_addr, src_port, dst_port; in ice_set_init_fdir_seg() local
801 src_port = ICE_FLOW_FIELD_IDX_TCP_SRC_PORT; in ice_set_init_fdir_seg()
804 src_port = ICE_FLOW_FIELD_IDX_UDP_SRC_PORT; in ice_set_init_fdir_seg()
821 ice_flow_set_fld(seg, src_port, ICE_FLOW_FLD_OFF_INVAL, in ice_set_init_fdir_seg()
919 enum ice_flow_field src_port, dst_port; in ice_set_fdir_ip4_seg() local
931 src_port = ICE_FLOW_FIELD_IDX_TCP_SRC_PORT; in ice_set_fdir_ip4_seg()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c74 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()
402 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
403 tcph->source = fltr->ip_data.src_port; in iavf_fill_fdir_tcp_hdr()
431 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
432 udph->source = fltr->ip_data.src_port; in iavf_fill_fdir_udp_hdr()
463 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr()
464 sctph->source = fltr->ip_data.src_port; in iavf_fill_fdir_sctp_hdr()
727 ntohs(fltr->ip_data.src_port)); in iavf_print_fdir_fltr()
755 ntohs(fltr->ip_data.src_port)); in iavf_print_fdir_fltr()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_sock.c94 offsetof(struct bpf_sock, src_port)),
207 offsetof(struct bpf_sock, src_port)),
237 offsetof(struct bpf_sock, src_port)),
267 offsetof(struct bpf_sock, src_port)),
298 offsetof(struct bpf_sock, src_port)),
329 offsetof(struct bpf_sock, src_port)),
Dtest_flow_dissector.sh111 udp src_port 9 action drop
155 udp src_port 8-10 action drop
169 udp src_port 9 action drop
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c26 __be16 src_port; member
197 ntohs(fltr->tuple.src_port), in qede_arfs_filter_op()
389 __be16 src_port, __be16 dst_port, u8 ip_proto) in qede_arfs_htbl_key_search() argument
397 tpos->tuple.src_port == src_port && in qede_arfs_htbl_key_search()
498 n->tuple.src_port = ports[0]; in qede_rx_flow_steer()
1348 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1357 fsp->h_u.tcp_ip6_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1443 ports[0] = t->src_port; in qede_flow_build_ipv4_hdr()
1454 prefix, &t->src_ipv4, t->src_port, in qede_flow_stringify_ipv4_hdr()
1495 ports[0] = t->src_port; in qede_flow_build_ipv6_hdr()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c464 static int lan966x_fdma_rx_check_frame(struct lan966x_rx *rx, u64 *src_port) in lan966x_fdma_rx_check_frame() argument
482 src_port); in lan966x_fdma_rx_check_frame()
483 if (WARN_ON(*src_port >= lan966x->num_phys_ports)) in lan966x_fdma_rx_check_frame()
486 port = lan966x->ports[*src_port]; in lan966x_fdma_rx_check_frame()
494 u64 src_port) in lan966x_fdma_rx_get_frame() argument
517 skb->dev = lan966x->ports[src_port]->dev; in lan966x_fdma_rx_get_frame()
523 lan966x_ptp_rxtstamp(lan966x, skb, src_port, timestamp); in lan966x_fdma_rx_get_frame()
526 if (lan966x->bridge_mask & BIT(src_port)) { in lan966x_fdma_rx_get_frame()
530 if (!lan966x_hw_offload(lan966x, src_port, skb)) in lan966x_fdma_rx_get_frame()
556 u64 src_port; in lan966x_fdma_napi_poll() local
[all …]
/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport_common.c48 u32 src_port, in virtio_transport_alloc_skb() argument
67 hdr->src_port = cpu_to_le32(src_port); in virtio_transport_alloc_skb()
92 trace_virtio_transport_alloc_pkt(src_cid, src_port, in virtio_transport_alloc_skb()
138 hdr->src_port = pkt_hdr->src_port; in virtio_transport_build_skb()
202 u32 src_cid, src_port, dst_cid, dst_port; in virtio_transport_send_pkt_info() local
216 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info()
243 src_cid, src_port, in virtio_transport_send_pkt_info()
970 le32_to_cpu(hdr->src_port)); in virtio_transport_reset_no_sock()
1262 .remote_port = le32_to_cpu(hdr->src_port), in virtio_transport_send_response()
1332 le32_to_cpu(hdr->src_port)); in virtio_transport_recv_listen()
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-platform.c40 if (conn->src_port != -1 && in coresight_add_out_conn()
41 conn->src_port == new_conn->src_port) { in coresight_add_out_conn()
43 conn->src_port); in coresight_add_out_conn()
234 conn.src_port = endpoint.port; in of_coresight_parse_endpoint()
625 conn->src_port = fields[0].integer.value; in acpi_coresight_parse_link()
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h40 u16 src_port; member
54 u16 src_port; member
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c75 dst->src_port = src->src_port; in skcpy()
144 if (sk->src_port == bpf_ntohs(srv_sa6.sin6_port)) { in egress_read_sock_fields()
232 sk->src_port != bpf_ntohs(srv_sa6.sin6_port)) in ingress_read_sock_fields()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_mrp.c50 static int ocelot_mrp_redirect_add_vcap(struct ocelot *ocelot, int src_port, in ocelot_mrp_redirect_add_vcap() argument
63 filter->id.cookie = OCELOT_VCAP_IS2_MRP_REDIRECT(ocelot, src_port); in ocelot_mrp_redirect_add_vcap()
67 filter->ingress_port_mask = BIT(src_port); in ocelot_mrp_redirect_add_vcap()

1234567