Guest User

unpacked

a guest
Jun 19th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.38 KB | None | 0 0
  1. struct State {
  2. enum HttpTransactMagic_t m_magic; /* 0 4 */
  3.  
  4. /* XXX 4 bytes hole, try to pack */
  5.  
  6. class HttpSM * state_machine; /* 8 8 */
  7. class Arena arena; /* 16 8 */
  8. class HttpConfigParams * http_config_param; /* 24 8 */
  9. typedef struct _CacheLookupInfo CacheLookupInfo;
  10.  
  11. CacheLookupInfo cache_info; /* 32 168 */
  12. /* --- cacheline 3 boundary (192 bytes) was 8 bytes ago --- */
  13. bool force_dns; /* 200 1 */
  14.  
  15. /* XXX 7 bytes hole, try to pack */
  16. typedef struct _DNSLookupInfo DNSLookupInfo;
  17.  
  18.  
  19. DNSLookupInfo dns_info; /* 208 1072 */
  20. typedef struct _RedirectInfo RedirectInfo;
  21.  
  22. /* --- cacheline 20 boundary (1280 bytes) --- */
  23. RedirectInfo redirect_info; /* 1280 40 */
  24. unsigned int updated_server_version; /* 1320 4 */
  25. unsigned int cache_open_write_fail_action; /* 1324 4 */
  26. bool is_revalidation_necessary; /* 1328 1 */
  27. bool request_will_not_selfloop; /* 1329 1 */
  28.  
  29. /* XXX 6 bytes hole, try to pack */
  30.  
  31. struct ConnectionAttributes client_info; /* 1336 80 */
  32. /* --- cacheline 22 boundary (1408 bytes) was 8 bytes ago --- */
  33. struct ConnectionAttributes icp_info; /* 1416 80 */
  34. /* --- cacheline 23 boundary (1472 bytes) was 24 bytes ago --- */
  35. struct ConnectionAttributes parent_info; /* 1496 80 */
  36. /* --- cacheline 24 boundary (1536 bytes) was 40 bytes ago --- */
  37. struct ConnectionAttributes server_info; /* 1576 80 */
  38. /* --- cacheline 25 boundary (1600 bytes) was 56 bytes ago --- */
  39. enum Source_t source; /* 1656 4 */
  40. enum Source_t pre_transform_source; /* 1660 4 */
  41. /* --- cacheline 26 boundary (1664 bytes) --- */
  42. enum HttpRequestFlavor_t req_flavor; /* 1664 4 */
  43.  
  44. /* XXX 4 bytes hole, try to pack */
  45. typedef struct _CurrentInfo CurrentInfo;
  46.  
  47.  
  48. CurrentInfo current; /* 1672 32 */
  49. typedef struct _HeaderInfo HeaderInfo;
  50.  
  51. HeaderInfo hdr_info; /* 1704 432 */
  52. typedef struct _SquidLogInfo SquidLogInfo;
  53.  
  54. /* --- cacheline 33 boundary (2112 bytes) was 24 bytes ago --- */
  55. SquidLogInfo squid_codes; /* 2136 12 */
  56.  
  57. /* XXX 4 bytes hole, try to pack */
  58.  
  59. struct HttpApiInfo api_info; /* 2152 16 */
  60. typedef void (*TransactFunc_t)(class State *);
  61.  
  62. TransactFunc_t pending_work; /* 2168 8 */
  63. /* --- cacheline 34 boundary (2176 bytes) --- */
  64. enum StateMachineAction_t cdn_saved_next_action; /* 2176 4 */
  65.  
  66. /* XXX 4 bytes hole, try to pack */
  67.  
  68. void (*cdn_saved_transact_return_point)(class State *); /* 2184 8 */
  69. bool cdn_remap_complete; /* 2192 1 */
  70. bool first_dns_lookup; /* 2193 1 */
  71.  
  72. /* XXX 6 bytes hole, try to pack */
  73.  
  74. class ParentConfigParams * parent_params; /* 2200 8 */
  75. struct ParentResult parent_result; /* 2208 128 */
  76. /* --- cacheline 36 boundary (2304 bytes) was 32 bytes ago --- */
  77. struct HttpRequestData request_data; /* 2336 0 */
  78.  
  79. /* XXX 120 bytes hole, try to pack */
  80.  
  81. /* --- cacheline 38 boundary (2432 bytes) was 24 bytes ago --- */
  82. class CacheControlResult cache_control; /* 2456 52 */
  83. /* --- cacheline 39 boundary (2496 bytes) was 12 bytes ago --- */
  84. enum CacheLookupResult_t cache_lookup_result; /* 2508 4 */
  85. bool backdoor_request; /* 2512 1 */
  86. bool cop_test_page; /* 2513 1 */
  87.  
  88. /* XXX 2 bytes hole, try to pack */
  89.  
  90. enum StateMachineAction_t next_action; /* 2516 4 */
  91. enum StateMachineAction_t api_next_action; /* 2520 4 */
  92.  
  93. /* XXX 4 bytes hole, try to pack */
  94.  
  95. void (*transact_return_point)(class State *); /* 2528 8 */
  96. bool is_upgrade_request; /* 2536 1 */
  97.  
  98. /* XXX 7 bytes hole, try to pack */
  99.  
  100. void (*post_remap_upgrade_return_point)(class State *); /* 2544 8 */
  101. const char * upgrade_token_wks; /* 2552 8 */
  102. /* --- cacheline 40 boundary (2560 bytes) --- */
  103. bool is_websocket; /* 2560 1 */
  104. bool did_upgrade_succeed; /* 2561 1 */
  105.  
  106. /* XXX 6 bytes hole, try to pack */
  107.  
  108. char * internal_msg_buffer; /* 2568 8 */
  109. char * internal_msg_buffer_type; /* 2576 8 */
  110. int64_t internal_msg_buffer_size; /* 2584 8 */
  111. int64_t internal_msg_buffer_fast_allocator_size; /* 2592 8 */
  112. bool icp_lookup_success; /* 2600 1 */
  113.  
  114. /* XXX 3 bytes hole, try to pack */
  115.  
  116. struct sockaddr_in icp_ip_result; /* 2604 16 */
  117. int scheme; /* 2620 4 */
  118. /* --- cacheline 41 boundary (2624 bytes) --- */
  119. int next_hop_scheme; /* 2624 4 */
  120. int orig_scheme; /* 2628 4 */
  121. int method; /* 2632 4 */
  122.  
  123. /* XXX 4 bytes hole, try to pack */
  124.  
  125. struct HostDBInfo host_db_info; /* 2640 64 */
  126. /* --- cacheline 42 boundary (2688 bytes) was 16 bytes ago --- */
  127. int cause_of_death_errno; /* 2704 4 */
  128.  
  129. /* XXX 4 bytes hole, try to pack */
  130.  
  131. ink_time_t client_request_time; /* 2712 8 */
  132. ink_time_t request_sent_time; /* 2720 8 */
  133. ink_time_t response_received_time; /* 2728 8 */
  134. ink_time_t plugin_set_expire_time; /* 2736 8 */
  135. char via_string[25]; /* 2744 25 */
  136.  
  137. /* XXX 7 bytes hole, try to pack */
  138.  
  139. /* --- cacheline 43 boundary (2752 bytes) was 24 bytes ago --- */
  140. int64_t state_machine_id; /* 2776 8 */
  141. struct StatBlock first_stats; /* 2784 464 */
  142. /* --- cacheline 50 boundary (3200 bytes) was 48 bytes ago --- */
  143. class StatBlock * current_stats; /* 3248 8 */
  144. bool negative_caching; /* 3256 1 */
  145. bool srv_lookup; /* 3257 1 */
  146.  
  147. /* XXX 2 bytes hole, try to pack */
  148.  
  149. enum CacheAuth_t www_auth_content; /* 3260 4 */
  150. /* --- cacheline 51 boundary (3264 bytes) --- */
  151. bool client_connection_enabled; /* 3264 1 */
  152. bool acl_filtering_performed; /* 3265 1 */
  153.  
  154. /* XXX 6 bytes hole, try to pack */
  155.  
  156. _tsremap_os_response * fp_tsremap_os_response; /* 3272 8 */
  157. void * remap_plugin_instance; /* 3280 8 */
  158. enum HTTPStatus http_return_code; /* 3288 4 */
  159.  
  160. /* XXX 4 bytes hole, try to pack */
  161.  
  162. void * user_args[16]; /* 3296 128 */
  163. /* --- cacheline 53 boundary (3392 bytes) was 32 bytes ago --- */
  164. int api_txn_active_timeout_value; /* 3424 4 */
  165. int api_txn_connect_timeout_value; /* 3428 4 */
  166. int api_txn_dns_timeout_value; /* 3432 4 */
  167. int api_txn_no_activity_timeout_value; /* 3436 4 */
  168. class HdrHeapSDKHandle * cache_req_hdr_heap_handle; /* 3440 8 */
  169. class HdrHeapSDKHandle * cache_resp_hdr_heap_handle; /* 3448 8 */
  170. /* --- cacheline 54 boundary (3456 bytes) --- */
  171. bool api_cleanup_cache_read; /* 3456 1 */
  172. bool api_server_response_no_store; /* 3457 1 */
  173. bool api_server_response_ignore; /* 3458 1 */
  174. bool api_http_sm_shutdown; /* 3459 1 */
  175. bool api_modifiable_cached_resp; /* 3460 1 */
  176. bool api_server_request_body_set; /* 3461 1 */
  177. bool api_req_cacheable; /* 3462 1 */
  178. bool api_resp_cacheable; /* 3463 1 */
  179. bool api_server_addr_set; /* 3464 1 */
  180.  
  181. /* XXX 3 bytes hole, try to pack */
  182.  
  183. enum UpdateCachedObject_t api_update_cached_object; /* 3468 4 */
  184. enum LockUrl_t api_lock_url; /* 3472 4 */
  185. enum StateMachineAction_t saved_update_next_action; /* 3476 4 */
  186. enum CacheAction_t saved_update_cache_action; /* 3480 4 */
  187. bool stale_icp_lookup; /* 3484 1 */
  188.  
  189. /* XXX 3 bytes hole, try to pack */
  190.  
  191. class UrlMappingContainer url_map; /* 3488 40 */
  192. /* --- cacheline 55 boundary (3520 bytes) was 8 bytes ago --- */
  193. struct host_hdr_info hh_info; /* 3528 16 */
  194. class CongestionEntry * pCongestionEntry; /* 3544 8 */
  195. enum StateMachineAction_t congest_saved_next_action; /* 3552 4 */
  196. int congestion_control_crat; /* 3556 4 */
  197. int congestion_congested_or_failed; /* 3560 4 */
  198. int congestion_connection_opened; /* 3564 4 */
  199. bool reverse_proxy; /* 3568 1 */
  200. bool url_remap_success; /* 3569 1 */
  201.  
  202. /* XXX 6 bytes hole, try to pack */
  203.  
  204. char * remap_redirect; /* 3576 8 */
  205. /* --- cacheline 56 boundary (3584 bytes) --- */
  206. unsigned int filter_mask; /* 3584 4 */
  207. bool already_downgraded; /* 3588 1 */
  208.  
  209. /* XXX 3 bytes hole, try to pack */
  210.  
  211. class URL pristine_url; /* 3592 16 */
  212. bool api_skip_all_remapping; /* 3608 1 */
  213.  
  214. /* XXX 3 bytes hole, try to pack */
  215.  
  216. enum RangeSetup_t range_setup; /* 3612 4 */
  217. int64_t num_range_fields; /* 3616 8 */
  218. int64_t range_output_cl; /* 3624 8 */
  219. RangeRecord * ranges; /* 3632 8 */
  220. class OverridableHttpConfigParams * txn_conf; /* 3640 8 */
  221. /* --- cacheline 57 boundary (3648 bytes) --- */
  222. struct OverridableHttpConfigParams my_txn_conf; /* 3648 432 */
  223. /* --- cacheline 63 boundary (4032 bytes) was 48 bytes ago --- */
  224. bool transparent_passthrough; /* 4080 1 */
  225. bool range_in_cache; /* 4081 1 */
  226. void init(class State *); /* linkage=_ZN12HttpTransact5State4initEv */
  227.  
  228. void State(class State *);
  229.  
  230. void record_transaction_stats(class State *); /* linkage=_ZN12HttpTransact5State24record_transaction_statsEv */
  231.  
  232. void destroy(class State *); /* linkage=_ZN12HttpTransact5State7destroyEv */
  233.  
  234. void setup_per_txn_configs(class State *); /* linkage=_ZN12HttpTransact5State21setup_per_txn_configsEv */
  235.  
  236. void free_internal_msg_buffer(class State *); /* linkage=_ZN12HttpTransact5State24free_internal_msg_bufferEv */
  237.  
  238.  
  239. /* size: 4088, cachelines: 64, members: 114 */
  240. /* sum members: 3860, holes: 24, sum holes: 222 */
  241. /* padding: 6 */
  242. /* last cacheline: 56 bytes */
  243. };
Advertisement
Add Comment
Please, Sign In to add comment