blob: d47f040a3bdfe0daacdb296a3bc749fb7fd4a1ce [file] [log] [blame]
Jamal Hadi Salimdb753072005-04-24 20:10:16 -07001#ifndef __NET_TC_DEF_H
2#define __NET_TC_DEF_H
3
4#include <net/act_api.h>
5
David S. Millere9ce1cd2006-08-21 23:54:55 -07006struct tcf_defact {
WANG Congec0595c2016-07-25 16:09:42 -07007 struct tc_action common;
Jamal Hadi Salim0b0f43f2016-06-05 10:41:32 -04008 u32 tcfd_datalen;
9 void *tcfd_defdata;
Jamal Hadi Salimdb753072005-04-24 20:10:16 -070010};
WANG Conga85a9702016-07-25 16:09:41 -070011#define to_defact(a) ((struct tcf_defact *)a)
Jamal Hadi Salimdb753072005-04-24 20:10:16 -070012
David S. Millere9ce1cd2006-08-21 23:54:55 -070013#endif /* __NET_TC_DEF_H */