Home
last modified time | relevance | path

Searched refs:local_addr (Results 1 – 4 of 4) sorted by relevance

/net/vmw_vsock/
Daf_vsock.c161 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()
[all …]
Dvmci_transport.c290 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_control_pkt()
300 err = __vmci_transport_send_control_pkt(pkt, &vsk->local_addr, in vmci_transport_send_control_pkt()
484 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending()
752 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb()
919 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work()
978 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen()
1033 vsock_addr_init(&vpending->local_addr, pkt->dg.dst.context, in vmci_transport_recv_listen()
1201 vpending->remote_addr.svm_cid == vpending->local_addr.svm_cid; in vmci_transport_recv_connecting_server()
1420 if (vsk->local_addr.svm_cid == VMADDR_CID_ANY) in vmci_transport_recv_connecting_client_negotiate()
1421 vsk->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_connecting_client_negotiate()
[all …]
/net/rds/
Drdma.c834 if (args->local_addr & 0x7) { in rds_cmsg_atomic()
839 ret = rds_pin_pages(args->local_addr, 1, &page, 1); in rds_cmsg_atomic()
844 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
Dtcp.c170 tsinfo.local_addr = sin.sin_addr.s_addr; in rds_tcp_tc_info()