3 * Copyright August 2007 TJ <linux@tjworld.net>
5 * Checks that network packets seen by libpcap are seen at the netfilters
6 * level and haven't been silently discarded by the kernel.
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.
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.
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
27 // identifies our unique netfilters queue set by iptables target with:
28 // iptables -t raw -I PREROUTING -i eth1 -p tcp --dport 80 -j NFQUEUE --queue-num 80
31 int netfilters_init(u_int16_t queue);
32 int netfilters_start(void);
33 void netfilters_exit(void);
35 #endif /*NETFILTERS_H_*/