logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

xt_NFQUEUE.h (779B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /* iptables module for using NFQUEUE mechanism
  3. *
  4. * (C) 2005 Harald Welte <laforge@netfilter.org>
  5. *
  6. * This software is distributed under GNU GPL v2, 1991
  7. *
  8. */
  9. #ifndef _XT_NFQ_TARGET_H
  10. #define _XT_NFQ_TARGET_H
  11. #include <linux/types.h>
  12. /* target info */
  13. struct xt_NFQ_info {
  14. __u16 queuenum;
  15. };
  16. struct xt_NFQ_info_v1 {
  17. __u16 queuenum;
  18. __u16 queues_total;
  19. };
  20. struct xt_NFQ_info_v2 {
  21. __u16 queuenum;
  22. __u16 queues_total;
  23. __u16 bypass;
  24. };
  25. struct xt_NFQ_info_v3 {
  26. __u16 queuenum;
  27. __u16 queues_total;
  28. __u16 flags;
  29. #define NFQ_FLAG_BYPASS 0x01 /* for compatibility with v2 */
  30. #define NFQ_FLAG_CPU_FANOUT 0x02 /* use current CPU (no hashing) */
  31. #define NFQ_FLAG_MASK 0x03
  32. };
  33. #endif /* _XT_NFQ_TARGET_H */