Main Page Modules Data Structures File List Data Fields Globals Related Pages

# pcap_filter.c File Reference

`#include <stdlib.h>`
`#include <stdio.h>`
`#include <pcap.h>`

Go to the source code of this file.

## Defines
#define | MAX_PRINT 80
#define | MAX_LINE 16
## Functions
void | usage ()
void | main (int argc, char **argv)

## Define Documentation

#define MAX_LINE 16

| Definition at line 40 of file pcap_filter.c. Referenced by fileconf_read(), and main().

#define MAX_PRINT 80

| Definition at line 39 of file pcap_filter.c.

## Function Documentation

void main | ( | int | argc,
|  | char ** | argv
| ) |

| Definition at line 46 of file pcap_filter.c. References bpf_u_int32, errbuf, pcap_compile(), pcap_dump(), pcap_dump_open(), pcap_dumper_t, PCAP_ERRBUF_SIZE, pcap_next_ex(), pcap_open(), pcap_setfilter(), pcap_t, and usage().

void usage | ( |  | ) |

| Definition at line 162 of file pcap_filter.c. Referenced by main().

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.