20 #ifndef WINPR_WLOG_PACKET_MESSAGE_PRIVATE_H
21 #define WINPR_WLOG_PACKET_MESSAGE_PRIVATE_H
25 #define PCAP_MAGIC_NUMBER 0xA1B2C3D4
46 typedef struct s_wPcapRecort
51 struct s_wPcapRecort* next;
67 wPcap* Pcap_Open(
char* name, BOOL write);
68 void Pcap_Close(
wPcap* pcap);
70 void Pcap_Flush(
wPcap* pcap);
82 BYTE InternetHeaderLength;
85 UINT16 Identification;
86 BYTE InternetProtocolFlags;
87 UINT16 FragmentOffset;
90 UINT16 HeaderChecksum;
92 UINT32 DestinationAddress;
98 UINT16 DestinationPort;
99 UINT32 SequenceNumber;
100 UINT32 AcknowledgementNumber;
106 UINT16 UrgentPointer;
109 BOOL WLog_PacketMessage_Write(
wPcap* pcap,
void* data,
size_t length, DWORD flags);