Home
last modified time | relevance | path

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

/linux-6.12.1/include/net/
Dvsock_addr.h13 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port);
14 int vsock_addr_validate(const struct sockaddr_vm *addr);
15 bool vsock_addr_bound(const struct sockaddr_vm *addr);
16 void vsock_addr_unbind(struct sockaddr_vm *addr);
17 bool vsock_addr_equals_addr(const struct sockaddr_vm *addr,
18 const struct sockaddr_vm *other);
20 struct sockaddr_vm **out_addr);
Daf_vsock.h32 struct sockaddr_vm local_addr;
33 struct sockaddr_vm remote_addr;
122 int (*dgram_bind)(struct vsock_sock *, struct sockaddr_vm *);
125 int (*dgram_enqueue)(struct vsock_sock *, struct sockaddr_vm *,
216 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr);
217 struct sock *vsock_find_connected_socket(struct sockaddr_vm *src,
218 struct sockaddr_vm *dst);
/linux-6.12.1/net/vmw_vsock/
Dvsock_addr.c14 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init()
23 int vsock_addr_validate(const struct sockaddr_vm *addr) in vsock_addr_validate()
40 bool vsock_addr_bound(const struct sockaddr_vm *addr) in vsock_addr_bound()
46 void vsock_addr_unbind(struct sockaddr_vm *addr) in vsock_addr_unbind()
52 bool vsock_addr_equals_addr(const struct sockaddr_vm *addr, in vsock_addr_equals_addr()
53 const struct sockaddr_vm *other) in vsock_addr_equals_addr()
61 size_t len, struct sockaddr_vm **out_addr) in vsock_addr_cast()
66 *out_addr = (struct sockaddr_vm *)addr; in vsock_addr_cast()
Dvmci_transport.h119 int vmci_transport_send_wrote_bh(struct sockaddr_vm *dst,
120 struct sockaddr_vm *src);
121 int vmci_transport_send_read_bh(struct sockaddr_vm *dst,
122 struct sockaddr_vm *src);
Dvmci_transport_notify.c108 struct sockaddr_vm *dst, in vmci_transport_handle_waiting_read()
109 struct sockaddr_vm *src) in vmci_transport_handle_waiting_read()
138 struct sockaddr_vm *dst, in vmci_transport_handle_waiting_write()
139 struct sockaddr_vm *src) in vmci_transport_handle_waiting_write()
168 struct sockaddr_vm *dst, struct sockaddr_vm *src) in vmci_transport_handle_read()
304 struct sockaddr_vm *dst, struct sockaddr_vm *src) in vmci_transport_handle_wrote()
602 struct sockaddr_vm *dst, in vmci_transport_notify_pkt_handle_pkt()
603 struct sockaddr_vm *src, bool *pkt_processed) in vmci_transport_notify_pkt_handle_pkt()
Dvmci_transport.c113 struct sockaddr_vm *src, in vmci_transport_packet_init()
114 struct sockaddr_vm *dst, in vmci_transport_packet_init()
177 struct sockaddr_vm *local, in vmci_transport_packet_get_addresses()
178 struct sockaddr_vm *remote) in vmci_transport_packet_get_addresses()
186 struct sockaddr_vm *src, in __vmci_transport_send_control_pkt()
187 struct sockaddr_vm *dst, in __vmci_transport_send_control_pkt()
216 struct sockaddr_vm src, dst; in vmci_transport_reply_control_pkt_fast()
231 vmci_transport_send_control_pkt_bh(struct sockaddr_vm *src, in vmci_transport_send_control_pkt_bh()
232 struct sockaddr_vm *dst, in vmci_transport_send_control_pkt_bh()
253 vmci_transport_alloc_send_control_pkt(struct sockaddr_vm *src, in vmci_transport_alloc_send_control_pkt()
[all …]
Dvmci_transport_notify_qstate.c76 struct sockaddr_vm *dst, struct sockaddr_vm *src) in vmci_transport_handle_read()
85 struct sockaddr_vm *dst, struct sockaddr_vm *src) in vmci_transport_handle_wrote()
346 struct sockaddr_vm *dst, in vmci_transport_notify_pkt_handle_pkt()
347 struct sockaddr_vm *src, bool *pkt_processed) in vmci_transport_notify_pkt_handle_pkt()
Dvmci_transport_notify.h47 bool bottom_half, struct sockaddr_vm *dst,
48 struct sockaddr_vm *src,
Daf_vsock.c117 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr);
191 struct sockaddr_vm local_addr; in vsock_auto_bind()
236 static struct sock *__vsock_find_bound_socket(struct sockaddr_vm *addr) in __vsock_find_bound_socket()
253 static struct sock *__vsock_find_connected_socket(struct sockaddr_vm *src, in __vsock_find_connected_socket()
254 struct sockaddr_vm *dst) in __vsock_find_connected_socket()
305 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr) in vsock_find_bound_socket()
320 struct sock *vsock_find_connected_socket(struct sockaddr_vm *src, in vsock_find_connected_socket()
321 struct sockaddr_vm *dst) in vsock_find_connected_socket()
629 struct sockaddr_vm *addr) in __vsock_bind_connectible()
632 struct sockaddr_vm new_addr; in __vsock_bind_connectible()
[all …]
Dhyperv_transport.c170 static void hvs_addr_init(struct sockaddr_vm *addr, const guid_t *svr_id) in hvs_addr_init()
300 struct sockaddr_vm addr; in hvs_open_connection()
555 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind()
567 struct sockaddr_vm *remote, struct msghdr *msg, in hvs_dgram_enqueue()
Dvirtio_transport_common.c1044 struct sockaddr_vm *addr) in virtio_transport_dgram_bind()
1084 struct sockaddr_vm *remote_addr, in virtio_transport_dgram_enqueue()
1580 struct sockaddr_vm src, dst; in virtio_transport_recv_pkt()
/linux-6.12.1/tools/testing/vsock/
Dutil.h44 struct sockaddr_vm *clientaddrp, int type);
50 struct sockaddr_vm *clientaddrp);
53 struct sockaddr_vm *clientaddrp);
Dutil.c102 struct sockaddr_vm sa_client = { in vsock_bind_connect()
107 struct sockaddr_vm sa_server = { in vsock_bind_connect()
146 struct sockaddr_vm svm; in vsock_connect()
197 struct sockaddr_vm svm; in vsock_listen()
230 struct sockaddr_vm *clientaddrp, int type) in vsock_accept()
234 struct sockaddr_vm svm; in vsock_accept()
274 struct sockaddr_vm *clientaddrp) in vsock_stream_accept()
285 struct sockaddr_vm *clientaddrp) in vsock_seqpacket_accept()
Dvsock_perf.c104 struct sockaddr_vm svm; in vsock_connect()
147 struct sockaddr_vm svm; in run_receiver()
157 struct sockaddr_vm svm; in run_receiver()
Dvsock_test.c35 struct sockaddr_vm svm; in test_stream_connection_reset()
71 struct sockaddr_vm svm; in test_stream_bind_only_client()
113 struct sockaddr_vm svm; in test_stream_bind_only_server()
1195 struct sockaddr_vm sa_client; in test_double_bind_connect_server()
Dvsock_diag_test.c343 struct sockaddr_vm svm; in test_listen_socket_server()
/linux-6.12.1/include/uapi/linux/
Dvm_sockets.h178 struct sockaddr_vm { struct
/linux-6.12.1/include/linux/
Dvirtio_vsock.h236 struct sockaddr_vm *addr);
251 struct sockaddr_vm *remote_addr,
/linux-6.12.1/samples/nitro_enclaves/
Dne_ioctl_sample.c652 struct sockaddr_vm client_vsock_addr = {}; in ne_start_enclave_check_booted()
659 struct sockaddr_vm server_vsock_addr = { in ne_start_enclave_check_booted()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsockmap_helpers.h289 struct sockaddr_vm *addr = memset(ss, 0, sizeof(*ss)); in init_addr_loopback_vsock()