Lines Matching defs:*
0 #ifndef _LIBXTC_H
2 #define _LIBXTC_H
3 /* Library which manipulates filtering rules. */
5 #include <libiptc/ipt_kernel_headers.h>
6 #include <linux/netfilter/x_tables.h>
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 #ifndef XT_MIN_ALIGN
13 /* xt_entry has pointers and u_int64_t's in it, so if you align to
14 it, you'll also align to any crazy matches and targets someone
15 might write */
16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
17 #endif
19 #ifndef XT_ALIGN
20 #define XT_ALIGN(s) (((s) + ((XT_MIN_ALIGN)-1)) & ~((XT_MIN_ALIGN)-1))
21 #endif
23 #define XTC_LABEL_ACCEPT "ACCEPT"
24 #define XTC_LABEL_DROP "DROP"
25 #define XTC_LABEL_QUEUE "QUEUE"
26 #define XTC_LABEL_RETURN "RETURN"
29 #ifdef __cplusplus
31 #endif
33 #endif /* _LIBXTC_H */