ABI | Symbols | Types | Live Readelf |
| Contents |
| Info |
| Fields |
| Memory Layout |
| Name | ssh_session_struct |
|---|---|
| Type | STRUCT |
| Fields | 54 |
| Source | session.h |
| Size | 1696 |
| Usage | The type is used by 104 symbols and 32 types. |
| PADDING | FIELD |
| BIT-FIELD |
| Pos | Name | Type | Size | Offset |
|---|---|---|---|---|
| 0 | common | struct ssh_common_struct | 1048 | 0 |
| 1 | socket | struct ssh_socket_struct* | 8 | 1048 |
| 2 | serverbanner | char* | 8 | 1056 |
| 3 | clientbanner | char* | 8 | 1064 |
| 4 | protoversion | int | 4 | 1072 |
| 5 | server | int | 4 | 1076 |
| 6 | client | int | 4 | 1080 |
| 7 | openssh | int | 4 | 1084 |
| 8 | send_seq | uint32_t | 4 | 1088 |
| 9 | recv_seq | uint32_t | 4 | 1092 |
| 10 | connected | int | 4 | 1096 |
| 11 | alive | int | 4 | 1100 |
| 12 | flags | int | 4 | 1104 |
| 13 | banner | ssh_string | 8 | 1112 |
| 14 | discon_msg | char* | 8 | 1120 |
| 15 | in_buffer | ssh_buffer | 8 | 1128 |
| 16 | in_packet | PACKET | 12 | 1136 |
| 17 | out_buffer | ssh_buffer | 8 | 1152 |
| 18 | pending_call_state | enum ssh_pending_call_e | 4 | 1160 |
| 19 | session_state | enum ssh_session_state_e | 4 | 1164 |
| 20 | packet_state | int | 4 | 1168 |
| 21 | dh_handshake_state | enum ssh_dh_state_e | 4 | 1172 |
| 22 | auth_service_state | enum ssh_auth_service_state_e | 4 | 1176 |
| 23 | auth_state | enum ssh_auth_state_e | 4 | 1180 |
| 24 | global_req_state | enum ssh_channel_request_state_e | 4 | 1184 |
| 25 | agent_state | struct ssh_agent_state_struct* | 8 | 1192 |
| 26 | auth_auto_state | struct ssh_auth_auto_state_struct* | 8 | 1200 |
| 27 | first_kex_follows_guess_wrong | int | 4 | 1208 |
| 28 | in_hashbuf | ssh_buffer | 8 | 1216 |
| 29 | out_hashbuf | ssh_buffer | 8 | 1224 |
| 30 | current_crypto | struct ssh_crypto_struct* | 8 | 1232 |
| 31 | next_crypto | struct ssh_crypto_struct* | 8 | 1240 |
| 32 | channels | struct ssh_list* | 8 | 1248 |
| 33 | maxchannel | int | 4 | 1256 |
| 34 | exec_channel_opened | int | 4 | 1260 |
| 35 | agent | ssh_agent | 8 | 1264 |
| 36 | kbdint | struct ssh_kbdint_struct* | 8 | 1272 |
| 37 | gssapi | struct ssh_gssapi_struct* | 8 | 1280 |
| 38 | version | int | 4 | 1288 |
| 39 | srv | anon-struct-session.h-155 | 40 | 1296 |
| 40 | auth_methods | int | 4 | 1336 |
| 41 | ssh_message_list | struct ssh_list* | 8 | 1344 |
| 42 | ssh_message_callback | int(*)(struct ssh_session_struct*, ssh_message, void*) | 8 | 1352 |
| 43 | ssh_message_callback_data | void* | 8 | 1360 |
| 44 | server_callbacks | ssh_server_callbacks | 8 | 1368 |
| 45 | ssh_connection_callback | void(*)(struct ssh_session_struct*) | 8 | 1376 |
| 46 | default_packet_callbacks | struct ssh_packet_callbacks_struct | 24 | 1384 |
| 47 | packet_callbacks | struct ssh_list* | 8 | 1408 |
| 48 | socket_callbacks | struct ssh_socket_callbacks_struct | 40 | 1416 |
| 49 | default_poll_ctx | ssh_poll_ctx | 8 | 1456 |
| 50 | pcap_ctx | ssh_pcap_context | 8 | 1464 |
| 51 | opts | anon-struct-session.h-178 | 208 | 1472 |
| 52 | socket_counter | ssh_counter | 8 | 1680 |
| 53 | raw_counter | ssh_counter | 8 | 1688 |
| Offset | Contents | Type |
|---|---|---|
| 0 | .common | struct ssh_common_struct |
| 1048 | .socket | struct ssh_socket_struct* |
| 1056 | .serverbanner | char* |
| 1064 | .clientbanner | char* |
| 1072 | .protoversion | int |
| 1076 | .server | int |
| 1080 | .client | int |
| 1084 | .openssh | int |
| 1088 | .send_seq | uint32_t |
| 1092 | .recv_seq | uint32_t |
| 1096 | .connected | int |
| 1100 | .alive | int |
| 1104 | .flags | int |
| 1108 | padding | |
| 1112 | .banner | ssh_string |
| 1120 | .discon_msg | char* |
| 1128 | .in_buffer | ssh_buffer |
| 1136 | .in_packet | PACKET |
| 1148 | padding | |
| 1152 | .out_buffer | ssh_buffer |
| 1160 | .pending_call_state | enum ssh_pending_call_e |
| 1164 | .session_state | enum ssh_session_state_e |
| 1168 | .packet_state | int |
| 1172 | .dh_handshake_state | enum ssh_dh_state_e |
| 1176 | .auth_service_state | enum ssh_auth_service_state_e |
| 1180 | .auth_state | enum ssh_auth_state_e |
| 1184 | .global_req_state | enum ssh_channel_request_state_e |
| 1188 | padding | |
| 1192 | .agent_state | struct ssh_agent_state_struct* |
| 1200 | .auth_auto_state | struct ssh_auth_auto_state_struct* |
| 1208 | .first_kex_follows_guess_wrong | int |
| 1212 | padding | |
| 1216 | .in_hashbuf | ssh_buffer |
| 1224 | .out_hashbuf | ssh_buffer |
| 1232 | .current_crypto | struct ssh_crypto_struct* |
| 1240 | .next_crypto | struct ssh_crypto_struct* |
| 1248 | .channels | struct ssh_list* |
| 1256 | .maxchannel | int |
| 1260 | .exec_channel_opened | int |
| 1264 | .agent | ssh_agent |
| 1272 | .kbdint | struct ssh_kbdint_struct* |
| 1280 | .gssapi | struct ssh_gssapi_struct* |
| 1288 | .version | int |
| 1292 | padding | |
| 1296 | .srv | anon-struct-session.h-155 |
| 1336 | .auth_methods | int |
| 1340 | padding | |
| 1344 | .ssh_message_list | struct ssh_list* |
| 1352 | .ssh_message_callback | int(*)(struct ssh_session_struct*, ssh_message, void*) |
| 1360 | .ssh_message_callback_data | void* |
| 1368 | .server_callbacks | ssh_server_callbacks |
| 1376 | .ssh_connection_callback | void(*)(struct ssh_session_struct*) |
| 1384 | .default_packet_callbacks | struct ssh_packet_callbacks_struct |
| 1408 | .packet_callbacks | struct ssh_list* |
| 1416 | .socket_callbacks | struct ssh_socket_callbacks_struct |
| 1456 | .default_poll_ctx | ssh_poll_ctx |
| 1464 | .pcap_ctx | ssh_pcap_context |
| 1472 | .opts | anon-struct-session.h-178 |
| 1680 | .socket_counter | ssh_counter |
| 1688 | .raw_counter | ssh_counter |