Lines Matching refs:local_addr
161 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr)
171 struct sockaddr_vm local_addr; in vsock_auto_bind() local
173 if (vsock_addr_bound(&vsk->local_addr)) in vsock_auto_bind()
175 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind()
176 return __vsock_bind(sk, &local_addr); in vsock_auto_bind()
221 if (addr->svm_port == vsk->local_addr.svm_port) in __vsock_find_bound_socket()
235 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket()
263 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected()
524 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port); in __vsock_bind_stream()
531 __vsock_insert_bound(vsock_bound_sockets(&vsk->local_addr), vsk); in __vsock_bind_stream()
549 if (vsock_addr_bound(&vsk->local_addr)) in __vsock_bind()
604 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
690 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
768 vm_addr = &vsk->local_addr; in vsock_getname()
1345 if (!vsock_addr_bound(&vsk->local_addr)) { in vsock_listen()
1544 !vsock_addr_bound(&vsk->local_addr)) { in vsock_stream_sendmsg()