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


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _XT_TPROXY_H
  3. #define _XT_TPROXY_H
  4. #include <linux/types.h>
  5. #include <linux/netfilter.h>
  6. /* TPROXY target is capable of marking the packet to perform
  7. * redirection. We can get rid of that whenever we get support for
  8. * mutliple targets in the same rule. */
  9. struct xt_tproxy_target_info {
  10. __u32 mark_mask;
  11. __u32 mark_value;
  12. __be32 laddr;
  13. __be16 lport;
  14. };
  15. struct xt_tproxy_target_info_v1 {
  16. __u32 mark_mask;
  17. __u32 mark_value;
  18. union nf_inet_addr laddr;
  19. __be16 lport;
  20. };
  21. #endif /* _XT_TPROXY_H */