Lines Matching defs:options
357 struct options struct
359 const char *server_addr; /* address on which the ssl service runs */
360 const char *server_port; /* port on which the ssl service runs */
361 int debug_level; /* level of debugging */
362 int nbio; /* should I/O be blocking? */
363 uint32_t read_timeout; /* timeout on mbedtls_ssl_read() in milliseconds */
364 const char *ca_file; /* the file with the CA certificate(s) */
365 const char *ca_path; /* the path with the CA certificate(s) reside */
366 const char *crt_file; /* the file with the server certificate */
367 const char *key_file; /* the file with the server key */
368 const char *crt_file2; /* the file with the 2nd server certificate */
369 const char *key_file2; /* the file with the 2nd server key */
370 const char *psk; /* the pre-shared key */
371 const char *psk_identity; /* the pre-shared key identity */
372 char *psk_list; /* list of PSK id/key pairs for callback */
373 const char *ecjpake_pw; /* the EC J-PAKE password */
374 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
375 const char *version_suites; /* per-version ciphersuites */
376 int renegotiation; /* enable / disable renegotiation */
377 int allow_legacy; /* allow legacy renegotiation */
378 int renegotiate; /* attempt renegotiation? */
379 int renego_delay; /* delay before enforcing renegotiation */
380 int renego_period; /* period for automatic renegotiation */
381 int exchanges; /* number of data exchanges */
382 int min_version; /* minimum protocol version accepted */
383 int max_version; /* maximum protocol version accepted */
384 int arc4; /* flag for arc4 suites support */
385 int auth_mode; /* verify mode for connection */
386 unsigned char mfl_code; /* code for maximum fragment length */
387 int trunc_hmac; /* accept truncated hmac? */
388 int tickets; /* enable / disable session tickets */
389 int ticket_timeout; /* session ticket lifetime */
390 int cache_max; /* max number of session cache entries */
391 int cache_timeout; /* expiration delay of session cache entries */
392 char *sni; /* string describing sni information */
393 const char *alpn_string; /* ALPN supported protocols */
394 const char *dhm_file; /* the file with the DH parameters */
395 int extended_ms; /* allow negotiation of extended MS? */
396 int etm; /* allow negotiation of encrypt-then-MAC? */
397 int transport; /* TLS or DTLS? */
398 int cookies; /* Use cookies for DTLS? -1 to break them */
399 int anti_replay; /* Use anti-replay for DTLS? -1 for default */
400 uint32_t hs_to_min; /* Initial value of DTLS handshake timer */
401 uint32_t hs_to_max; /* Max value of DTLS handshake timer */
402 int badmac_limit; /* Limit of records with bad MAC */