Lines Matching defs:options
544 struct options struct
546 const char *server_addr; /* address on which the ssl service runs */
547 const char *server_port; /* port on which the ssl service runs */
548 int debug_level; /* level of debugging */
549 int nbio; /* should I/O be blocking? */
550 int event; /* loop or event-driven IO? level or edge triggered? */
551 uint32_t read_timeout; /* timeout on mbedtls_ssl_read() in milliseconds */
552 int response_size; /* pad response with header to requested size */
553 uint16_t buffer_size; /* IO buffer size */
554 const char *ca_file; /* the file with the CA certificate(s) */
555 const char *ca_path; /* the path with the CA certificate(s) reside */
556 const char *crt_file; /* the file with the server certificate */
557 const char *key_file; /* the file with the server key */
558 const char *key_pwd; /* the password for the server key */
559 const char *crt_file2; /* the file with the 2nd server certificate */
560 const char *key_file2; /* the file with the 2nd server key */
561 const char *key_pwd2; /* the password for the 2nd server key */
562 const char *async_operations; /* supported SSL asynchronous operations */
563 …ate_delay1; /* number of times f_async_resume needs to be called for key 1, or -1 for no async */
564 …ate_delay2; /* number of times f_async_resume needs to be called for key 2, or -1 for no async */
565 int async_private_error; /* inject error in async private callback */
567 int psk_opaque;
568 int psk_list_opaque;
571 int ca_callback; /* Use callback for trusted certificate list */
573 const char *psk; /* the pre-shared key */
574 const char *psk_identity; /* the pre-shared key identity */
575 char *psk_list; /* list of PSK id/key pairs for callback */
576 const char *ecjpake_pw; /* the EC J-PAKE password */
577 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
578 const char *version_suites; /* per-version ciphersuites */
579 int renegotiation; /* enable / disable renegotiation */
580 int allow_legacy; /* allow legacy renegotiation */
581 int renegotiate; /* attempt renegotiation? */
582 int renego_delay; /* delay before enforcing renegotiation */
583 uint64_t renego_period; /* period for automatic renegotiation */
584 int exchanges; /* number of data exchanges */
585 int min_version; /* minimum protocol version accepted */
586 int max_version; /* maximum protocol version accepted */
587 int arc4; /* flag for arc4 suites support */
588 int allow_sha1; /* flag for SHA-1 support */
589 int auth_mode; /* verify mode for connection */
590 int cert_req_ca_list; /* should we send the CA list? */
591 unsigned char mfl_code; /* code for maximum fragment length */
592 int trunc_hmac; /* accept truncated hmac? */
593 int tickets; /* enable / disable session tickets */
594 int ticket_timeout; /* session ticket lifetime */
595 int cache_max; /* max number of session cache entries */
596 int cache_timeout; /* expiration delay of session cache entries */
597 char *sni; /* string describing sni information */
598 const char *curves; /* list of supported elliptic curves */
599 const char *alpn_string; /* ALPN supported protocols */
600 const char *dhm_file; /* the file with the DH parameters */
601 int extended_ms; /* allow negotiation of extended MS? */
602 int etm; /* allow negotiation of encrypt-then-MAC? */
603 int transport; /* TLS or DTLS? */
604 int cookies; /* Use cookies for DTLS? -1 to break them */
605 int anti_replay; /* Use anti-replay for DTLS? -1 for default */
606 uint32_t hs_to_min; /* Initial value of DTLS handshake timer */
607 uint32_t hs_to_max; /* Max value of DTLS handshake timer */
608 int dtls_mtu; /* UDP Maximum tranport unit for DTLS */
609 int dgram_packing; /* allow/forbid datagram packing */
610 int badmac_limit; /* Limit of records with bad MAC */
611 int eap_tls; /* derive EAP-TLS keying material? */
612 int nss_keylog; /* export NSS key log material */
613 const char *nss_keylog_file; /* NSS key log file */
614 int cid_enabled; /* whether to use the CID extension or not */
615 int cid_enabled_renego; /* whether to use the CID extension or not
617 const char *cid_val; /* the CID to use for incoming messages */
618 int serialize; /* serialize/deserialize connection */
619 const char *context_file; /* the file to write a serialized connection
622 const char *cid_val_renego; /* the CID to use for incoming messages
624 int reproducible; /* make communication reproducible */
625 int query_config_mode; /* whether to read config */
626 int use_srtp; /* Support SRTP */
627 int force_srtp_profile; /* SRTP protection profile to use or all */
628 int support_mki; /* The dtls mki mki support */