Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 1 | #ifndef __NET_TC_DEF_H |
| 2 | #define __NET_TC_DEF_H |
| 3 | |
| 4 | #include <net/act_api.h> |
| 5 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 6 | struct tcf_defact { |
| 7 | struct tcf_common common; |
| 8 | u32 tcfd_datalen; |
| 9 | void *tcfd_defdata; |
Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 10 | }; |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 11 | #define to_defact(pc) \ |
| 12 | container_of(pc, struct tcf_defact, common) |
Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 13 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 14 | #endif /* __NET_TC_DEF_H */ |