Lines Matching defs:options

441 struct options  struct
443 const char *server_name; /* hostname of the server (client only) */
444 const char *server_addr; /* address of the server (client only) */
445 const char *server_port; /* port on which the ssl service runs */
446 int debug_level; /* level of debugging */
447 int nbio; /* should I/O be blocking? */
448 int event; /* loop or event-driven IO? level or edge triggered? */
449 uint32_t read_timeout; /* timeout on mbedtls_ssl_read() in milliseconds */
450 int max_resend; /* DTLS times to resend on read timeout */
451 const char *request_page; /* page on server to request */
452 int request_size; /* pad request with header to requested size */
453 const char *ca_file; /* the file with the CA certificate(s) */
454 const char *ca_path; /* the path with the CA certificate(s) reside */
455 const char *crt_file; /* the file with the client certificate */
456 const char *key_file; /* the file with the client key */
457 int key_opaque; /* handle private key as if it were opaque */
459 int psk_opaque;
462 int ca_callback; /* Use callback for trusted certificate list */
464 const char *key_pwd; /* the password for the client key */
465 const char *psk; /* the pre-shared key */
466 const char *psk_identity; /* the pre-shared key identity */
467 const char *ecjpake_pw; /* the EC J-PAKE password */
468 int ec_max_ops; /* EC consecutive operations limit */
469 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
471 int tls13_kex_modes; /* supported TLS 1.3 key exchange modes */
473 int renegotiation; /* enable / disable renegotiation */
474 int allow_legacy; /* allow legacy renegotiation */
475 int renegotiate; /* attempt renegotiation? */
476 int renego_delay; /* delay before enforcing renegotiation */
477 int exchanges; /* number of data exchanges */
478 int min_version; /* minimum protocol version accepted */
479 int max_version; /* maximum protocol version accepted */
480 int allow_sha1; /* flag for SHA-1 support */
481 int auth_mode; /* verify mode for connection */
482 unsigned char mfl_code; /* code for maximum fragment length */
483 int trunc_hmac; /* negotiate truncated hmac or not */
484 int recsplit; /* enable record splitting? */
485 int dhmlen; /* minimum DHM params len in bits */
486 int reconnect; /* attempt to resume session */
487 int reco_delay; /* delay in seconds before resuming session */
488 int reco_mode; /* how to keep the session around */
489 int reconnect_hard; /* unexpectedly reconnect from the same port */
490 int tickets; /* enable / disable session tickets */
491 const char *curves; /* list of supported elliptic curves */
492 const char *sig_algs; /* supported TLS 1.3 signature algorithms */
493 const char *alpn_string; /* ALPN supported protocols */
494 int transport; /* TLS or DTLS? */
495 uint32_t hs_to_min; /* Initial value of DTLS handshake timer */
496 uint32_t hs_to_max; /* Max value of DTLS handshake timer */
497 int dtls_mtu; /* UDP Maximum tranport unit for DTLS */
498 int fallback; /* is this a fallback connection? */
499 int dgram_packing; /* allow/forbid datagram packing */
500 int extended_ms; /* negotiate extended master secret? */
501 int etm; /* negotiate encrypt then mac? */
502 int context_crt_cb; /* use context-specific CRT verify callback */
503 int eap_tls; /* derive EAP-TLS keying material? */
504 int nss_keylog; /* export NSS key log material */
505 const char *nss_keylog_file; /* NSS key log file */
506 int cid_enabled; /* whether to use the CID extension or not */
507 int cid_enabled_renego; /* whether to use the CID extension or not
509 const char *cid_val; /* the CID to use for incoming messages */
510 int serialize; /* serialize/deserialize connection */
511 const char *context_file; /* the file to write a serialized connection
514 const char *cid_val_renego; /* the CID to use for incoming messages
516 int reproducible; /* make communication reproducible */
517 int skip_close_notify; /* skip sending the close_notify alert */
518 int query_config_mode; /* whether to read config */
519 int use_srtp; /* Support SRTP */
520 int force_srtp_profile; /* SRTP protection profile to use or all */
521 const char *mki; /* The dtls mki value to use */