Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/include/trace/events/
Dvsock_virtio_transport_common.h41 __u32 src_cid, __u32 src_port,
50 src_cid, src_port,
60 __field(__u32, src_port)
71 __entry->src_port = src_port;
81 __entry->src_cid, __entry->src_port,
91 __u32 src_cid, __u32 src_port,
101 src_cid, src_port,
112 __field(__u32, src_port)
124 __entry->src_port = src_port;
136 __entry->src_cid, __entry->src_port,
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_concat_range.sh540 [ -n "${src_port}" ] && src_port="-us ${src_port}"
545 B sendip -p ipv4 -p udp ${src_addr4} ${src_port} \
548 src_port=
557 if [ -n "${src_port}" ];then
558 __socatbind="${__socatbind}:${src_port}"
568 src_port=
594 [ -n "${src_port}" ] && src_port="-us ${src_port}"
605 B sendip -p ipv6 -p udp ${src_addr6} ${src_port} \
608 src_port=
624 if [ -n "${src_port}" ] ;then
[all …]
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c14 u16 *src_port, *dest_port; member
68 if (ai->src_port) in mtk_print_addr_info()
69 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info()
110 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show()
118 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
135 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.12.1/drivers/thunderbolt/
Dtb.c483 struct tb_port *src_port, in tb_find_tunnel() argument
491 ((src_port && src_port == tunnel->src_port) || in tb_find_tunnel()
501 struct tb_port *src_port, in tb_find_first_usb3_tunnel() argument
508 if (tb_port_path_direction_downstream(src_port, dst_port)) in tb_find_first_usb3_tunnel()
511 sw = src_port->sw; in tb_find_first_usb3_tunnel()
542 struct tb_port *src_port, in tb_consumed_usb3_pcie_bandwidth() argument
553 tunnel = tb_find_first_usb3_tunnel(tb, src_port, dst_port); in tb_consumed_usb3_pcie_bandwidth()
554 if (tunnel && !tb_port_is_usb3_down(src_port) && in tb_consumed_usb3_pcie_bandwidth()
594 struct tb_port *src_port, in tb_consumed_dp_bandwidth() argument
630 group = tunnel->src_port->group; in tb_consumed_dp_bandwidth()
[all …]
Dtunnel.c176 if ((usb4_switch_version(tunnel->src_port->sw) < 2) || in tb_pci_set_ext_encapsulation()
183 ret = usb4_pci_port_set_ext_encapsulation(tunnel->src_port, enable); in tb_pci_set_ext_encapsulation()
217 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
223 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
308 tunnel->src_port = down; in tb_tunnel_discover_pci()
341 if (down != tunnel->src_port) { in tb_tunnel_discover_pci()
385 tunnel->src_port = down; in tb_tunnel_alloc_pci()
657 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
756 struct tb_port *in = tunnel->src_port; in tb_dp_bandwidth_alloc_mode_enable()
856 struct tb_port *in = tunnel->src_port; in tb_dp_init()
[all …]
Dtunnel.h51 struct tb_port *src_port; member
144 return tb_port_path_direction_downstream(tunnel->src_port, in tb_tunnel_direction_downstream()
154 tb_route(__tunnel->src_port->sw), \
155 __tunnel->src_port->port, \
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.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c124 struct device_node *src_port; in omapdss_of_find_source_for_first_ep() local
131 src_port = of_graph_get_remote_port(ep); in omapdss_of_find_source_for_first_ep()
133 if (!src_port) in omapdss_of_find_source_for_first_ep()
136 src = omap_dss_find_output_by_port_node(src_port); in omapdss_of_find_source_for_first_ep()
138 of_node_put(src_port); in omapdss_of_find_source_for_first_ep()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dftrace-tcp.c34 int src_port; member
59 int src_port, int dst_port, int L3index, in __trace_event_expect() argument
68 .src_port = src_port, in __trace_event_expect()
122 unsigned int src_port; member
159 if (p->src_port >= 0 && p->src_port != e->src_port) in lookup_expected_event()
381 if (src && tracer_scan_address(out->family, src, &out->src, &out->src_port)) { in tracer_scan_event()
429 src, e->src_port, dst, e->dst_port, e->L3index, in dump_trace_event()
Daolib.h699 int src_port, int dst_port, int L3index,
705 int src_port, int dst_port, int L3index, in trace_hash_event_expect() argument
711 src_port, dst_port, L3index, in trace_hash_event_expect()
720 int src_port, int dst_port, int L3index, in trace_ao_event_expect() argument
727 src_port, dst_port, L3index, in trace_ao_event_expect()
736 int src_port, int dst_port, in trace_ao_event_sk_expect() argument
742 src_port, dst_port, -1, in trace_ao_event_sk_expect()
751 int src_port, int dst_port, int sne) in trace_ao_event_sne_expect() argument
756 src_port, dst_port, -1, in trace_ao_event_sne_expect()
/linux-6.12.1/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.12.1/net/dsa/
Dtag_vsc73xx_8021q.c38 int src_port = -1, switch_id = -1, vbid = -1, vid = -1; in vsc73xx_rcv() local
40 dsa_8021q_rcv(skb, &src_port, &switch_id, &vbid, &vid); in vsc73xx_rcv()
42 skb->dev = dsa_tag_8021q_find_user(netdev, src_port, switch_id, in vsc73xx_rcv()
Dtag_ocelot_8021q.c82 int src_port, switch_id; in ocelot_rcv() local
84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL, NULL); in ocelot_rcv()
86 skb->dev = dsa_conduit_find_user(netdev, switch_id, src_port); in ocelot_rcv()
Dtag_ocelot.c73 u64 src_port, qos_class; in ocelot_rcv() local
105 ocelot_xfh_get_src_port(extraction, &src_port); in ocelot_rcv()
111 skb->dev = dsa_conduit_find_user(netdev, 0, src_port); in ocelot_rcv()
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_flow_rule.c44 fsp->h_u.tcp_ip4_spec.psrc = flow_rule->key.src_port; in gve_fill_ethtool_flow_spec()
49 fsp->m_u.tcp_ip4_spec.psrc = flow_rule->mask.src_port; in gve_fill_ethtool_flow_spec()
71 fsp->h_u.tcp_ip6_spec.psrc = flow_rule->key.src_port; in gve_fill_ethtool_flow_spec()
78 fsp->m_u.tcp_ip6_spec.psrc = flow_rule->mask.src_port; in gve_fill_ethtool_flow_spec()
143 rule->key.src_port = fsp->h_u.tcp_ip4_spec.psrc; in gve_generate_flow_rule()
147 rule->mask.src_port = fsp->m_u.tcp_ip4_spec.psrc; in gve_generate_flow_rule()
166 rule->key.src_port = fsp->h_u.tcp_ip6_spec.psrc; in gve_generate_flow_rule()
172 rule->mask.src_port = fsp->m_u.tcp_ip6_spec.psrc; in gve_generate_flow_rule()
/linux-6.12.1/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.12.1/drivers/net/ethernet/intel/ice/
Dice_fdir.c943 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
958 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
973 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
1066 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1079 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1092 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1236 a->ip.v4.src_port == b->ip.v4.src_port) in ice_fdir_comp_rules()
1252 a->ip.v6.src_port == b->ip.v6.src_port && in ice_fdir_comp_rules()
1261 a->ip.v6.src_port == b->ip.v6.src_port) in ice_fdir_comp_rules()
Dice_ethtool_fdir.c165 fsp->h_u.tcp_ip4_spec.psrc = rule->ip.v4.src_port; in ice_get_ethtool_fdir_entry()
169 fsp->m_u.tcp_ip4_spec.psrc = rule->mask.v4.src_port; in ice_get_ethtool_fdir_entry()
197 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
205 fsp->m_u.tcp_ip6_spec.psrc = rule->mask.v6.src_port; in ice_get_ethtool_fdir_entry()
795 enum ice_flow_field src_addr, dst_addr, src_port, dst_port; in ice_set_init_fdir_seg() local
811 src_port = ICE_FLOW_FIELD_IDX_TCP_SRC_PORT; in ice_set_init_fdir_seg()
814 src_port = ICE_FLOW_FIELD_IDX_UDP_SRC_PORT; in ice_set_init_fdir_seg()
831 ice_flow_set_fld(seg, src_port, ICE_FLOW_FLD_OFF_INVAL, in ice_set_init_fdir_seg()
929 enum ice_flow_field src_port, dst_port; in ice_set_fdir_ip4_seg() local
941 src_port = ICE_FLOW_FIELD_IDX_TCP_SRC_PORT; in ice_set_fdir_ip4_seg()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c75 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()
403 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
404 tcph->source = fltr->ip_data.src_port; in iavf_fill_fdir_tcp_hdr()
432 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
433 udph->source = fltr->ip_data.src_port; in iavf_fill_fdir_udp_hdr()
464 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr()
465 sctph->source = fltr->ip_data.src_port; in iavf_fill_fdir_sctp_hdr()
728 ntohs(fltr->ip_data.src_port)); in iavf_print_fdir_fltr()
756 ntohs(fltr->ip_data.src_port)); in iavf_print_fdir_fltr()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c391 static int lan966x_fdma_rx_check_frame(struct lan966x_rx *rx, u64 *src_port) in lan966x_fdma_rx_check_frame() argument
410 src_port); in lan966x_fdma_rx_check_frame()
411 if (WARN_ON(*src_port >= lan966x->num_phys_ports)) in lan966x_fdma_rx_check_frame()
414 port = lan966x->ports[*src_port]; in lan966x_fdma_rx_check_frame()
422 u64 src_port) in lan966x_fdma_rx_get_frame() argument
446 skb->dev = lan966x->ports[src_port]->dev; in lan966x_fdma_rx_get_frame()
452 lan966x_ptp_rxtstamp(lan966x, skb, src_port, timestamp); in lan966x_fdma_rx_get_frame()
455 if (lan966x->bridge_mask & BIT(src_port)) { in lan966x_fdma_rx_get_frame()
459 if (!lan966x_hw_offload(lan966x, src_port, skb)) in lan966x_fdma_rx_get_frame()
482 u64 src_port; in lan966x_fdma_napi_poll() local
[all …]
/linux-6.12.1/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.12.1/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 …]

1234567