Home
last modified time | relevance | path

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

/net/dsa/
Dtag_ocelot_8021q.c57 int src_port, switch_id; in ocelot_rcv() local
59 dsa_8021q_rcv(skb, &src_port, &switch_id); in ocelot_rcv()
61 skb->dev = dsa_master_find_slave(netdev, switch_id, src_port); in ocelot_rcv()
Dtag_ocelot.c59 u64 src_port, qos_class; in ocelot_rcv() local
91 ocelot_xfh_get_src_port(extraction, &src_port); in ocelot_rcv()
97 skb->dev = dsa_master_find_slave(netdev, 0, src_port); in ocelot_rcv()
/net/vmw_vsock/
Dvirtio_transport_common.c48 u32 src_port, in virtio_transport_alloc_pkt() argument
63 pkt->hdr.src_port = cpu_to_le32(src_port); in virtio_transport_alloc_pkt()
91 trace_virtio_transport_alloc_pkt(src_cid, src_port, in virtio_transport_alloc_pkt()
132 hdr->src_port = pkt->hdr.src_port; in virtio_transport_build_skb()
196 u32 src_cid, src_port, dst_cid, dst_port; in virtio_transport_send_pkt_info() local
209 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info()
232 src_cid, src_port, in virtio_transport_send_pkt_info()
859 le32_to_cpu(pkt->hdr.src_port)); in virtio_transport_reset_no_sock()
1150 .remote_port = le32_to_cpu(pkt->hdr.src_port), in virtio_transport_send_response()
1218 le32_to_cpu(pkt->hdr.src_port)); in virtio_transport_recv_listen()
[all …]
Dvmci_transport.c132 pkt->src_port = src->svm_port; in vmci_transport_packet_init()
181 vsock_addr_init(remote, pkt->dg.src.context, pkt->src_port); in vmci_transport_packet_get_addresses()
333 pkt->src_port); in vmci_transport_send_reset()
487 vsock_addr_init(&src, pkt->dg.src.context, pkt->src_port); in vmci_transport_get_pending()
703 vsock_addr_init(&src, pkt->dg.src.context, pkt->src_port); in vmci_transport_recv_stream_cb()
1023 pkt->src_port); in vmci_transport_recv_listen()
1315 || pkt->src_port != vsk->remote_addr.svm_port in vmci_transport_recv_connecting_client()
Dvmci_transport.h65 u32 src_port; member
/net/ipv6/
Dip6_udp_tunnel.c81 __be16 src_port, __be16 dst_port, bool nocheck) in udp_tunnel6_xmit_skb() argument
91 uh->source = src_port; in udp_tunnel6_xmit_skb()
/net/qrtr/
Daf_qrtr.c76 u32 src_port; member
466 cb->src_port = le32_to_cpu(v1->src_port_id); in qrtr_endpoint_post()
482 cb->src_port = le16_to_cpu(v2->src_port_id); in qrtr_endpoint_post()
486 if (cb->src_port == (u16)QRTR_PORT_CTRL) in qrtr_endpoint_post()
487 cb->src_port = QRTR_PORT_CTRL; in qrtr_endpoint_post()
860 cb->src_port = from->sq_port; in qrtr_local_enqueue()
1000 struct sockaddr_qrtr remote = { AF_QIPCRTR, cb->src_node, cb->src_port }; in qrtr_send_resume_tx()
1069 addr->sq_port = cb->src_port; in qrtr_recvmsg()
/net/ipv4/
Dudp_tunnel_core.c158 __be16 df, __be16 src_port, __be16 dst_port, in udp_tunnel_xmit_skb() argument
168 uh->source = src_port; in udp_tunnel_xmit_skb()
/net/appletalk/
Dddp.c97 if (to->sat_port != at->src_port) in atalk_search_socket()
147 at->src_port == sat->sat_port) in atalk_find_or_insert_socket()
1098 at->src_port == sat->sat_port) in atalk_pick_and_bind_port()
1104 at_sk(sk)->src_port = sat->sat_port; in atalk_pick_and_bind_port()
1178 at->src_port = addr->sat_port; in atalk_bind()
1275 sat.sat_port = at->src_port; in atalk_getname()
1679 ddp->deh_sport = at->src_port; in atalk_sendmsg()
Datalk_proc.c179 s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, in atalk_seq_socket_show()
/net/netfilter/
Dnf_flow_table_core.c42 ft->src_port = ctt->src.u.tcp.port; in flow_offload_fill_dir()
506 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_port; in nf_flow_snat_port()
527 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_port; in nf_flow_dnat_port()
Dxt_hashlimit.c85 __be16 src_port; member
703 dst->src_port = ports[0]; in hashlimit_init_dst()
1102 ntohs(ent->dst.src_port), in dl_seq_print()
1113 ntohs(ent->dst.src_port), in dl_seq_print()
Dnf_flow_table_ip.c208 tuple->src_port = ports->source; in nf_flow_tuple_ip()
549 tuple->src_port = ports->source; in nf_flow_tuple_ipv6()
Dnf_flow_table_offload.c181 key->tp.src = tuple->src_port; in nf_flow_rule_match()
470 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_port); in flow_offload_port_snat()
494 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_port); in flow_offload_port_dnat()
/net/netfilter/ipvs/
Dip_vs_core.c254 struct sk_buff *skb, __be16 src_port, __be16 dst_port, in ip_vs_sched_persist() argument
288 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
398 src_port, dst_addr, dst_port, &param); in ip_vs_sched_persist()
/net/sched/
Dact_ct.c456 tuple->src_port = ports->source; in tcf_ct_flow_table_fill_tuple_ipv4()
498 tuple->src_port = ports->source; in tcf_ct_flow_table_fill_tuple_ipv6()
/net/openvswitch/
Dconntrack.c307 orig.src_port = output->ct.orig_tp.src; in ovs_ct_put_key()
322 orig.src_port = output->ct.orig_tp.src; in ovs_ct_put_key()
Dflow_netlink.c1244 SW_FLOW_KEY_PUT(match, ct.orig_tp.src, ct->src_port, is_mask); in metadata_from_nlattrs()
1260 SW_FLOW_KEY_PUT(match, ct.orig_tp.src, ct->src_port, is_mask); in metadata_from_nlattrs()
/net/core/
Dfilter.c8073 case bpf_ctx_range(struct bpf_sock, src_port): in __sock_filter_check_attach_type()
8116 case offsetof(struct bpf_sock, src_port): in bpf_sock_is_valid_access()
9166 case offsetof(struct bpf_sock, src_port): in bpf_sock_convert_ctx_access()
/net/wireless/
Dnl80211.c13020 nla_put_u16(msg, NL80211_WOWLAN_TCP_SRC_PORT, tcp->src_port) || in nl80211_send_wowlan_tcp()
13318 cfg->src_port = inet_sk(cfg->sock->sk)->inet_num; in nl80211_parse_wowlan_tcp()
13324 cfg->src_port = port; in nl80211_parse_wowlan_tcp()