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_DSCP.h (697B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /* x_tables module for setting the IPv4/IPv6 DSCP field
  3. *
  4. * (C) 2002 Harald Welte <laforge@gnumonks.org>
  5. * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com>
  6. * This software is distributed under GNU GPL v2, 1991
  7. *
  8. * See RFC2474 for a description of the DSCP field within the IP Header.
  9. *
  10. * xt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp
  11. */
  12. #ifndef _XT_DSCP_TARGET_H
  13. #define _XT_DSCP_TARGET_H
  14. #include <linux/netfilter/xt_dscp.h>
  15. #include <linux/types.h>
  16. /* target info */
  17. struct xt_DSCP_info {
  18. __u8 dscp;
  19. };
  20. struct xt_tos_target_info {
  21. __u8 tos_value;
  22. __u8 tos_mask;
  23. };
  24. #endif /* _XT_DSCP_TARGET_H */