Home
last modified time | relevance | path

Searched refs:ai_src_addr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ofed/librdmacm/
H A Dacm.c194 ucma_set_sid(ib_rai->ai_port_space, rai->ai_src_addr, src); in ucma_ib_set_addr()
202 ib_rai->ai_src_addr = (struct sockaddr *) src; in ucma_ib_set_addr()
226 &((struct sockaddr_in *) rai->ai_src_addr)->sin_addr, 4); in ucma_ib_set_connect()
232 &((struct sockaddr_in6 *) rai->ai_src_addr)->sin6_addr, 16); in ucma_ib_set_connect()
317 rai->ai_src_addr = (struct sockaddr *) sin; in ucma_ib_save_resp()
330 rai->ai_src_addr = (struct sockaddr *) sin6; in ucma_ib_save_resp()
383 if (ucma_inet_addr((*rai)->ai_src_addr, (*rai)->ai_src_len)) { in ucma_ib_resolve()
385 ucma_set_ep_addr(data, (*rai)->ai_src_addr); in ucma_ib_resolve()
400 ucma_ib_addr((*rai)->ai_src_addr, (*rai)->ai_src_len) || in ucma_ib_resolve()
414 if (ucma_ib_addr((*rai)->ai_src_addr, (*rai)->ai_src_len)) { in ucma_ib_resolve()
[all …]
H A Daddrinfo.c89 ai->ai_addr = rai->ai_src_addr; in ucma_convert_to_ai()
185 (struct sockaddr_ib **) &rai->ai_src_addr, in ucma_convert_to_rai()
191 ret = ucma_copy_addr(&rai->ai_src_addr, &rai->ai_src_len, in ucma_convert_to_rai()
274 ret = ucma_copy_addr(&rai->ai_src_addr, &rai->ai_src_len, in rdma_getaddrinfo()
275 hints->ai_src_addr, hints->ai_src_len); in rdma_getaddrinfo()
311 if (rai->ai_src_addr) in rdma_freeaddrinfo()
312 free(rai->ai_src_addr); in rdma_freeaddrinfo()
H A Drdma_cma.h189 struct sockaddr *ai_src_addr; member
H A Dcma.c942 hint.ai_src_addr = &id->route.addr.src_addr; in ucma_set_ib_route()
2317 ret = rdma_bind_addr2(id, res->ai_src_addr, res->ai_src_len); in ucma_passive_ep()
2319 ret = rdma_bind_addr(id, res->ai_src_addr); in ucma_passive_ep()
2358 ret = rdma_resolve_addr2(cm_id, res->ai_src_addr, res->ai_src_len, in rdma_create_ep()
2361 ret = rdma_resolve_addr(cm_id, res->ai_src_addr, res->ai_dst_addr, 2000); in rdma_create_ep()
/freebsd/contrib/ofed/librdmacm/examples/
H A Dcommon.c64 rai_hints.ai_src_addr = res->ai_src_addr; in get_rdma_addr()
H A Dcmtime.c302 if (!rdma_resolve_addr(n->id, rai->ai_src_addr, in cma_handler()
469 ret = rdma_bind_addr(listen_id, rai->ai_src_addr); in run_server()
515 ret = rdma_bind_addr(nodes[i].id, rai->ai_src_addr); in run_client()
533 ret = rdma_resolve_addr(nodes[i].id, rai->ai_src_addr, in run_client()
H A Drstream.c349 ret = rai ? rs_bind(lrs, rai->ai_src_addr, rai->ai_src_len) : in server_listen()
444 ret = rai ? rs_bind(rs, rai_src->ai_src_addr, rai_src->ai_src_len) : in client_connect()
H A Dcmatose.c514 ret = rdma_bind_addr(listen_id, test.rai->ai_src_addr); in run_server()
589 ret = rdma_resolve_addr(test.nodes[i].cma_id, test.rai->ai_src_addr, in run_client()
H A Dudaddy.c521 ret = rdma_bind_addr(listen_id, test.rai->ai_src_addr); in run_server()
572 ret = rdma_resolve_addr(test.nodes[i].cma_id, test.rai->ai_src_addr, in run_client()
H A Driostream.c385 ret = rai ? rbind(lrs, rai->ai_src_addr, rai->ai_src_len) : in server_listen()