2017-11-01 21:08:43 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-17 05:20:36 +07:00
|
|
|
#ifndef __LINUX_TC_IPT_H
|
|
|
|
#define __LINUX_TC_IPT_H
|
|
|
|
|
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
|
|
|
|
#define TCA_ACT_IPT 6
|
2014-01-16 06:38:43 +07:00
|
|
|
#define TCA_ACT_XT 10
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2009-11-05 00:50:58 +07:00
|
|
|
enum {
|
2005-04-17 05:20:36 +07:00
|
|
|
TCA_IPT_UNSPEC,
|
|
|
|
TCA_IPT_TABLE,
|
|
|
|
TCA_IPT_HOOK,
|
|
|
|
TCA_IPT_INDEX,
|
|
|
|
TCA_IPT_CNT,
|
|
|
|
TCA_IPT_TM,
|
|
|
|
TCA_IPT_TARG,
|
2016-04-26 15:06:18 +07:00
|
|
|
TCA_IPT_PAD,
|
2005-04-17 05:20:36 +07:00
|
|
|
__TCA_IPT_MAX
|
|
|
|
};
|
|
|
|
#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
|
|
|
|
|
|
|
|
#endif
|