blob: e6f6e15956f5fb9dfb5fcbd446fc3d60ed7f4ec1 [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};
David S. Millere9ce1cd2006-08-21 23:54:55 -070012#define to_pedit(pc) \
13 container_of(pc, 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 */