Searched refs:optval (Results 1 – 2 of 2) sorted by relevance
/openssl/demos/sslecho/ |
H A D | main.c | 39 int optval = 1; in create_socket() local 54 if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)) in create_socket()
|
/openssl/crypto/bio/ |
H A D | bss_dgram.c | 1767 int ret, optval = 20000; in BIO_new_dgram_sctp() local 1885 setsockopt(fd, IPPROTO_SCTP, SCTP_PARTIAL_DELIVERY_POINT, &optval, in BIO_new_dgram_sctp() 1886 sizeof(optval)); in BIO_new_dgram_sctp() 1953 int ret = 0, n = 0, i, optval; in dgram_sctp_read() local 2096 ret = getsockopt(b->num, SOL_SOCKET, SO_RCVBUF, &optval, &optlen); in dgram_sctp_read() 2098 OPENSSL_assert(optval >= 18445); in dgram_sctp_read() 2107 &optval, &optlen); in dgram_sctp_read() 2109 OPENSSL_assert(optval >= 18445); in dgram_sctp_read()
|
Completed in 11 milliseconds