Lines Matching refs:optval
110 int optval = data->set.tcp_keepalive?1:0; in tcpkeepalive() local
114 (void *)&optval, sizeof(optval)) < 0) { in tcpkeepalive()
122 optval = curlx_sltosi(data->set.tcp_keepidle); in tcpkeepalive()
123 KEEPALIVE_FACTOR(optval); in tcpkeepalive()
124 vals.keepalivetime = optval; in tcpkeepalive()
125 optval = curlx_sltosi(data->set.tcp_keepintvl); in tcpkeepalive()
126 KEEPALIVE_FACTOR(optval); in tcpkeepalive()
127 vals.keepaliveinterval = optval; in tcpkeepalive()
135 optval = curlx_sltosi(data->set.tcp_keepidle); in tcpkeepalive()
136 KEEPALIVE_FACTOR(optval); in tcpkeepalive()
138 (void *)&optval, sizeof(optval)) < 0) { in tcpkeepalive()
143 optval = curlx_sltosi(data->set.tcp_keepintvl); in tcpkeepalive()
144 KEEPALIVE_FACTOR(optval); in tcpkeepalive()
146 (void *)&optval, sizeof(optval)) < 0) { in tcpkeepalive()
152 optval = curlx_sltosi(data->set.tcp_keepidle); in tcpkeepalive()
153 KEEPALIVE_FACTOR(optval); in tcpkeepalive()
155 (void *)&optval, sizeof(optval)) < 0) { in tcpkeepalive()