Searched refs:local_addr (Results 1 – 9 of 9) sorted by relevance
/net/vmw_vsock/ |
D | vmci_transport.c | 290 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_control_pkt() 296 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, in vmci_transport_send_control_pkt() 326 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_reset() 336 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, dst_ptr, in vmci_transport_send_reset() 494 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending() 761 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb() 828 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach() 909 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work() 966 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen() 1020 vsock_addr_init(&vpending->local_addr, pkt->dg.dst.context, in vmci_transport_recv_listen() [all …]
|
D | af_vsock.c | 171 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr) 184 struct sockaddr_vm local_addr; in vsock_auto_bind() local 186 if (vsock_addr_bound(&vsk->local_addr)) in vsock_auto_bind() 188 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind() 189 return __vsock_bind(sk, &local_addr); in vsock_auto_bind() 234 if (vsock_addr_equals_addr(addr, &vsk->local_addr)) in __vsock_find_bound_socket() 237 if (addr->svm_port == vsk->local_addr.svm_port && in __vsock_find_bound_socket() 238 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket() 254 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket() 272 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected() [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 | virtio_transport_common.c | 209 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info() 1215 vsock_addr_init(&vchild->local_addr, le64_to_cpu(pkt->hdr.dst_cid), in virtio_transport_recv_listen() 1313 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt() 1314 vsk->local_addr.svm_cid = dst.svm_cid; in virtio_transport_recv_pkt()
|
D | hyperv_transport.c | 327 hvs_addr_init(&vnew->local_addr, if_type); in hvs_open_connection() 453 vm.svm_port = vsk->local_addr.svm_port; in hvs_connect()
|
/net/mctp/ |
D | route.c | 74 if (key->local_addr != local) in mctp_key_match() 121 key->local_addr = local; in mctp_key_alloc() 144 if (mctp_key_match(tmp, key->local_addr, key->peer_addr, in mctp_key_add() 507 tmp->local_addr == saddr) in mctp_alloc_local_tag()
|
/net/rds/ |
D | rdma.c | 919 if (args->local_addr & 0x7) { in rds_cmsg_atomic() 924 ret = rds_pin_pages(args->local_addr, 1, &page, 1); in rds_cmsg_atomic() 929 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
|
D | tcp.c | 250 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info() 294 tsinfo6.local_addr = sk->sk_v6_rcv_saddr; in rds6_tcp_tc_info()
|
/net/bluetooth/ |
D | smp.c | 1449 u8 a[7], b[7], *local_addr, *remote_addr; in sc_dhkey_check() local 1458 local_addr = a; in sc_dhkey_check() 1462 local_addr = b; in sc_dhkey_check() 1476 local_addr, remote_addr, check.e); in sc_dhkey_check() 2880 u8 a[7], b[7], *local_addr, *remote_addr; in smp_cmd_dhkey_check() local 2895 local_addr = a; in smp_cmd_dhkey_check() 2899 local_addr = b; in smp_cmd_dhkey_check() 2912 io_cap, remote_addr, local_addr, e); in smp_cmd_dhkey_check()
|