Searched refs:local_addr (Results 1 – 8 of 8) sorted by relevance
/net/vmw_vsock/ |
D | af_vsock.c | 170 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr) 183 struct sockaddr_vm local_addr; in vsock_auto_bind() local 185 if (vsock_addr_bound(&vsk->local_addr)) in vsock_auto_bind() 187 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind() 188 return __vsock_bind(sk, &local_addr); in vsock_auto_bind() 234 if (addr->svm_port == vsk->local_addr.svm_port) in __vsock_find_bound_socket() 248 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket() 266 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected() 516 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port); in __vsock_bind_stream() 523 __vsock_insert_bound(vsock_bound_sockets(&vsk->local_addr), vsk); in __vsock_bind_stream() [all …]
|
D | vmci_transport.c | 296 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_control_pkt() 302 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, in vmci_transport_send_control_pkt() 332 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_reset() 342 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, dst_ptr, in vmci_transport_send_reset() 500 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending() 768 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb() 830 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach() 911 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work() 970 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen() 1025 vsock_addr_init(&vpending->local_addr, pkt->dg.dst.context, in vmci_transport_recv_listen() [all …]
|
D | diag.c | 37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill() 38 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill()
|
D | hyperv_transport.c | 431 hvs_addr_init(&vnew->local_addr, if_type); in hvs_open_connection() 432 hvs_remote_addr_init(&vnew->remote_addr, &vnew->local_addr); in hvs_open_connection() 483 vm.svm_port = vsk->local_addr.svm_port; in hvs_connect()
|
D | virtio_transport_common.c | 172 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info() 1029 vsock_addr_init(&vchild->local_addr, le64_to_cpu(pkt->hdr.dst_cid), in virtio_transport_recv_listen() 1108 vsk->local_addr.svm_cid = dst.svm_cid; in virtio_transport_recv_pkt()
|
/net/rds/ |
D | rdma.c | 836 if (args->local_addr & 0x7) { in rds_cmsg_atomic() 841 ret = rds_pin_pages(args->local_addr, 1, &page, 1); in rds_cmsg_atomic() 846 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
|
D | tcp.c | 260 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info() 304 tsinfo6.local_addr = sk->sk_v6_rcv_saddr; in rds6_tcp_tc_info()
|
/net/bluetooth/ |
D | smp.c | 1438 u8 a[7], b[7], *local_addr, *remote_addr; in sc_dhkey_check() local 1447 local_addr = a; in sc_dhkey_check() 1451 local_addr = b; in sc_dhkey_check() 1465 local_addr, remote_addr, check.e); in sc_dhkey_check() 2809 u8 a[7], b[7], *local_addr, *remote_addr; in smp_cmd_dhkey_check() local 2824 local_addr = a; in smp_cmd_dhkey_check() 2828 local_addr = b; in smp_cmd_dhkey_check() 2841 io_cap, remote_addr, local_addr, e); in smp_cmd_dhkey_check()
|