Home
last modified time | relevance | path

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

/linux-6.6.21/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 *,
210 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr);
211 struct sock *vsock_find_connected_socket(struct sockaddr_vm *src,
212 struct sockaddr_vm *dst);
/linux-6.6.21/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.c116 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr);
190 struct sockaddr_vm local_addr; in vsock_auto_bind()
235 static struct sock *__vsock_find_bound_socket(struct sockaddr_vm *addr) in __vsock_find_bound_socket()
252 static struct sock *__vsock_find_connected_socket(struct sockaddr_vm *src, in __vsock_find_connected_socket()
253 struct sockaddr_vm *dst) in __vsock_find_connected_socket()
304 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr) in vsock_find_bound_socket()
319 struct sock *vsock_find_connected_socket(struct sockaddr_vm *src, in vsock_find_connected_socket()
320 struct sockaddr_vm *dst) in vsock_find_connected_socket()
628 struct sockaddr_vm *addr) in __vsock_bind_connectible()
631 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()
554 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind()
566 struct sockaddr_vm *remote, struct msghdr *msg, in hvs_dgram_enqueue()
Dvirtio_transport_common.c857 struct sockaddr_vm *addr) in virtio_transport_dgram_bind()
897 struct sockaddr_vm *remote_addr, in virtio_transport_dgram_enqueue()
1371 struct sockaddr_vm src, dst; in virtio_transport_recv_pkt()
/linux-6.6.21/tools/testing/vsock/
Dutil.c91 struct sockaddr_vm svm; in vsock_connect()
137 struct sockaddr_vm *clientaddrp, int type) in vsock_accept()
141 struct sockaddr_vm svm; in vsock_accept()
151 struct sockaddr_vm svm; in vsock_accept()
203 struct sockaddr_vm *clientaddrp) in vsock_stream_accept()
209 struct sockaddr_vm *clientaddrp) in vsock_seqpacket_accept()
Dutil.h41 struct sockaddr_vm *clientaddrp);
43 struct sockaddr_vm *clientaddrp);
Dvsock_perf.c100 struct sockaddr_vm svm; in vsock_connect()
143 struct sockaddr_vm svm; in run_receiver()
153 struct sockaddr_vm svm; in run_receiver()
Dvsock_test.c31 struct sockaddr_vm svm; in test_stream_connection_reset()
67 struct sockaddr_vm svm; in test_stream_bind_only_client()
109 struct sockaddr_vm svm; in test_stream_bind_only_server()
Dvsock_diag_test.c341 struct sockaddr_vm svm; in test_listen_socket_server()
/linux-6.6.21/include/uapi/linux/
Dvm_sockets.h178 struct sockaddr_vm { struct
/linux-6.6.21/include/linux/
Dvirtio_vsock.h220 struct sockaddr_vm *addr);
235 struct sockaddr_vm *remote_addr,
/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/prog_tests/
Dsockmap_helpers.h267 struct sockaddr_vm *addr = memset(ss, 0, sizeof(*ss)); in init_addr_loopback_vsock()