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