34 #ifndef __WIN32_EXTENSIONS_H__ 35 #define __WIN32_EXTENSIONS_H__ 58 #if !defined(AIRPCAP_HANDLE__EAE405F5_0171_9592_B3C2_C19EC426AD34__DEFINED_) 59 #define AIRPCAP_HANDLE__EAE405F5_0171_9592_B3C2_C19EC426AD34__DEFINED_ 63 #define BPF_MEM_EX_IMM 0xc0 64 #define BPF_MEM_EX_IND 0xe0 67 #define BPF_MEM_EX 0xc0 70 #define BPF_LOOKUP 0x90 71 #define BPF_EXECUTE 0xa0 73 #define BPF_VALIDATE 0xc0 74 #define BPF_SET_ACTIVE 0xd0 75 #define BPF_RESET 0xe0 76 #define BPF_SET_MEMORY 0x80 77 #define BPF_GET_REGISTER_VALUE 0x70 78 #define BPF_SET_REGISTER_VALUE 0x60 79 #define BPF_SET_WORKING 0x50 80 #define BPF_SET_ACTIVE_READ 0x40 81 #define BPF_SET_AUTODELETION 0x30 82 #define BPF_SEPARATION 0xff 113 #endif //__WIN32_EXTENSIONS_H__
int pcap_setuserbuffer(pcap_t *p, int size)
int pcap_live_dump_ended(pcap_t *p, int sync)
int pcap_start_oem(char *err_str, int flags)
u_int len
Current size of the queue, in bytes.
u_int pcap_sendqueue_transmit(pcap_t *p, pcap_send_queue *queue, int sync)
A queue of raw packets that will be sent to the network with pcap_sendqueue_transmit().
pcap_send_queue * pcap_sendqueue_alloc(u_int memsize)
int pcap_sendqueue_queue(pcap_send_queue *queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data)
int pcap_offline_filter(struct bpf_program *prog, const struct pcap_pkthdr *header, const u_char *pkt_data)
A BPF pseudo-assembly program.
PAirpcapHandle pcap_get_airpcap_handle(pcap_t *p)
int pcap_live_dump(pcap_t *p, char *filename, int maxsize, int maxpacks)
void pcap_sendqueue_destroy(pcap_send_queue *queue)
struct _AirpcapHandle * PAirpcapHandle
struct pcap_stat * pcap_stats_ex(pcap_t *p, int *pcap_stat_size)
u_int maxlen
Maximum size of the the queue, in bytes. This variable contains the size of the buffer field...
HANDLE pcap_getevent(pcap_t *p)
char * buffer
Buffer containing the packets to be sent.