2 * This file was imported from the iptables sources.
3 * Copyright (C) 1999-2008 Netfilter Core Team
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; only version 2 of the License is applicable.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 /* Library which manipulates filtering rules. */
23 #include "ipt_kernel_headers.h"
24 #include <linux/netfilter/x_tables.h>
31 /* xt_entry has pointers and u_int64_t's in it, so if you align to
32 it, you'll also align to any crazy matches and targets someone
34 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
38 #define XT_ALIGN(s) (((s) + ((XT_MIN_ALIGN)-1)) & ~((XT_MIN_ALIGN)-1))
41 typedef char xt_chainlabel[32];
43 #define XTC_LABEL_ACCEPT "ACCEPT"
44 #define XTC_LABEL_DROP "DROP"
45 #define XTC_LABEL_QUEUE "QUEUE"
46 #define XTC_LABEL_RETURN "RETURN"
53 #endif /* _LIBXTC_H */