/linux-6.6.21/include/net/ |
D | vsock_addr.h | 13 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);
|
D | af_vsock.h | 32 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/ |
D | vsock_addr.c | 14 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()
|
D | vmci_transport.h | 119 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);
|
D | vmci_transport_notify.c | 108 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()
|
D | vmci_transport.c | 113 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 …]
|
D | vmci_transport_notify_qstate.c | 76 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()
|
D | vmci_transport_notify.h | 47 bool bottom_half, struct sockaddr_vm *dst, 48 struct sockaddr_vm *src,
|
D | af_vsock.c | 116 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 …]
|
D | hyperv_transport.c | 170 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()
|
D | virtio_transport_common.c | 857 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/ |
D | util.c | 91 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()
|
D | util.h | 41 struct sockaddr_vm *clientaddrp); 43 struct sockaddr_vm *clientaddrp);
|
D | vsock_perf.c | 100 struct sockaddr_vm svm; in vsock_connect() 143 struct sockaddr_vm svm; in run_receiver() 153 struct sockaddr_vm svm; in run_receiver()
|
D | vsock_test.c | 31 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()
|
D | vsock_diag_test.c | 341 struct sockaddr_vm svm; in test_listen_socket_server()
|
/linux-6.6.21/include/uapi/linux/ |
D | vm_sockets.h | 178 struct sockaddr_vm { struct
|
/linux-6.6.21/include/linux/ |
D | virtio_vsock.h | 220 struct sockaddr_vm *addr); 235 struct sockaddr_vm *remote_addr,
|
/linux-6.6.21/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 652 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/ |
D | sockmap_helpers.h | 267 struct sockaddr_vm *addr = memset(ss, 0, sizeof(*ss)); in init_addr_loopback_vsock()
|