tc_gact.h 331 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. atomic_t packets;
  11. #endif
  12. };
  13. #define to_gact(a) \
  14. container_of(a->priv, struct tcf_gact, common)
  15. #endif /* __NET_TC_GACT_H */