xref: /linux/include/net/tc_act/tc_defact.h (revision 3932b9ca55b0be314a36d3e84faff3e823c081f5)
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