Lines Matching defs:options
277 struct options struct
279 const char *server_name; /* hostname of the server (client only) */
280 const char *server_addr; /* address of the server (client only) */
281 const char *server_port; /* port on which the ssl service runs */
282 int debug_level; /* level of debugging */
283 int nbio; /* should I/O be blocking? */
284 uint32_t read_timeout; /* timeout on mbedtls_ssl_read() in milliseconds */
285 int max_resend; /* DTLS times to resend on read timeout */
286 const char *request_page; /* page on server to request */
287 int request_size; /* pad request with header to requested size */
288 const char *ca_file; /* the file with the CA certificate(s) */
289 const char *ca_path; /* the path with the CA certificate(s) reside */
290 const char *crt_file; /* the file with the client certificate */
291 const char *key_file; /* the file with the client key */
292 const char *psk; /* the pre-shared key */
293 const char *psk_identity; /* the pre-shared key identity */
294 const char *ecjpake_pw; /* the EC J-PAKE password */
295 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
296 int renegotiation; /* enable / disable renegotiation */
297 int allow_legacy; /* allow legacy renegotiation */
298 int renegotiate; /* attempt renegotiation? */
299 int renego_delay; /* delay before enforcing renegotiation */
300 int exchanges; /* number of data exchanges */
301 int min_version; /* minimum protocol version accepted */
302 int max_version; /* maximum protocol version accepted */
303 int arc4; /* flag for arc4 suites support */
304 int auth_mode; /* verify mode for connection */
305 unsigned char mfl_code; /* code for maximum fragment length */
306 int trunc_hmac; /* negotiate truncated hmac or not */
307 int recsplit; /* enable record splitting? */
308 int dhmlen; /* minimum DHM params len in bits */
309 int reconnect; /* attempt to resume session */
310 int reco_delay; /* delay in seconds before resuming session */
311 int reconnect_hard; /* unexpectedly reconnect from the same port */
312 int tickets; /* enable / disable session tickets */
313 const char *alpn_string; /* ALPN supported protocols */
314 int transport; /* TLS or DTLS? */
315 uint32_t hs_to_min; /* Initial value of DTLS handshake timer */
316 uint32_t hs_to_max; /* Max value of DTLS handshake timer */
317 int fallback; /* is this a fallback connection? */
318 int extended_ms; /* negotiate extended master secret? */
319 int etm; /* negotiate encrypt then mac? */