Lines Matching refs:rs_setsockopt
264 if (rs_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &optval, optlen)) { in set_keepalive()
270 if (rs_setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &optval, optlen)) in set_keepalive()
285 rs_setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &buffer_size, in set_options()
287 rs_setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &buffer_size, in set_options()
291 rs_setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &val, sizeof val); in set_options()
292 rs_setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &val, sizeof val); in set_options()
296 rs_setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (void *) &val, sizeof(val)); in set_options()
304 rs_setsockopt(fd, SOL_RDMA, RDMA_INLINE, &inline_size, in set_options()
308 rs_setsockopt(fd, SOL_RDMA, RDMA_INLINE, &val, sizeof val); in set_options()
343 ret = rs_setsockopt(lrs, SOL_SOCKET, SO_REUSEADDR, &val, sizeof val); in server_listen()
453 ret = rs_setsockopt(rs, SOL_RDMA, RDMA_ROUTE, rai->ai_route, in client_connect()