Lines Matching refs:larg
1051 long SSL_ctrl(SSL *s,int cmd,long larg,void *parg) in SSL_ctrl() argument
1061 s->read_ahead=larg; in SSL_ctrl()
1069 return(s->options|=larg); in SSL_ctrl()
1071 return(s->options&=~larg); in SSL_ctrl()
1073 return(s->mode|=larg); in SSL_ctrl()
1075 return(s->mode &=~larg); in SSL_ctrl()
1080 s->max_cert_list=larg; in SSL_ctrl()
1084 if (larg < (long)dtls1_min_mtu()) in SSL_ctrl()
1091 s->d1->mtu = larg; in SSL_ctrl()
1092 return larg; in SSL_ctrl()
1096 if (larg < 512 || larg > SSL3_RT_MAX_PLAIN_LENGTH) in SSL_ctrl()
1098 s->max_send_fragment = larg; in SSL_ctrl()
1105 return(s->method->ssl_ctrl(s,cmd,larg,parg)); in SSL_ctrl()
1127 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd,long larg,void *parg) in SSL_CTX_ctrl() argument
1137 ctx->read_ahead=larg; in SSL_CTX_ctrl()
1148 ctx->max_cert_list=larg; in SSL_CTX_ctrl()
1153 ctx->session_cache_size=larg; in SSL_CTX_ctrl()
1159 ctx->session_cache_mode=larg; in SSL_CTX_ctrl()
1189 return(ctx->options|=larg); in SSL_CTX_ctrl()
1191 return(ctx->options&=~larg); in SSL_CTX_ctrl()
1193 return(ctx->mode|=larg); in SSL_CTX_ctrl()
1195 return(ctx->mode&=~larg); in SSL_CTX_ctrl()
1197 if (larg < 512 || larg > SSL3_RT_MAX_PLAIN_LENGTH) in SSL_CTX_ctrl()
1199 ctx->max_send_fragment = larg; in SSL_CTX_ctrl()
1202 return(ctx->method->ssl_ctx_ctrl(ctx,cmd,larg,parg)); in SSL_CTX_ctrl()