Searched refs:rs_setsockopt (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rstream.c | 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() [all …]
|
H A D | udpong.c | 155 rs_setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &buffer_size, in set_options() 157 rs_setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &buffer_size, in set_options() 161 rs_setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &val, sizeof val); in set_options() 162 rs_setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &val, sizeof val); in set_options()
|
H A D | common.h | 61 #define rs_setsockopt(s,l,n,v,ol) \ macro
|