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 { |
WANG Cong | ec0595c | 2016-07-25 16:09:42 -0700 | [diff] [blame] | 7 | struct tc_action common; |
Jamal Hadi Salim | 0b0f43f | 2016-06-05 10:41:32 -0400 | [diff] [blame] | 8 | u32 tcfd_datalen; |
9 | void *tcfd_defdata; | ||||
Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 10 | }; |
WANG Cong | a85a970 | 2016-07-25 16:09:41 -0700 | [diff] [blame] | 11 | #define to_defact(a) ((struct tcf_defact *)a) |
Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 12 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 13 | #endif /* __NET_TC_DEF_H */ |