16#include "ws_symbol_export.h"
27#define LOGGER_NAME L"wireshark etwdump"
34 EVENT_TRACE_PROPERTIES
prop;
58#define SCENARIO_KEY L"Scenario-"
75extern wtap_open_return_val etw_dump(
const char* etl_filename,
const char* pcapng_filename,
const char* params,
int* err,
char** err_info);
88extern void wtap_etl_add_interface(
int pkt_encap,
const char* interface_name,
unsigned short interface_name_length,
const char* interface_desc,
unsigned short interface_desc_length);
103extern void wtap_etl_rec_dump(
char* etl_record, ULONG total_packet_length, ULONG original_packet_length,
unsigned int interface_id, BOOLEAN is_inbound, ULARGE_INTEGER timestamp,
int pkt_encap,
char* comment,
unsigned short comment_length);
struct _SCENARIO SCENARIO
Pairs a named capture scenario with the ETW provider filter that defines what is collected for that s...
void wtap_etl_rec_dump(char *etl_record, ULONG total_packet_length, ULONG original_packet_length, unsigned int interface_id, BOOLEAN is_inbound, ULARGE_INTEGER timestamp, int pkt_encap, char *comment, unsigned short comment_length)
Dumps an ETL record as a Wireshark packet.
Definition etl.c:1013
wtap_open_return_val etw_dump(const char *etl_filename, const char *pcapng_filename, const char *params, int *err, char **err_info)
Dumps ETL data to a PCAPNG file.
Definition etl.c:275
const struct _SCENARIO g_scenarios[]
Global array of all registered capture scenarios; terminated by a sentinel entry.
Definition etl.c:175
struct _PROVIDER_FILTER PROVIDER_FILTER
Specifies the ETW provider filter criteria used to select which events are collected from a provider.
void wtap_etl_add_interface(int pkt_encap, const char *interface_name, unsigned short interface_name_length, const char *interface_desc, unsigned short interface_desc_length)
Adds a new interface to the ETL (Extcap) dump.
Definition etl.c:987
Specifies the ETW provider filter criteria used to select which events are collected from a provider.
Definition etl.h:41
GUID ProviderId
Definition etl.h:42
ULONG64 Keyword
Definition etl.h:43
UCHAR Level
Definition etl.h:44
Pairs a named capture scenario with the ETW provider filter that defines what is collected for that s...
Definition etl.h:50
const PROVIDER_FILTER ProviderFilter
Definition etl.h:52
const WCHAR * name
Definition etl.h:51
Extends EVENT_TRACE_PROPERTIES with padding to accommodate the session and log file name strings that...
Definition etl.h:33
EVENT_TRACE_PROPERTIES prop
Definition etl.h:34
wtap_open_return_val
For registering file types that we can open.
Definition wtap.h:1779