Lines Matching refs:sc
176 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in ssl3_pending() local
178 if (sc == NULL) in ssl3_pending()
181 if (SSL_CONNECTION_IS_DTLS(sc)) { in ssl3_pending()
185 iter = pqueue_iterator(sc->rlayer.d->buffered_app_data); in ssl3_pending()
192 for (i = 0; i < sc->rlayer.num_recs; i++) { in ssl3_pending()
193 if (sc->rlayer.tlsrecs[i].type != SSL3_RT_APPLICATION_DATA) in ssl3_pending()
195 num += sc->rlayer.tlsrecs[i].length; in ssl3_pending()
198 num += sc->rlayer.rrlmethod->app_data_pending(sc->rlayer.rrl); in ssl3_pending()
210 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_default_read_buffer_len() local
212 if (sc == NULL || IS_QUIC(s)) in SSL_set_default_read_buffer_len()
214 sc->rlayer.default_read_buf_len = len; in SSL_set_default_read_buffer_len()
219 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_rstate_string_long() local
222 if (sc == NULL) in SSL_rstate_string_long()
225 if (sc->rlayer.rrlmethod == NULL || sc->rlayer.rrl == NULL) in SSL_rstate_string_long()
228 sc->rlayer.rrlmethod->get_state(sc->rlayer.rrl, NULL, &lng); in SSL_rstate_string_long()
235 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_rstate_string() local
238 if (sc == NULL) in SSL_rstate_string()
241 if (sc->rlayer.rrlmethod == NULL || sc->rlayer.rrl == NULL) in SSL_rstate_string()
244 sc->rlayer.rrlmethod->get_state(sc->rlayer.rrl, &shrt, NULL); in SSL_rstate_string()