Initial commit from project. lib dependencies need checking
[packeteer.git] / pcap.h
1 /*
2  * Packeteer 
3  * Copyright August 2007 TJ <linux@tjworld.net>
4  *
5  * Checks that network packets seen by libpcap are seen at the netfilters
6  * level and haven't been silently discarded by the kernel.
7  * 
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program in the file LICENSE-GPLv3.txt;
20  * if not, you can view it online at http://www.gnu.org/copyleft/gpl.html
21  *
22  */#ifndef PCAP_H_
23 #define PCAP_H_
24
25 int pcap_init(char *device, char *pcap_filter);
26 int pcap_start(void);
27 void pcap_exit(void);
28
29 #endif /*PCAP_H_*/