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