/openbmc/linux/include/net/ |
H A 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);
|
H A 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);
|
/openbmc/linux/net/vmw_vsock/ |
H A 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()
|
H A 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);
|
H A 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()
|
H A D | vmci_transport.c | 113 struct sockaddr_vm *src, in vmci_transport_packet_init() 114 struct sockaddr_vm *dst, in vmci_transport_packet_init() 186 struct sockaddr_vm *src, in __vmci_transport_send_control_pkt() 216 struct sockaddr_vm src, dst; in vmci_transport_reply_control_pkt_fast() 303 struct sockaddr_vm *src, in vmci_transport_send_reset_bh() 317 struct sockaddr_vm *dst_ptr; in vmci_transport_send_reset() 318 struct sockaddr_vm dst; in vmci_transport_send_reset() 408 struct sockaddr_vm *src) in vmci_transport_send_read_bh() 485 struct sockaddr_vm src; in vmci_transport_get_pending() 674 struct sockaddr_vm dst; in vmci_transport_recv_stream_cb() [all …]
|
H A 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()
|
H A D | vmci_transport_notify.h | 47 bool bottom_half, struct sockaddr_vm *dst, 48 struct sockaddr_vm *src,
|
H A D | af_vsock.c | 190 struct sockaddr_vm local_addr; in vsock_auto_bind() 253 struct sockaddr_vm *dst) 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() 683 struct sockaddr_vm *addr) in __vsock_bind_dgram() 914 struct sockaddr_vm *vm_addr; in vsock_bind() 934 struct sockaddr_vm *vm_addr; in vsock_getname() 1153 struct sockaddr_vm *remote_addr; in vsock_dgram_sendmsg() 1227 struct sockaddr_vm *remote_addr; in vsock_dgram_connect() [all …]
|
H A 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() 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()
|
H A 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() 1380 struct sockaddr_vm src, dst; in virtio_transport_recv_pkt()
|
/openbmc/linux/tools/testing/vsock/ |
H A 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()
|
H A D | util.h | 41 struct sockaddr_vm *clientaddrp); 43 struct sockaddr_vm *clientaddrp);
|
H A 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()
|
H A 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()
|
H A D | vsock_diag_test.c | 341 struct sockaddr_vm svm; in test_listen_socket_server()
|
/openbmc/linux/include/uapi/linux/ |
H A D | vm_sockets.h | 178 struct sockaddr_vm { struct
|
/openbmc/linux/include/linux/ |
H A D | virtio_vsock.h | 220 struct sockaddr_vm *addr); 235 struct sockaddr_vm *remote_addr,
|
/openbmc/qemu/util/ |
H A D | qemu-sockets.c | 732 struct sockaddr_vm *svm, in vsock_parse_vaddr_to_sockaddr() 758 const struct sockaddr_vm *svm, Error **errp) in vsock_connect_addr() 789 struct sockaddr_vm svm; in vsock_connect_saddr() 802 struct sockaddr_vm svm; in vsock_listen_saddr() 1370 struct sockaddr_vm *svm = (struct sockaddr_vm *)sa; in socket_sockaddr_to_address_vsock()
|
/openbmc/linux/samples/nitro_enclaves/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_helpers.h | 267 struct sockaddr_vm *addr = memset(ss, 0, sizeof(*ss)); in init_addr_loopback_vsock()
|