Home
last modified time | relevance | path

Searched refs:remote_addr (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.6.21/arch/um/drivers/
Dumcast_user.c45 pri->remote_addr = new_addr(pri->addr, pri->rport); in umcast_user_init()
49 pri->listen_addr = pri->remote_addr; in umcast_user_init()
60 kfree(pri->remote_addr); in umcast_remove()
61 pri->listen_addr = pri->remote_addr = NULL; in umcast_remove()
68 struct sockaddr_in *rsin = pri->remote_addr; in umcast_open()
170 struct sockaddr_in *data_addr = pri->remote_addr; in umcast_user_write()
Dvector_user.c221 result->remote_addr = NULL; in user_init_tap_fds()
275 result->remote_addr = NULL; in user_init_hybrid_fds()
313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds() local
322 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
323 if (remote_addr == NULL) { in user_init_unix_fds()
342 remote_addr->sun_family = AF_UNIX; in user_init_unix_fds()
343 memcpy(remote_addr->sun_path, dst, strlen(dst) + 1); in user_init_unix_fds()
366 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds()
367 printk(UM_KERN_ERR "bess open:cannot connect to %s %i", remote_addr->sun_path, -errno); in user_init_unix_fds()
375 result->remote_addr = remote_addr; in user_init_unix_fds()
[all …]
Dumcast.h16 void *remote_addr; member
Dvector_user.h66 void *remote_addr; member
/linux-6.6.21/net/vmw_vsock/
Daf_vsock.c177 vsock_connected_sockets(&(vsk)->remote_addr, &(vsk)->local_addr)
259 if (vsock_addr_equals_addr(src, &vsk->remote_addr) && in __vsock_find_connected_socket()
278 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected()
443 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport()
456 vsk->remote_addr.svm_cid > VMADDR_CID_HOST) in vsock_assign_transport()
457 vsk->remote_addr.svm_flags |= VMADDR_FLAG_TO_HOST; in vsock_assign_transport()
459 remote_flags = vsk->remote_addr.svm_flags; in vsock_assign_transport()
753 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
844 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
947 vm_addr = &vsk->remote_addr; in vsock_getname()
[all …]
Dvmci_transport.c293 if (!vsock_addr_bound(&vsk->remote_addr)) in vmci_transport_send_control_pkt()
297 &vsk->remote_addr, in vmci_transport_send_control_pkt()
329 if (vsock_addr_bound(&vsk->remote_addr)) { in vmci_transport_send_reset()
330 dst_ptr = &vsk->remote_addr; in vmci_transport_send_reset()
493 if (vsock_addr_equals_addr(&src, &vpending->remote_addr) && in vmci_transport_get_pending()
1018 vsock_addr_init(&vpending->remote_addr, pkt->dg.src.context, in vmci_transport_recv_listen()
1193 vpending->remote_addr.svm_cid == vpending->local_addr.svm_cid; in vmci_transport_recv_connecting_server()
1206 vpending->remote_addr.svm_cid)); in vmci_transport_recv_connecting_server()
1310 || pkt->dg.src.context != vsk->remote_addr.svm_cid in vmci_transport_recv_connecting_client()
1311 || pkt->src_port != vsk->remote_addr.svm_port in vmci_transport_recv_connecting_client()
[all …]
Ddiag.c39 rep->vdiag_dst_cid = vsk->remote_addr.svm_cid; in sk_diag_fill()
40 rep->vdiag_dst_port = vsk->remote_addr.svm_port; in sk_diag_fill()
Dhyperv_transport.c339 vsock_addr_init(&vnew->remote_addr, in hvs_open_connection()
341 vnew->remote_addr.svm_port = get_port_by_srv_id(if_instance); in hvs_open_connection()
468 host.svm_port = vsk->remote_addr.svm_port; in hvs_connect()
/linux-6.6.21/drivers/infiniband/core/
Drw.c126 u64 remote_addr, u32 rkey, enum dma_data_direction dir) in rdma_rw_init_mr_wrs() argument
161 reg->wr.remote_addr = remote_addr; in rdma_rw_init_mr_wrs()
173 remote_addr += reg->sge.length; in rdma_rw_init_mr_wrs()
197 u64 remote_addr, u32 rkey, enum dma_data_direction dir) in rdma_rw_init_map_wrs() argument
222 rdma_wr->remote_addr = remote_addr + total_len; in rdma_rw_init_map_wrs()
252 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, in rdma_rw_init_single_wr() argument
270 rdma_wr->remote_addr = remote_addr; in rdma_rw_init_single_wr()
294 u64 remote_addr, u32 rkey, enum dma_data_direction dir) in rdma_rw_ctx_init() argument
328 sg_offset, remote_addr, rkey, dir); in rdma_rw_ctx_init()
331 remote_addr, rkey, dir); in rdma_rw_ctx_init()
[all …]
Diwcm.c520 cm_id->m_remote_addr = cm_id->remote_addr; in iw_cm_map()
531 pm_msg.rem_addr = cm_id->remote_addr; in iw_cm_map()
545 &cm_id->remote_addr, in iw_cm_map()
787 cm_id->m_remote_addr = iw_event->remote_addr; in cm_conn_req_handler()
791 &iw_event->remote_addr, in cm_conn_req_handler()
792 &cm_id->remote_addr, in cm_conn_req_handler()
795 cm_id->remote_addr = iw_event->remote_addr; in cm_conn_req_handler()
801 iw_event->remote_addr = cm_id->remote_addr; in cm_conn_req_handler()
897 cm_id_priv->id.m_remote_addr = iw_event->remote_addr; in cm_conn_rep_handler()
899 iw_event->remote_addr = cm_id_priv->id.remote_addr; in cm_conn_rep_handler()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_main.c138 int prism2_wds_add(local_info_t *local, u8 *remote_addr, in prism2_wds_add() argument
152 if (prism2_wds_special_addr(iface->u.wds.remote_addr)) in prism2_wds_add()
154 else if (ether_addr_equal(iface->u.wds.remote_addr, remote_addr)) { in prism2_wds_add()
159 if (!match && empty && !prism2_wds_special_addr(remote_addr)) { in prism2_wds_add()
161 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add()
169 if (!prism2_wds_special_addr(remote_addr)) { in prism2_wds_add()
172 hostap_add_sta(local->ap, remote_addr); in prism2_wds_add()
191 memcpy(iface->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add()
199 int prism2_wds_del(local_info_t *local, u8 *remote_addr, in prism2_wds_del() argument
212 if (ether_addr_equal(iface->u.wds.remote_addr, remote_addr)) { in prism2_wds_del()
[all …]
Dhostap.h55 int prism2_wds_add(local_info_t *local, u8 *remote_addr,
57 int prism2_wds_del(local_info_t *local, u8 *remote_addr,
/linux-6.6.21/include/uapi/rdma/
Drdma_user_rxe.h86 __aligned_u64 remote_addr; member
93 __aligned_u64 remote_addr; member
98 __aligned_u64 remote_addr; member
Dvmw_pvrdma-abi.h250 __aligned_u64 remote_addr; member
255 __aligned_u64 remote_addr; member
262 __aligned_u64 remote_addr; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c30 u64 remote_addr; member
374 u32 remote_addr, in dr_rdma_handle_flow_access_arg_segments() argument
381 wq_ctrl->general_id = cpu_to_be32(remote_addr); in dr_rdma_handle_flow_access_arg_segments()
400 u64 remote_addr, in dr_rdma_handle_icm_write_segments() argument
410 wq_raddr->raddr = cpu_to_be64(remote_addr); in dr_rdma_handle_icm_write_segments()
437 static void dr_rdma_segments(struct mlx5dr_qp *dr_qp, u64 remote_addr, in dr_rdma_segments() argument
454 dr_rdma_handle_icm_write_segments(wq_ctrl, remote_addr, in dr_rdma_segments()
459 dr_rdma_handle_flow_access_arg_segments(wq_ctrl, remote_addr, in dr_rdma_segments()
487 dr_rdma_segments(dr_qp, send_info->remote_addr, send_info->rkey, in dr_post_send()
489 dr_rdma_segments(dr_qp, send_info->remote_addr, send_info->rkey, in dr_post_send()
[all …]
/linux-6.6.21/include/rdma/
Diw_cm.h27 struct sockaddr_storage remote_addr; member
61 struct sockaddr_storage remote_addr; member
Drw.h47 u64 remote_addr, u32 rkey, enum dma_data_direction dir);
55 struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey,
Diw_portmap.h57 struct sockaddr_storage *remote_addr, u8 nl_client);
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_qp.c60 struct sockaddr_storage local_addr, remote_addr; in erdma_modify_qp_state_to_rts() local
72 ret = getname_peer(cep->sock, &remote_addr); in erdma_modify_qp_state_to_rts()
88 req.dip = to_sockaddr_in(remote_addr).sin_addr.s_addr; in erdma_modify_qp_state_to_rts()
90 req.dport = to_sockaddr_in(remote_addr).sin_port; in erdma_modify_qp_state_to_rts()
336 cpu_to_le32(upper_32_bits(rdma_wr->remote_addr)); in erdma_push_one_sqe()
338 cpu_to_le32(lower_32_bits(rdma_wr->remote_addr)); in erdma_push_one_sqe()
367 sge->addr = cpu_to_le64(rdma_wr->remote_addr); in erdma_push_one_sqe()
449 sge->addr = cpu_to_le64(atomic_wr(send_wr)->remote_addr); in erdma_push_one_sqe()
/linux-6.6.21/tools/testing/selftests/net/
Dtest_bridge_neigh_suppress.sh217 local remote_addr=$1; shift
243 dst $remote_addr src_vni 10010
245 dst $remote_addr src_vni 10020
259 local remote_addr=192.0.2.34
263 setup_sw_common $ns $local_addr $remote_addr $veth_addr $gw_addr
270 local remote_addr=192.0.2.33
274 setup_sw_common $ns $local_addr $remote_addr $veth_addr $gw_addr
Dtest_bridge_backup_port.sh168 local remote_addr=$1; shift
202 local remote_addr=192.0.2.34
207 setup_sw_common $ns $local_addr $remote_addr $veth_addr $gw_addr \
215 local remote_addr=192.0.2.33
220 setup_sw_common $ns $local_addr $remote_addr $veth_addr $gw_addr \
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dcm.c251 ((AF_INET == ep->com.remote_addr.ss_family) ? in set_emss()
395 if (ep->com.remote_addr.ss_family == AF_INET6) { in _c4iw_free_ep()
555 if (ep->com.remote_addr.ss_family == AF_INET6) { in act_open_req_arp_failure()
730 &ep->com.remote_addr; in send_connect()
734 &ep->com.remote_addr; in send_connect()
762 wrlen = (ep->com.remote_addr.ss_family == AF_INET) ? in send_connect()
777 (ep->com.remote_addr.ss_family == AF_INET) ? 0 : 1); in send_connect()
819 if (ep->com.remote_addr.ss_family == AF_INET6) in send_connect()
825 if (ep->com.remote_addr.ss_family == AF_INET) { in send_connect()
934 if (ret && ep->com.remote_addr.ss_family == AF_INET6) in send_connect()
[all …]
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_verbs.c701 if (atomic_wr(ibwr)->remote_addr & 0x7) { in validate_send_wr()
761 wr->wr.rdma.remote_addr = rdma_wr(ibwr)->remote_addr; in init_send_wr()
772 wr->wr.rdma.remote_addr = rdma_wr(ibwr)->remote_addr; in init_send_wr()
777 wr->wr.atomic.remote_addr = in init_send_wr()
778 atomic_wr(ibwr)->remote_addr; in init_send_wr()
844 wqe->iova = mask & WR_ATOMIC_MASK ? atomic_wr(ibwr)->remote_addr : in init_send_wqe()
845 mask & WR_READ_OR_WRITE_MASK ? rdma_wr(ibwr)->remote_addr : 0; in init_send_wqe()
/linux-6.6.21/net/rds/
Dib_send.c804 send->s_atomic_wr.remote_addr = op->op_remote_addr; in rds_ib_xmit_atomic()
861 u64 remote_addr = op->op_remote_addr; in rds_ib_xmit_rdma() local
927 send->s_rdma_wr.remote_addr = remote_addr; in rds_ib_xmit_rdma()
955 rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr); in rds_ib_xmit_rdma()
957 remote_addr += len; in rds_ib_xmit_rdma()
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c47 struct sockaddr_in *raddr = (struct sockaddr_in *)&event->remote_addr; in qedr_fill_sockaddr4()
65 (struct sockaddr_in6 *)&event->remote_addr; in qedr_fill_sockaddr6()
552 ntohs(((struct sockaddr_in *)&cm_id->remote_addr)->sin_port), in qedr_iw_connect()
557 &cm_id->local_addr, &cm_id->remote_addr); in qedr_iw_connect()
587 cm_id->remote_addr.ss_family == AF_INET) { in qedr_iw_connect()

123