blob: 29e38d6823df88adb05275c728c052009000c4ae [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 {
WANG Congec0595c2016-07-25 16:09:42 -07007 struct tc_action common;
David S. Millere9ce1cd2006-08-21 23:54:55 -07008 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 Conga85a9702016-07-25 16:09:41 -070012#define to_pedit(a) ((struct tcf_pedit *)a)
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#endif /* __NET_TC_PED_H */