1PCAP_DUMP(3PCAP) PCAP_DUMP(3PCAP)
2
3
4
6 pcap_dump - write a packet to a capture file
7
9 #include <pcap/pcap.h>
10
11 void pcap_dump(u_char *user, struct pcap_pkthdr *h,
12 u_char *sp);
13
15 pcap_dump() outputs a packet to the ``savefile'' opened with
16 pcap_dump_open(3PCAP). Note that its calling arguments are suitable
17 for use with pcap_dispatch(3PCAP) or pcap_loop(3PCAP). If called
18 directly, the user parameter is of type pcap_dumper_t as returned by
19 pcap_dump_open().
20
22 pcap(3PCAP)
23
24
25
26 8 March 2015 PCAP_DUMP(3PCAP)