Home
last modified time | relevance | path

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

/net/vmw_vsock/
Dvmci_transport.c290 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()
823 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach()
905 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work()
962 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen()
1016 vsock_addr_init(&vpending->local_addr, pkt->dg.dst.context, in vmci_transport_recv_listen()
[all …]
Daf_vsock.c177 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr)
190 struct sockaddr_vm local_addr; in vsock_auto_bind() local
192 if (vsock_addr_bound(&vsk->local_addr)) in vsock_auto_bind()
194 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind()
195 return __vsock_bind(sk, &local_addr); in vsock_auto_bind()
240 if (vsock_addr_equals_addr(addr, &vsk->local_addr)) in __vsock_find_bound_socket()
243 if (addr->svm_port == vsk->local_addr.svm_port && in __vsock_find_bound_socket()
244 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket()
260 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket()
278 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected()
[all …]
Ddiag.c37 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()
Dvirtio_transport_common.c220 src_port = vsk->local_addr.svm_port; in virtio_transport_send_pkt_info()
1333 vsock_addr_init(&vchild->local_addr, le64_to_cpu(hdr->dst_cid), in virtio_transport_recv_listen()
1437 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()
1438 vsk->local_addr.svm_cid = dst.svm_cid; in virtio_transport_recv_pkt()
Dhyperv_transport.c336 hvs_addr_init(&vnew->local_addr, if_type); in hvs_open_connection()
464 vm.svm_port = vsk->local_addr.svm_port; in hvs_connect()
/net/rds/
Drdma.c922 if (args->local_addr & 0x7) { in rds_cmsg_atomic()
927 ret = rds_pin_pages(args->local_addr, 1, &page, 1); in rds_cmsg_atomic()
932 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
Dtcp.c250 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/mctp/
Droute.c79 if (!mctp_address_matches(key->local_addr, local)) in mctp_key_match()
144 key->local_addr = local; in mctp_key_alloc()
188 if (mctp_key_match(tmp, key->local_addr, key->peer_addr, in mctp_key_add()
639 mctp_address_matches(tmp->local_addr, saddr))) in mctp_alloc_local_tag()
/net/bluetooth/
Dsmp.c1458 u8 a[7], b[7], *local_addr, *remote_addr; in sc_dhkey_check() local
1467 local_addr = a; in sc_dhkey_check()
1471 local_addr = b; in sc_dhkey_check()
1485 local_addr, remote_addr, check.e); in sc_dhkey_check()
2895 u8 a[7], b[7], *local_addr, *remote_addr; in smp_cmd_dhkey_check() local
2910 local_addr = a; in smp_cmd_dhkey_check()
2914 local_addr = b; in smp_cmd_dhkey_check()
2927 io_cap, remote_addr, local_addr, e); in smp_cmd_dhkey_check()