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