20#include <wsutil/file_compressed.h>
95 unsigned int open_type;
96 ws_compression_type compression_type;
100 uint64_t packet_comment_count;
101 uint32_t displayed_count;
102 uint32_t aggregation_count;
103 uint32_t marked_count;
104 uint32_t ignored_count;
105 uint32_t ref_time_count;
130 bool search_in_progress;
134 uint32_t first_displayed;
135 uint32_t last_displayed;
145 unsigned long computed_elapsed;
struct _capture_file capture_file
Represents a capture file and its associated metadata.
WS_DLL_PUBLIC const nstime_t * cap_file_provider_get_end_ts(struct packet_provider_data *prov)
Get the end timestamp of a capture file.
Definition file_packet_provider.c:43
WS_DLL_PUBLIC int32_t cap_file_provider_get_process_id(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number)
Retrieves the process ID associated with a given process information ID and section number.
Definition file_packet_provider.c:222
WS_DLL_PUBLIC const nstime_t * cap_file_provider_get_frame_ts(struct packet_provider_data *prov, uint32_t frame_num)
Get the timestamp of a frame.
Definition file_packet_provider.c:19
WS_DLL_PUBLIC const char * cap_file_provider_get_interface_description(struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number)
Retrieves a description for a network interface from a capture file.
Definition file_packet_provider.c:87
WS_DLL_PUBLIC const char * cap_file_provider_get_interface_name(struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number)
Retrieves the name of a network interface from a capture file.
Definition file_packet_provider.c:60
rescan_type
Requested packet rescan action to be performed on the current capture.
Definition cfile.h:42
@ RESCAN_REDISSECT
Definition cfile.h:45
@ RESCAN_SCAN
Definition cfile.h:44
@ RESCAN_NONE
Definition cfile.h:43
WS_DLL_PUBLIC wtap_block_t cap_file_provider_get_modified_block(struct packet_provider_data *prov, const frame_data *fd)
Get a modified block for a frame from the packet provider.
Definition file_packet_provider.c:255
search_direction
Direction of a packet search through the capture.
Definition cfile.h:63
@ SD_FORWARD
Definition cfile.h:64
@ SD_BACKWARD
Definition cfile.h:65
WS_DLL_PUBLIC const char * cap_file_provider_get_process_name(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number)
Retrieves the name of a process from a capture file.
Definition file_packet_provider.c:233
WS_DLL_PUBLIC const nstime_t * cap_file_provider_get_start_ts(struct packet_provider_data *prov)
Get the start timestamp of a capture file.
Definition file_packet_provider.c:37
search_charset_t
Character width filter for text search operations.
Definition cfile.h:52
@ SCS_NARROW
Definition cfile.h:54
@ SCS_WIDE
Definition cfile.h:55
@ SCS_NARROW_AND_WIDE
Definition cfile.h:53
WS_DLL_PUBLIC const uint8_t * cap_file_provider_get_process_uuid(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number, size_t *uuid_size)
Retrieves the UUID of a process from a capture file.
Definition file_packet_provider.c:244
file_state
Lifecycle state of a capture file.
Definition cfile.h:30
@ FILE_READ_PENDING
Definition cfile.h:32
@ FILE_CLOSED
Definition cfile.h:31
@ FILE_READ_IN_PROGRESS
Definition cfile.h:33
@ FILE_READ_ABORTED
Definition cfile.h:34
@ FILE_READ_DONE
Definition cfile.h:35
WS_DLL_PUBLIC void cap_file_provider_set_modified_block(struct packet_provider_data *prov, frame_data *fd, const wtap_block_t new_block)
Set a modified block for a frame in the packet provider.
Definition file_packet_provider.c:265
WS_DLL_PUBLIC void cap_file_init(capture_file *cf)
Initialize a capture file structure.
Definition cfile.c:20
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
Represents a capture file and its associated metadata.
Definition cfile.h:84
Definition frame_data_sequence.c:32
A dynamic byte buffer with adjustable start and end positions.
Definition buffer.h:30
Definition column-info.h:59
The compiled display filter object passed back to the user.
Definition dfilter-int.h:46
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
Packet provider context for programs operating on a capture file.
Definition cfile.h:72
frame_data * prev_dis
Definition cfile.h:75
wtap * wth
Definition cfile.h:73
frame_data_sequence * frames
Definition cfile.h:77
GTree * frames_modified_blocks
Definition cfile.h:78
frame_data * prev_cap
Definition cfile.h:76
const frame_data * ref
Definition cfile.h:74
Definition wtap_opttypes.h:272
Definition wtap_module.h:58