25#ifndef _NETSIM_EMULATIONLIB_H_
26#define _NETSIM_EMULATIONLIB_H_
38#pragma comment(lib,"EmulationLib.lib")
40#pragma region _PACP_HANDLES
44#define DISPATCH_HANDLE 1
45#define REINJECT_HANDLE 2
46#define NOTDISPATCHHANDLE 3
48#define captureHandle handles[ALL_HANDLES]
49#define dispatchHandle handles[DISPATCH_HANDLE]
50#define reinjectHandle handles[REINJECT_HANDLE]
51#define notdispatchHandle handles[NOTDISPATCHHANDLE]
54 {
"ALL_NETWORK_PACKETS.pcap",
"DISPATCHED_TO_EMULATOR.pcap",
55 "REINJECTED_FROM_EMULATOR.pcap",
"NOT_DISPATCHED_TO_EMULATOR.pcap"
60 "NETSIM_ALL_CAPTURE",
"NETSIM_DISPATCHED",
"NETSIM_REINJECTED",
"NETSIM_NOT_DISPATCHED"
static char * pcapFileName[HANDLE_COUNT]
void close_emulation_pcap_handle(__IN__ int count, __IN__ void **handles)
static char * pipeName[HANDLE_COUNT]
void create_emulation_pcap_handle(__IN__ int count, __IN__ int *pcap_logfile_status, __IN__ char **pcapFileName, __IN__ char **pipeName, __OUT__ void **handles)
void * handles[HANDLE_COUNT]