Lines Matching refs:local_addr
180 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr)
193 struct sockaddr_vm local_addr;
195 if (vsock_addr_bound(&vsk->local_addr))
197 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY);
198 return __vsock_bind(sk, &local_addr);
243 if (vsock_addr_equals_addr(addr, &vsk->local_addr))
246 if (addr->svm_port == vsk->local_addr.svm_port &&
247 (vsk->local_addr.svm_cid == VMADDR_CID_ANY ||
263 dst->svm_port == vsk->local_addr.svm_port) {
281 &vsk->remote_addr, &vsk->local_addr);
458 if (psk && vsk->local_addr.svm_cid > VMADDR_CID_HOST &&
672 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port);
680 __vsock_insert_bound(vsock_bound_sockets(&vsk->local_addr), vsk);
697 if (vsock_addr_bound(&vsk->local_addr))
755 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY);
847 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY);
966 vm_addr = &vsk->local_addr;
1684 if (!vsock_addr_bound(&vsk->local_addr)) {
1932 !vsock_addr_bound(&vsk->local_addr)) {