tc_ipt.h 324 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NET_TC_IPT_H
  3. #define __NET_TC_IPT_H
  4. #include <net/act_api.h>
  5. struct xt_entry_target;
  6. struct tcf_ipt {
  7. struct tc_action common;
  8. u32 tcfi_hook;
  9. char *tcfi_tname;
  10. struct xt_entry_target *tcfi_t;
  11. };
  12. #define to_ipt(a) ((struct tcf_ipt *)a)
  13. #endif /* __NET_TC_IPT_H */