mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
257eeded20
Move all the TC identifiers to one place, to the same enum that defines the identifier of police action. This makes it easier choose numbers for new actions since they are now defined in one place. We preserve the original values for binary compatibility. New IDs should be added inside the enum. Signed-off-by: Eli Cohen <eli@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
415 B
C
20 lines
415 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __LINUX_TC_IPT_H
|
|
#define __LINUX_TC_IPT_H
|
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
enum {
|
|
TCA_IPT_UNSPEC,
|
|
TCA_IPT_TABLE,
|
|
TCA_IPT_HOOK,
|
|
TCA_IPT_INDEX,
|
|
TCA_IPT_CNT,
|
|
TCA_IPT_TM,
|
|
TCA_IPT_TARG,
|
|
TCA_IPT_PAD,
|
|
__TCA_IPT_MAX
|
|
};
|
|
#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
|
|
|
|
#endif
|