FreeRDP
|
#include <winpr/config.h>
#include "wlog.h"
#include "PacketMessage.h"
#include <winpr/wtypes.h>
#include <winpr/crt.h>
#include <winpr/file.h>
#include <winpr/stream.h>
#include <winpr/sysinfo.h>
#include "../../log.h"
Macros | |
#define | TAG WINPR_TAG("utils.wlog") |
Functions | |
static BOOL | Pcap_Read_Header (wPcap *pcap, wPcapHeader *header) |
static BOOL | Pcap_Write_Header (wPcap *pcap, wPcapHeader *header) |
static BOOL | Pcap_Write_RecordHeader (wPcap *pcap, wPcapRecordHeader *record) |
static BOOL | Pcap_Write_RecordContent (wPcap *pcap, wPcapRecord *record) |
static BOOL | Pcap_Write_Record (wPcap *pcap, wPcapRecord *record) |
wPcap * | Pcap_Open (char *name, BOOL write) |
void | Pcap_Flush (wPcap *pcap) |
void | Pcap_Close (wPcap *pcap) |
static BOOL | WLog_PacketMessage_Write_EthernetHeader (wPcap *pcap, wEthernetHeader *ethernet) |
static UINT16 | IPv4Checksum (const BYTE *ipv4, int length) |
static BOOL | WLog_PacketMessage_Write_IPv4Header (wPcap *pcap, wIPv4Header *ipv4) |
static BOOL | WLog_PacketMessage_Write_TcpHeader (wPcap *pcap, wTcpHeader *tcp) |
BOOL | WLog_PacketMessage_Write (wPcap *pcap, void *data, size_t length, DWORD flags) |
Variables | |
static UINT32 | g_InboundSequenceNumber = 0 |
static UINT32 | g_OutboundSequenceNumber = 0 |
#define TAG WINPR_TAG("utils.wlog") |
WinPR: Windows Portable Runtime WinPR Logger
Copyright 2013 Marc-Andre Moreau marca Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger ndre .more au@g mail. commarti n.ha imber ger@ thinc ast. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
void Pcap_Close | ( | wPcap * | pcap | ) |
void Pcap_Flush | ( | wPcap * | pcap | ) |
wPcap* Pcap_Open | ( | char * | name, |
BOOL | write | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL WLog_PacketMessage_Write | ( | wPcap * | pcap, |
void * | data, | ||
size_t | length, | ||
DWORD | flags | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |