Home --> Documentations --> PJLIB-UTIL Reference
Go to the documentation of this file.
19#ifndef __PJLIB_UTIL_PCAP_H__
20#define __PJLIB_UTIL_PCAP_H__
unsigned short pj_uint16_t
pj_status_t pj_pcap_open(pj_pool_t *pool, const char *path, pj_pcap_file **p_file)
struct pj_pcap_file pj_pcap_file Definition: pcap.h:124
void pj_pcap_filter_default(pj_pcap_filter *filter)
pj_pcap_link_type Definition: pcap.h:44
pj_status_t pj_pcap_close(pj_pcap_file *file)
pj_status_t pj_pcap_set_filter(pj_pcap_file *file, const pj_pcap_filter *filter)
pj_status_t pj_pcap_read_udp(pj_pcap_file *file, pj_pcap_udp_hdr *udp_hdr, pj_uint8_t *udp_payload, pj_size_t *udp_payload_size)
pj_pcap_proto_type Definition: pcap.h:55
@ PJ_PCAP_LINK_TYPE_ETH Definition: pcap.h:46
@ PJ_PCAP_PROTO_TYPE_UDP Definition: pcap.h:57
pj_pcap_link_type link Definition: pcap.h:85
pj_uint16_t dst_port Definition: pcap.h:118
pj_pcap_proto_type proto Definition: pcap.h:90
pj_uint32_t ip_src Definition: pcap.h:97
pj_uint16_t src_port Definition: pcap.h:111
pj_uint32_t ip_dst Definition: pcap.h:104
pj_uint16_t src_port Definition: pcap.h:68
pj_uint16_t len Definition: pcap.h:70
pj_uint16_t dst_port Definition: pcap.h:69
pj_uint16_t csum Definition: pcap.h:71
PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.
|