1PCAP_DUMP(3PCAP)                                              PCAP_DUMP(3PCAP)
2
3
4

NAME

6       pcap_dump - write a packet to a capture file
7

SYNOPSIS

9       #include <pcap/pcap.h>
10
11       void pcap_dump(u_char *user, struct pcap_pkthdr *h,
12               u_char *sp);
13

DESCRIPTION

15       pcap_dump()   outputs   a   packet  to  the  ``savefile''  opened  with
16       pcap_dump_open().  Note that its calling arguments are suitable for use
17       with  pcap_dispatch()  or  pcap_loop().   If  called directly, the user
18       parameter is of type pcap_dumper_t as returned by pcap_dump_open().
19

SEE ALSO

21       pcap(3PCAP),        pcap_dump_open(3PCAP),        pcap_dispatch(3PCAP),
22       pcap_loop(3PCAP)
23
24
25
26                                 8 March 2015                 PCAP_DUMP(3PCAP)
Impressum