The C and C++ Include Header Files
/usr/include/linux/netfilter/xt_dscp.h
$ cat -n /usr/include/linux/netfilter/xt_dscp.h 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* x_tables module for matching the IPv4/IPv6 DSCP field 3 * 4 * (C) 2002 Harald Welte
5 * This software is distributed under GNU GPL v2, 1991 6 * 7 * See RFC2474 for a description of the DSCP field within the IP Header. 8 * 9 * xt_dscp.h,v 1.3 2002/08/05 19:00:21 laforge Exp 10 */ 11 #ifndef _XT_DSCP_H 12 #define _XT_DSCP_H 13 14 #include
15 16 #define XT_DSCP_MASK 0xfc /* 11111100 */ 17 #define XT_DSCP_SHIFT 2 18 #define XT_DSCP_MAX 0x3f /* 00111111 */ 19 20 /* match info */ 21 struct xt_dscp_info { 22 __u8 dscp; 23 __u8 invert; 24 }; 25 26 struct xt_tos_match_info { 27 __u8 tos_mask; 28 __u8 tos_value; 29 __u8 invert; 30 }; 31 32 #endif /* _XT_DSCP_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2024 MyWebUniversity.com ™