| Pos | Name | Type | Size | Offset |
| 0 | version | int | 4 | 0 |
| 1 | type | int | 4 | 4 |
| 2 | method | SSL_METHOD const* | 8 | 8 |
| 3 | rbio | BIO* | 8 | 16 |
| 4 | wbio | BIO* | 8 | 24 |
| 5 | bbio | BIO* | 8 | 32 |
| 6 | rwstate | int | 4 | 40 |
| 7 | in_handshake | int | 4 | 44 |
| 8 | handshake_func | int(*)(SSL*) | 8 | 48 |
| 9 | server | int | 4 | 56 |
| 10 | new_session | int | 4 | 60 |
| 11 | quiet_shutdown | int | 4 | 64 |
| 12 | shutdown | int | 4 | 68 |
| 13 | state | int | 4 | 72 |
| 14 | rstate | int | 4 | 76 |
| 15 | init_buf | BUF_MEM* | 8 | 80 |
| 16 | init_msg | void* | 8 | 88 |
| 17 | init_num | int | 4 | 96 |
| 18 | init_off | int | 4 | 100 |
| 19 | packet | unsigned char* | 8 | 104 |
| 20 | packet_length | unsigned int | 4 | 112 |
| 21 | s2 | struct ssl2_state_st* | 8 | 120 |
| 22 | s3 | struct ssl3_state_st* | 8 | 128 |
| 23 | d1 | struct dtls1_state_st* | 8 | 136 |
| 24 | read_ahead | int | 4 | 144 |
| 25 | msg_callback | void(*)(int, int, int, void const*, size_t, SSL*, void*) | 8 | 152 |
| 26 | msg_callback_arg | void* | 8 | 160 |
| 27 | hit | int | 4 | 168 |
| 28 | param | X509_VERIFY_PARAM* | 8 | 176 |
| 29 | cipher_list | struct stack_st_SSL_CIPHER* | 8 | 184 |
| 30 | cipher_list_by_id | struct stack_st_SSL_CIPHER* | 8 | 192 |
| 31 | mac_flags | int | 4 | 200 |
| 32 | enc_read_ctx | EVP_CIPHER_CTX* | 8 | 208 |
| 33 | read_hash | EVP_MD_CTX* | 8 | 216 |
| 34 | expand | COMP_CTX* | 8 | 224 |
| 35 | enc_write_ctx | EVP_CIPHER_CTX* | 8 | 232 |
| 36 | write_hash | EVP_MD_CTX* | 8 | 240 |
| 37 | compress | COMP_CTX* | 8 | 248 |
| 38 | cert | struct cert_st* | 8 | 256 |
| 39 | sid_ctx_length | unsigned int | 4 | 264 |
| 40 | sid_ctx | unsigned char[32] | 32 | 268 |
| 41 | session | SSL_SESSION* | 8 | 304 |
| 42 | generate_session_id | GEN_SESSION_CB | 8 | 312 |
| 43 | verify_mode | int | 4 | 320 |
| 44 | verify_callback | int(*)(int, X509_STORE_CTX*) | 8 | 328 |
| 45 | info_callback | void(*)(SSL const*, int, int) | 8 | 336 |
| 46 | error | int | 4 | 344 |
| 47 | error_code | int | 4 | 348 |
| 48 | psk_client_callback | unsigned int(*)(SSL*, char const*, char*, unsigned int, unsigned char*, unsigned int) | 8 | 352 |
| 49 | psk_server_callback | unsigned int(*)(SSL*, char const*, unsigned char*, unsigned int) | 8 | 360 |
| 50 | ctx | SSL_CTX* | 8 | 368 |
| 51 | debug | int | 4 | 376 |
| 52 | verify_result | long | 8 | 384 |
| 53 | ex_data | CRYPTO_EX_DATA | 16 | 392 |
| 54 | client_CA | struct stack_st_X509_NAME* | 8 | 408 |
| 55 | references | int | 4 | 416 |
| 56 | options | unsigned long | 8 | 424 |
| 57 | mode | unsigned long | 8 | 432 |
| 58 | max_cert_list | long | 8 | 440 |
| 59 | first_packet | int | 4 | 448 |
| 60 | client_version | int | 4 | 452 |
| 61 | max_send_fragment | unsigned int | 4 | 456 |
| 62 | tlsext_debug_cb | void(*)(SSL*, int, int, unsigned char*, int, void*) | 8 | 464 |
| 63 | tlsext_debug_arg | void* | 8 | 472 |
| 64 | tlsext_hostname | char* | 8 | 480 |
| 65 | servername_done | int | 4 | 488 |
| 66 | tlsext_status_type | int | 4 | 492 |
| 67 | tlsext_status_expected | int | 4 | 496 |
| 68 | tlsext_ocsp_ids | struct stack_st_OCSP_RESPID* | 8 | 504 |
| 69 | tlsext_ocsp_exts | X509_EXTENSIONS* | 8 | 512 |
| 70 | tlsext_ocsp_resp | unsigned char* | 8 | 520 |
| 71 | tlsext_ocsp_resplen | int | 4 | 528 |
| 72 | tlsext_ticket_expected | int | 4 | 532 |
| 73 | tlsext_ecpointformatlist_length | size_t | 8 | 536 |
| 74 | tlsext_ecpointformatlist | unsigned char* | 8 | 544 |
| 75 | tlsext_ellipticcurvelist_length | size_t | 8 | 552 |
| 76 | tlsext_ellipticcurvelist | unsigned char* | 8 | 560 |
| 77 | tlsext_opaque_prf_input | void* | 8 | 568 |
| 78 | tlsext_opaque_prf_input_len | size_t | 8 | 576 |
| 79 | tlsext_session_ticket | TLS_SESSION_TICKET_EXT* | 8 | 584 |
| 80 | tls_session_ticket_ext_cb | tls_session_ticket_ext_cb_fn | 8 | 592 |
| 81 | tls_session_ticket_ext_cb_arg | void* | 8 | 600 |
| 82 | tls_session_secret_cb | tls_session_secret_cb_fn | 8 | 608 |
| 83 | tls_session_secret_cb_arg | void* | 8 | 616 |
| 84 | initial_ctx | SSL_CTX* | 8 | 624 |
| 85 | next_proto_negotiated | unsigned char* | 8 | 632 |
| 86 | next_proto_negotiated_len | unsigned char | 1 | 640 |
| 87 | srtp_profiles | struct stack_st_SRTP_PROTECTION_PROFILE* | 8 | 648 |
| 88 | srtp_profile | SRTP_PROTECTION_PROFILE* | 8 | 656 |
| 89 | tlsext_heartbeat | unsigned int | 4 | 664 |
| 90 | tlsext_hb_pending | unsigned int | 4 | 668 |
| 91 | tlsext_hb_seq | unsigned int | 4 | 672 |
| 92 | renegotiate | int | 4 | 676 |
| 93 | srp_ctx | SRP_CTX | 128 | 680 |
| 94 | alpn_client_proto_list | unsigned char* | 8 | 808 |
| 95 | alpn_client_proto_list_len | unsigned int | 4 | 816 |
| Offset | Contents | Type |
| 0 | .version | int |
| 4 | .type | int |
| 8 | .method | SSL_METHOD const* |
| 16 | .rbio | BIO* |
| 24 | .wbio | BIO* |
| 32 | .bbio | BIO* |
| 40 | .rwstate | int |
| 44 | .in_handshake | int |
| 48 | .handshake_func | int(*)(SSL*) |
| 56 | .server | int |
| 60 | .new_session | int |
| 64 | .quiet_shutdown | int |
| 68 | .shutdown | int |
| 72 | .state | int |
| 76 | .rstate | int |
| 80 | .init_buf | BUF_MEM* |
| 88 | .init_msg | void* |
| 96 | .init_num | int |
| 100 | .init_off | int |
| 104 | .packet | unsigned char* |
| 112 | .packet_length | unsigned int |
| 116 | padding | |
| 120 | .s2 | struct ssl2_state_st* |
| 128 | .s3 | struct ssl3_state_st* |
| 136 | .d1 | struct dtls1_state_st* |
| 144 | .read_ahead | int |
| 148 | padding | |
| 152 | .msg_callback | void(*)(int, int, int, void const*, size_t, SSL*, void*) |
| 160 | .msg_callback_arg | void* |
| 168 | .hit | int |
| 172 | padding | |
| 176 | .param | X509_VERIFY_PARAM* |
| 184 | .cipher_list | struct stack_st_SSL_CIPHER* |
| 192 | .cipher_list_by_id | struct stack_st_SSL_CIPHER* |
| 200 | .mac_flags | int |
| 204 | padding | |
| 208 | .enc_read_ctx | EVP_CIPHER_CTX* |
| 216 | .read_hash | EVP_MD_CTX* |
| 224 | .expand | COMP_CTX* |
| 232 | .enc_write_ctx | EVP_CIPHER_CTX* |
| 240 | .write_hash | EVP_MD_CTX* |
| 248 | .compress | COMP_CTX* |
| 256 | .cert | struct cert_st* |
| 264 | .sid_ctx_length | unsigned int |
| 268 | .sid_ctx | unsigned char[32] |
| 300 | padding | |
| 304 | .session | SSL_SESSION* |
| 312 | .generate_session_id | GEN_SESSION_CB |
| 320 | .verify_mode | int |
| 324 | padding | |
| 328 | .verify_callback | int(*)(int, X509_STORE_CTX*) |
| 336 | .info_callback | void(*)(SSL const*, int, int) |
| 344 | .error | int |
| 348 | .error_code | int |
| 352 | .psk_client_callback | unsigned int(*)(SSL*, char const*, char*, unsigned int, unsigned char*, unsigned int) |
| 360 | .psk_server_callback | unsigned int(*)(SSL*, char const*, unsigned char*, unsigned int) |
| 368 | .ctx | SSL_CTX* |
| 376 | .debug | int |
| 380 | padding | |
| 384 | .verify_result | long |
| 392 | .ex_data | CRYPTO_EX_DATA |
| 408 | .client_CA | struct stack_st_X509_NAME* |
| 416 | .references | int |
| 420 | padding | |
| 424 | .options | unsigned long |
| 432 | .mode | unsigned long |
| 440 | .max_cert_list | long |
| 448 | .first_packet | int |
| 452 | .client_version | int |
| 456 | .max_send_fragment | unsigned int |
| 460 | padding | |
| 464 | .tlsext_debug_cb | void(*)(SSL*, int, int, unsigned char*, int, void*) |
| 472 | .tlsext_debug_arg | void* |
| 480 | .tlsext_hostname | char* |
| 488 | .servername_done | int |
| 492 | .tlsext_status_type | int |
| 496 | .tlsext_status_expected | int |
| 500 | padding | |
| 504 | .tlsext_ocsp_ids | struct stack_st_OCSP_RESPID* |
| 512 | .tlsext_ocsp_exts | X509_EXTENSIONS* |
| 520 | .tlsext_ocsp_resp | unsigned char* |
| 528 | .tlsext_ocsp_resplen | int |
| 532 | .tlsext_ticket_expected | int |
| 536 | .tlsext_ecpointformatlist_length | size_t |
| 544 | .tlsext_ecpointformatlist | unsigned char* |
| 552 | .tlsext_ellipticcurvelist_length | size_t |
| 560 | .tlsext_ellipticcurvelist | unsigned char* |
| 568 | .tlsext_opaque_prf_input | void* |
| 576 | .tlsext_opaque_prf_input_len | size_t |
| 584 | .tlsext_session_ticket | TLS_SESSION_TICKET_EXT* |
| 592 | .tls_session_ticket_ext_cb | tls_session_ticket_ext_cb_fn |
| 600 | .tls_session_ticket_ext_cb_arg | void* |
| 608 | .tls_session_secret_cb | tls_session_secret_cb_fn |
| 616 | .tls_session_secret_cb_arg | void* |
| 624 | .initial_ctx | SSL_CTX* |
| 632 | .next_proto_negotiated | unsigned char* |
| 640 | .next_proto_negotiated_len | unsigned char |
| 641 | padding | |
| 648 | .srtp_profiles | struct stack_st_SRTP_PROTECTION_PROFILE* |
| 656 | .srtp_profile | SRTP_PROTECTION_PROFILE* |
| 664 | .tlsext_heartbeat | unsigned int |
| 668 | .tlsext_hb_pending | unsigned int |
| 672 | .tlsext_hb_seq | unsigned int |
| 676 | .renegotiate | int |
| 680 | .srp_ctx | SRP_CTX |
| 808 | .alpn_client_proto_list | unsigned char* |
| 816 | .alpn_client_proto_list_len | unsigned int |
| 820 | padding | |