mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 22:45:23 +07: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>
23 lines
390 B
C
23 lines
390 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __UAPI_TC_CONNMARK_H
|
|
#define __UAPI_TC_CONNMARK_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/pkt_cls.h>
|
|
|
|
struct tc_connmark {
|
|
tc_gen;
|
|
__u16 zone;
|
|
};
|
|
|
|
enum {
|
|
TCA_CONNMARK_UNSPEC,
|
|
TCA_CONNMARK_PARMS,
|
|
TCA_CONNMARK_TM,
|
|
TCA_CONNMARK_PAD,
|
|
__TCA_CONNMARK_MAX
|
|
};
|
|
#define TCA_CONNMARK_MAX (__TCA_CONNMARK_MAX - 1)
|
|
|
|
#endif
|