tc_ipt.h 313 B

1234567891011121314151617
  1. #ifndef __NET_TC_IPT_H
  2. #define __NET_TC_IPT_H
  3. #include <net/act_api.h>
  4. struct xt_entry_target;
  5. struct tcf_ipt {
  6. struct tcf_common common;
  7. u32 tcfi_hook;
  8. char *tcfi_tname;
  9. struct xt_entry_target *tcfi_t;
  10. };
  11. #define to_ipt(a) \
  12. container_of(a->priv, struct tcf_ipt, common)
  13. #endif /* __NET_TC_IPT_H */