#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <xtables.h>#include <linux/netfilter/xt_conntrack.h>#include <linux/netfilter/xt_state.h>#include <linux/netfilter/nf_conntrack_common.h>
Data Structures | |
| struct | ip_conntrack_old_tuple |
| struct | xt_conntrack_info |
Macros | |
| #define | XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1)) |
| #define | s struct xt_conntrack_info /* for v0 */ |
| #define | s struct xt_conntrack_mtinfo2 |
| #define | s struct xt_conntrack_mtinfo3 |
| #define | cinfo_transform(r, l) |
| #define | cinfo2_transform(r, l) memcpy((r), (l), offsetof(typeof(*(l)), sizeof(*info)); |
Enumerations | |
| enum | { O_CTSTATE = 0, O_CTPROTO, O_CTORIGSRC, O_CTORIGDST, O_CTREPLSRC, O_CTREPLDST, O_CTORIGSRCPORT, O_CTORIGDSTPORT, O_CTREPLSRCPORT, O_CTREPLDSTPORT, O_CTSTATUS, O_CTEXPIRE, O_CTDIR } |
Functions | |
| void | _init (void) |
| #define cinfo_transform | ( | r, | |
| l | |||
| ) |
| #define s struct xt_conntrack_info /* for v0 */ |
| #define s struct xt_conntrack_mtinfo2 |
| #define s struct xt_conntrack_mtinfo3 |
| #define XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1)) |
| anonymous enum |
| void _init | ( | void | ) |