Searched refs:rai_hints (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | common.c | 51 struct rdma_addrinfo rai_hints, *res; in get_rdma_addr() local 57 rai_hints = *hints; in get_rdma_addr() 59 rai_hints.ai_flags |= RAI_PASSIVE; in get_rdma_addr() 60 ret = rdma_getaddrinfo(src, NULL, &rai_hints, &res); in get_rdma_addr() 64 rai_hints.ai_src_addr = res->ai_src_addr; in get_rdma_addr() 65 rai_hints.ai_src_len = res->ai_src_len; in get_rdma_addr() 66 rai_hints.ai_flags &= ~RAI_PASSIVE; in get_rdma_addr() 69 ret = rdma_getaddrinfo(dst, port, &rai_hints, rai); in get_rdma_addr()
|
H A D | rstream.c | 99 static struct rdma_addrinfo rai_hints; variable 323 rai_hints.ai_flags |= RAI_PASSIVE; in server_listen() 324 ret = rdma_getaddrinfo(src_addr, port, &rai_hints, &rai); in server_listen() 411 ret = use_rgai ? rdma_getaddrinfo(dst_addr, port, &rai_hints, &rai) : in client_connect() 421 rai_hints.ai_flags |= RAI_PASSIVE; in client_connect() 422 ret = rdma_getaddrinfo(src_addr, port, &rai_hints, &rai_src); in client_connect() 624 rai_hints.ai_port_space = RDMA_PS_TCP; in main() 637 rai_hints.ai_flags = RAI_NUMERICHOST | RAI_FAMILY; in main() 638 rai_hints.ai_family = AF_IB; in main()
|
H A D | riostream.c | 97 static struct rdma_addrinfo rai_hints; variable 359 rai_hints.ai_flags |= RAI_PASSIVE; in server_listen() 360 ret = rdma_getaddrinfo(src_addr, port, &rai_hints, &rai); in server_listen() 444 ret = use_rgai ? rdma_getaddrinfo(dst_addr, port, &rai_hints, &rai) : in client_connect() 598 rai_hints.ai_port_space = RDMA_PS_TCP; in main() 611 rai_hints.ai_flags = RAI_NUMERICHOST | RAI_FAMILY; in main() 612 rai_hints.ai_family = AF_IB; in main()
|