M7350/kernel/include/net/tc_act/tc_pedit.h

16 lines
311 B
C
Raw Permalink Normal View History

2024-09-09 08:52:07 +00:00
#ifndef __NET_TC_PED_H
#define __NET_TC_PED_H
#include <net/act_api.h>
struct tcf_pedit {
struct tcf_common common;
unsigned char tcfp_nkeys;
unsigned char tcfp_flags;
struct tc_pedit_key *tcfp_keys;
};
2024-09-09 08:57:42 +00:00
#define to_pedit(a) \
container_of(a->priv, struct tcf_pedit, common)
2024-09-09 08:52:07 +00:00
#endif /* __NET_TC_PED_H */