OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [netfilter_ipv4/] [ipt_dscp.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* iptables module for matching the IPv4 DSCP field
2
 *
3
 * (C) 2002 Harald Welte <laforge@gnumonks.org>
4
 * This software is distributed under GNU GPL v2, 1991
5
 *
6
 * See RFC2474 for a description of the DSCP field within the IP Header.
7
 *
8
 * ipt_dscp.h,v 1.3 2002/08/05 19:00:21 laforge Exp
9
*/
10
#ifndef _IPT_DSCP_H
11
#define _IPT_DSCP_H
12
 
13
#define IPT_DSCP_MASK   0xfc    /* 11111100 */
14
#define IPT_DSCP_SHIFT  2
15
#define IPT_DSCP_MAX    0x3f    /* 00111111 */
16
 
17
/* match info */
18
struct ipt_dscp_info {
19
        u_int8_t dscp;
20
        u_int8_t invert;
21
};
22
 
23
#endif /* _IPT_DSCP_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.