xref: /linux/include/net/tc_act/tc_defact.h (revision 0883c2c06fb5bcf5b9e008270827e63c09a88c1e)
1 #ifndef __NET_TC_DEF_H
2 #define __NET_TC_DEF_H
3 
4 #include <net/act_api.h>
5 
6 struct tcf_defact {
7 	struct tcf_common	common;
8 	u32     		tcfd_datalen;
9 	void    		*tcfd_defdata;
10 };
11 #define to_defact(a) \
12 	container_of(a->priv, struct tcf_defact, common)
13 
14 #endif /* __NET_TC_DEF_H */
15