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_connlimit.h (575B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _XT_CONNLIMIT_H
  3. #define _XT_CONNLIMIT_H
  4. #include <linux/types.h>
  5. #include <linux/netfilter.h>
  6. struct xt_connlimit_data;
  7. enum {
  8. XT_CONNLIMIT_INVERT = 1 << 0,
  9. XT_CONNLIMIT_DADDR = 1 << 1,
  10. };
  11. struct xt_connlimit_info {
  12. union {
  13. union nf_inet_addr mask;
  14. union {
  15. __be32 v4_mask;
  16. __be32 v6_mask[4];
  17. };
  18. };
  19. unsigned int limit;
  20. /* revision 1 */
  21. __u32 flags;
  22. /* Used internally by the kernel */
  23. struct nf_conncount_data *data __attribute__((aligned(8)));
  24. };
  25. #endif /* _XT_CONNLIMIT_H */