tc_gact.h 332 B

123456789101112131415161718
  1. #ifndef __NET_TC_GACT_H
  2. #define __NET_TC_GACT_H
  3. #include <net/act_api.h>
  4. struct tcf_gact {
  5. struct tcf_common common;
  6. #ifdef CONFIG_GACT_PROB
  7. u16 tcfg_ptype;
  8. u16 tcfg_pval;
  9. int tcfg_paction;
  10. #endif
  11. };
  12. #define to_gact(a) \
  13. container_of(a->priv, struct tcf_gact, common)
  14. #endif /* __NET_TC_GACT_H */