Home
last modified time | relevance | path

Searched refs:svm_port (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/net/vmw_vsock/
Dvsock_addr.c19 addr->svm_port = port; in vsock_addr_init()
42 return addr->svm_port != VMADDR_PORT_ANY; in vsock_addr_bound()
56 addr->svm_port == other->svm_port; in vsock_addr_equals_addr()
Dhyperv_transport.c88 unsigned int svm_port; member
341 vnew->remote_addr.svm_port = get_port_by_srv_id(if_instance); in hvs_open_connection()
464 vm.svm_port = vsk->local_addr.svm_port; in hvs_connect()
468 host.svm_port = vsk->remote_addr.svm_port; in hvs_connect()
Daf_vsock.c162 #define VSOCK_HASH(addr) ((addr)->svm_port % VSOCK_HASH_SIZE)
168 (((src)->svm_cid ^ (dst)->svm_port) % VSOCK_HASH_SIZE)
238 if (addr->svm_port == vsk->local_addr.svm_port && in __vsock_find_bound_socket()
255 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket()
632 vsock_addr_init(&new_addr, addr->svm_cid, addr->svm_port); in __vsock_bind_connectible()
634 if (addr->svm_port == VMADDR_PORT_ANY) { in __vsock_bind_connectible()
642 new_addr.svm_port = port++; in __vsock_bind_connectible()
656 if (addr->svm_port <= LAST_RESERVED_PORT && in __vsock_bind_connectible()
665 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port); in __vsock_bind_connectible()
1197 remote_addr->svm_port)) { in vsock_dgram_sendmsg()
[all …]
Ddiag.c38 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill()
40 rep->vdiag_dst_port = vsk->remote_addr.svm_port; in sk_diag_fill()
Dvmci_transport.c132 pkt->src_port = src->svm_port; in vmci_transport_packet_init()
133 pkt->dst_port = dst->svm_port; in vmci_transport_packet_init()
494 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending()
1311 || pkt->src_port != vsk->remote_addr.svm_port in vmci_transport_recv_connecting_client()
1673 port = addr->svm_port == VMADDR_PORT_ANY ? in vmci_transport_dgram_bind()
1674 VMCI_INVALID_ID : addr->svm_port; in vmci_transport_dgram_bind()
1717 remote_addr->svm_port); in vmci_transport_dgram_enqueue()
1719 vsk->local_addr.svm_port); in vmci_transport_dgram_enqueue()
Dvirtio_transport_common.c205 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info()
208 dst_port = vsk->remote_addr.svm_port; in virtio_transport_send_pkt_info()
1252 trace_virtio_transport_recv_pkt(src.svm_cid, src.svm_port, in virtio_transport_recv_pkt()
1253 dst.svm_cid, dst.svm_port, in virtio_transport_recv_pkt()
/Linux-v6.1/include/uapi/linux/
Dvm_sockets.h181 unsigned int svm_port; member
/Linux-v6.1/tools/testing/vsock/
Dutil.c95 .svm_port = port, in vsock_connect()
145 .svm_port = port, in vsock_accept()
Dvsock_test.c35 .svm_port = 1234, in test_stream_connection_reset()
71 .svm_port = 1234, in test_stream_bind_only_client()
113 .svm_port = 1234, in test_stream_bind_only_server()
Dvsock_diag_test.c345 .svm_port = 1234, in test_listen_socket_server()
/Linux-v6.1/samples/nitro_enclaves/
Dne_ioctl_sample.c662 .svm_port = NE_IMAGE_LOAD_HEARTBEAT_PORT, in ne_start_enclave_check_booted()