Ace_Packet_Base_Details_Get()
Abstract
Returns the detail lines for a packet.
Syntax
Ace_Packet_Base_Details_Get (pk_ptr, layer, details_lpptr)
| Argument | Type | Description |
|---|---|---|
pk_ptr |
AceT_Packet * |
Packet of interest. |
layer |
int |
Protocol layer of interest. |
details_lpptr |
PrgT_List ** |
Area to hold a pointer to the list of detail lines. |
Return Type
int
Status (1 for success, 0 for failure).
Header
ace_client_api.h
Example
/* Enhance the SQL summary string */
if (!strcmp (curr_protocol_name, "SQL"))
{
/* Retrieve the details lines */
Ace_Packet_Base_Details_Get (pk_ptr, layer, &details_lptr);
/* Convert the details lines into a new SQL-specific summary line */
op_enhance_summary_sql (pk_ptr, info_ptr, details_lptr);
prg_list_free (details_lptr);
}
Details
The Transaction Analyzer-internal enhanced decoder uses this function to retrieve the detail lines for a given packet. The details then are parsed to create a revised summary line.