2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __LINUX_TC_IPT_H
|
|
|
|
#define __LINUX_TC_IPT_H
|
|
|
|
|
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
|
|
|
|
#define TCA_ACT_IPT 6
|
2014-01-16 07:38:43 +08:00
|
|
|
#define TCA_ACT_XT 10
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-11-05 01:50:58 +08:00
|
|
|
enum {
|
2005-04-17 06:20:36 +08: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 16:06:18 +08:00
|
|
|
TCA_IPT_PAD,
|
2005-04-17 06:20:36 +08:00
|
|
|
__TCA_IPT_MAX
|
|
|
|
};
|
|
|
|
#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
|
|
|
|
|
|
|
|
#endif
|