|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Structure containing pointers to functions supplied by the user of libwireshark. More...
#include <epan.h>
Public Attributes | |
| const nstime_t *(* | get_frame_ts )(struct packet_provider_data *prov, uint32_t frame_num) |
| Get the timestamp of a specific frame. | |
| const nstime_t *(* | get_start_ts )(struct packet_provider_data *prov) |
| Get the start timestamp of the capture session. | |
| const nstime_t *(* | get_end_ts )(struct packet_provider_data *prov) |
| Get the end timestamp of the capture session. | |
| const char *(* | get_interface_name )(struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number) |
| Get the name of a capture interface. | |
| const char *(* | get_interface_description )(struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number) |
| Get the description of a capture interface. | |
| wtap_block_t(* | get_modified_block )(struct packet_provider_data *prov, const frame_data *fd) |
| Get a modified WTAP block for a given frame. | |
| int32_t(* | get_process_id )(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number) |
| Get the process ID associated with a packet. | |
| const char *(* | get_process_name )(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number) |
| Get the name of the process associated with a packet. | |
| const uint8_t *(* | get_process_uuid )(struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number, size_t *uuid_size) |
| Get the UUID of the process associated with a packet. | |
Structure containing pointers to functions supplied by the user of libwireshark.
Each function pointer corresponds to a callback that provides specific information about packets, interfaces, or processes during packet processing.
| const nstime_t *(* packet_provider_funcs::get_end_ts) (struct packet_provider_data *prov) |
Get the end timestamp of the capture session.
| prov | Packet provider context. |
| const nstime_t *(* packet_provider_funcs::get_frame_ts) (struct packet_provider_data *prov, uint32_t frame_num) |
Get the timestamp of a specific frame.
| prov | Packet provider context. |
| frame_num | Frame number to query. |
| const char *(* packet_provider_funcs::get_interface_description) (struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number) |
Get the description of a capture interface.
| prov | Packet provider context. |
| interface_id | Interface identifier. |
| section_number | Capture section number. |
| const char *(* packet_provider_funcs::get_interface_name) (struct packet_provider_data *prov, uint32_t interface_id, unsigned section_number) |
Get the name of a capture interface.
| prov | Packet provider context. |
| interface_id | Interface identifier. |
| section_number | Capture section number. |
| wtap_block_t(* packet_provider_funcs::get_modified_block) (struct packet_provider_data *prov, const frame_data *fd) |
Get a modified WTAP block for a given frame.
| prov | Packet provider context. |
| fd | Frame metadata. |
| int32_t(* packet_provider_funcs::get_process_id) (struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number) |
Get the process ID associated with a packet.
| prov | Packet provider context. |
| process_info_id | Process info identifier. |
| section_number | Capture section number. |
| const char *(* packet_provider_funcs::get_process_name) (struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number) |
Get the name of the process associated with a packet.
| prov | Packet provider context. |
| process_info_id | Process info identifier. |
| section_number | Capture section number. |
| const uint8_t *(* packet_provider_funcs::get_process_uuid) (struct packet_provider_data *prov, uint32_t process_info_id, unsigned section_number, size_t *uuid_size) |
Get the UUID of the process associated with a packet.
| prov | Packet provider context. |
| process_info_id | Process info identifier. |
| section_number | Capture section number. |
| uuid_size | Output parameter for the size of the UUID. |
| const nstime_t *(* packet_provider_funcs::get_start_ts) (struct packet_provider_data *prov) |
Get the start timestamp of the capture session.
| prov | Packet provider context. |