Haka: modules/packet/nfqueue/iptables.h Source File

Haka

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

iptables.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 #ifndef IPTABLES_H
6 #define IPTABLES_H
7
8 #include <haka/types.h>
9
10 #define HAKA_TARGET "HAKA"
11 #define HAKA_TARGET_PRE HAKA_TARGET "-PRE"
12 #define HAKA_TARGET_OUT HAKA_TARGET "-OUT"
13
14 int apply_iptables(const char *table, const char *conf, bool noflush);
15 int save_iptables(const char *table, char **conf, bool all_targets);
16
17 #endif /* IPTABLES_H */
types.h