blob: ab9b5d6be67b8ff446a8deb647c46e984a4e18c0 [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 {
7 struct tcf_common 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 Cong86062032014-02-11 17:07:31 -080011#define to_defact(a) \
12 container_of(a->priv, struct tcf_defact, common)
Jamal Hadi Salimdb753072005-04-24 20:10:16 -070013
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#endif /* __NET_TC_DEF_H */