blob: 5b80998879c7cf6c0bf7df280556de05b5831260 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __NET_TC_PED_H
2#define __NET_TC_PED_H
3
4#include <net/act_api.h>
5
David S. Millere9ce1cd2006-08-21 23:54:55 -07006struct tcf_pedit {
7 struct tcf_common common;
8 unsigned char tcfp_nkeys;
9 unsigned char tcfp_flags;
10 struct tc_pedit_key *tcfp_keys;
Linus Torvalds1da177e2005-04-16 15:20:36 -070011};
WANG Cong86062032014-02-11 17:07:31 -080012#define to_pedit(a) \
13 container_of(a->priv, struct tcf_pedit, common)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
David S. Millere9ce1cd2006-08-21 23:54:55 -070015#endif /* __NET_TC_PED_H */