FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/wtypes.h>
#include <winpr/assert.h>
#include <winpr/file.h>
#include <winpr/crt.h>
#include <winpr/sysinfo.h>
#include <freerdp/log.h>
#include <freerdp/types.h>
#include <freerdp/utils/pcap.h>
Macros | |
#define | TAG FREERDP_TAG("utils") |
#define | PCAP_MAGIC 0xA1B2C3D4 |
Functions | |
static BOOL | pcap_read_header (rdpPcap *pcap, pcap_header *header) |
static BOOL | pcap_write_header (rdpPcap *pcap, const pcap_header *header) |
static BOOL | pcap_read_record_header (rdpPcap *pcap, pcap_record_header *record) |
static BOOL | pcap_write_record_header (rdpPcap *pcap, const pcap_record_header *record) |
static BOOL | pcap_read_record (rdpPcap *pcap, pcap_record *record) |
static BOOL | pcap_write_record (rdpPcap *pcap, const pcap_record *record) |
BOOL | pcap_add_record (rdpPcap *pcap, const void *data, size_t length) |
BOOL | pcap_has_next_record (const rdpPcap *pcap) |
BOOL | pcap_get_next_record_header (rdpPcap *pcap, pcap_record *record) |
BOOL | pcap_get_next_record_content (rdpPcap *pcap, pcap_record *record) |
BOOL | pcap_get_next_record (rdpPcap *pcap, pcap_record *record) |
rdpPcap * | pcap_open (const char *name, BOOL write) |
void | pcap_flush (rdpPcap *pcap) |
void | pcap_close (rdpPcap *pcap) |
#define PCAP_MAGIC 0xA1B2C3D4 |
#define TAG FREERDP_TAG("utils") |
FreeRDP: A Remote Desktop Protocol Implementation pcap File Format Utils
Copyright 2011 Marc-Andre Moreau marca ndre .more au@g mail. 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.
BOOL pcap_add_record | ( | rdpPcap * | pcap, |
const void * | data, | ||
size_t | length | ||
) |
void pcap_close | ( | rdpPcap * | pcap | ) |
void pcap_flush | ( | rdpPcap * | pcap | ) |
BOOL pcap_get_next_record | ( | rdpPcap * | pcap, |
pcap_record * | record | ||
) |
BOOL pcap_get_next_record_content | ( | rdpPcap * | pcap, |
pcap_record * | record | ||
) |
BOOL pcap_get_next_record_header | ( | rdpPcap * | pcap, |
pcap_record * | record | ||
) |
BOOL pcap_has_next_record | ( | const rdpPcap * | pcap | ) |
rdpPcap* pcap_open | ( | const char * | name, |
BOOL | write | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |