Go to the source code of this file.
Data Structures | |
struct | pcap_send_queue |
A queue of raw packets that will be sent to the network with pcap_sendqueue_transmit(). More... | |
Defines | |
#define | BPF_MEM_EX_IMM 0xc0 |
#define | BPF_MEM_EX_IND 0xe0 |
#define | BPF_MEM_EX 0xc0 |
#define | BPF_TME 0x08 |
#define | BPF_LOOKUP 0x90 |
#define | BPF_EXECUTE 0xa0 |
#define | BPF_INIT 0xb0 |
#define | BPF_VALIDATE 0xc0 |
#define | BPF_SET_ACTIVE 0xd0 |
#define | BPF_RESET 0xe0 |
#define | BPF_SET_MEMORY 0x80 |
#define | BPF_GET_REGISTER_VALUE 0x70 |
#define | BPF_SET_REGISTER_VALUE 0x60 |
#define | BPF_SET_WORKING 0x50 |
#define | BPF_SET_ACTIVE_READ 0x40 |
#define | BPF_SET_AUTODELETION 0x30 |
#define | BPF_SEPARATION 0xff |
Typedefs | |
typedef pcap_send_queue | pcap_send_queue |
Functions | |
pcap_send_queue * | pcap_sendqueue_alloc (u_int memsize) |
Win32 Specific. Allocate a send queue. | |
void | pcap_sendqueue_destroy (pcap_send_queue *queue) |
Win32 Specific. Destroy a send queue. | |
int | pcap_sendqueue_queue (pcap_send_queue *queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data) |
Win32 Specific. Add a packet to a send queue. | |
u_int | pcap_sendqueue_transmit (pcap_t *p, pcap_send_queue *queue, int sync) |
Win32 Specific. Sends a queue of raw packets to the network. | |
HANDLE | pcap_getevent (pcap_t *p) |
Win32 Specific. Returns the handle of the event associated with the interface p. | |
pcap_stat * | pcap_stats_ex (pcap_t *p, int *pcap_stat_size) |
Win32 Specific. Returns statistics on current capture. | |
int | pcap_setuserbuffer (pcap_t *p, int size) |
int | pcap_live_dump (pcap_t *p, char *filename, int maxsize, int maxpacks) |
Win32 Specific. Saves a capture to file. | |
int | pcap_live_dump_ended (pcap_t *p, int sync) |
Win32 Specific. Returns the status of the kernel dump process, i.e. tells if one of the limits defined with pcap_live_dump() has been reached. | |
int | pcap_offline_filter (struct bpf_program *prog, const struct pcap_pkthdr *header, const u_char *pkt_data) |
Win32 Specific. It returns if a given filter applies to an offline packet. |
|
Definition at line 54 of file Win32-Extensions.h. |
|
Definition at line 60 of file Win32-Extensions.h. |
|
Definition at line 55 of file Win32-Extensions.h. |
|
Definition at line 53 of file Win32-Extensions.h. |
|
Definition at line 50 of file Win32-Extensions.h. |
|
Definition at line 46 of file Win32-Extensions.h. |
|
Definition at line 47 of file Win32-Extensions.h. |
|
Definition at line 58 of file Win32-Extensions.h. |
|
Definition at line 65 of file Win32-Extensions.h. Referenced by NPF_IoControl(). |
|
Definition at line 57 of file Win32-Extensions.h. |
|
Definition at line 63 of file Win32-Extensions.h. |
|
Definition at line 64 of file Win32-Extensions.h. |
|
Definition at line 59 of file Win32-Extensions.h. |
|
Definition at line 61 of file Win32-Extensions.h. |
|
Definition at line 62 of file Win32-Extensions.h. |
|
Definition at line 51 of file Win32-Extensions.h. |
|
Definition at line 56 of file Win32-Extensions.h. |
|
Definition at line 44 of file Win32-Extensions.h. |
|
Definition at line 274 of file Win32-Extensions.c. References PacketInitPacket(). |
documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.