The tc ipt action was intended to run all netfilter/iptables target. Unfortunately it has not benefitted over the years from proper updates when netfilter changes, and for that reason it has remained rudimentary. Pinging a bunch of people that i was aware were using this indicates that removing it wont affect them. Retire it to reduce maintenance efforts. Buh-bye.
Showing the changes to include/uapi (2 of 8 files). Show all
Unified · Split
| @@ -99,7 +99,7 @@ enum { · 98 unmodified lines | ||
| 99 | 99 | * versions. |
| 100 | 100 | */ |
| 101 | 101 | #define TCA_ACT_GACT 5 |
| 102 | −#define TCA_ACT_IPT 6 | |
| 102 | +#define TCA_ACT_IPT 6 /* obsoleted, can be reused */ | |
| 103 | 103 | #define TCA_ACT_PEDIT 7 |
| 104 | 104 | #define TCA_ACT_MIRRED 8 |
| 105 | 105 | #define TCA_ACT_NAT 9 |
| @@ -120,7 +120,7 @@ enum tca_id { · 14 unmodified lines | ||
| 120 | 120 | TCA_ID_UNSPEC = 0, |
| 121 | 121 | TCA_ID_POLICE = 1, |
| 122 | 122 | TCA_ID_GACT = TCA_ACT_GACT, |
| 123 | − TCA_ID_IPT = TCA_ACT_IPT, | |
| 123 | + TCA_ID_IPT = TCA_ACT_IPT, /* Obsoleted, can be reused */ | |
| 124 | 124 | TCA_ID_PEDIT = TCA_ACT_PEDIT, |
| 125 | 125 | TCA_ID_MIRRED = TCA_ACT_MIRRED, |
| 126 | 126 | TCA_ID_NAT = TCA_ACT_NAT, |
| @@ -1,20 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | |
| 2 | −#ifndef __LINUX_TC_IPT_H | |
| 3 | −#define __LINUX_TC_IPT_H | |
| 4 | − | |
| 5 | −#include <linux/pkt_cls.h> | |
| 6 | − | |
| 7 | −enum { | |
| 8 | − TCA_IPT_UNSPEC, | |
| 9 | − TCA_IPT_TABLE, | |
| 10 | − TCA_IPT_HOOK, | |
| 11 | − TCA_IPT_INDEX, | |
| 12 | − TCA_IPT_CNT, | |
| 13 | − TCA_IPT_TM, | |
| 14 | − TCA_IPT_TARG, | |
| 15 | − TCA_IPT_PAD, | |
| 16 | − __TCA_IPT_MAX | |
| 17 | −}; | |
| 18 | −#define TCA_IPT_MAX (__TCA_IPT_MAX - 1) | |
| 19 | − | |
| 20 | −#endif | |