repo.or.cz
/
rofl0r-MacGeiger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
channel-switch: use sys/ioctl.h instead of stropts.h
[rofl0r-MacGeiger.git]
/
pcapfile.h
blob
d78098006eab311b6df63bf3d8b526281eb8892d
1
#ifndef PCAPFILE_H
2
#define PCAPFILE_H
3
4
#include <pcap/pcap.h>
5
6
void
pcapfile_write_header
(
int
outfd
);
7
void
pcapfile_write_packet
(
int
outfd
,
struct
pcap_pkthdr
*
h_out
,
const unsigned char
*
data
);
8
9
#pragma RcB2 DEP
"pcapfile.c"
10
11
#endif
12