~csurbhi/ubuntu/maverick/iptables/iptable-fix.600195

« back to all changes in this revision

Viewing changes to include/linux/netfilter/xt_dscp.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-24 15:06:04 UTC
  • mfrom: (5.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624150604-5t7r1o1kxq0ycz81
Tags: 1.4.0-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Took references to 2.4 kernel out of doc-base control files (Jordan
    Mantha, Malone #25972) (patches/all/091-fix-2.4-references.patch)
  - Use linux-libc-dev instead of local copy of kernel-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* x_tables module for matching the IPv4/IPv6 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
 * xt_dscp.h,v 1.3 2002/08/05 19:00:21 laforge Exp
 
9
*/
 
10
#ifndef _XT_DSCP_H
 
11
#define _XT_DSCP_H
 
12
 
 
13
#define XT_DSCP_MASK    0xfc    /* 11111100 */
 
14
#define XT_DSCP_SHIFT   2
 
15
#define XT_DSCP_MAX     0x3f    /* 00111111 */
 
16
 
 
17
/* match info */
 
18
struct xt_dscp_info {
 
19
        u_int8_t dscp;
 
20
        u_int8_t invert;
 
21
};
 
22
 
 
23
#endif /* _XT_DSCP_H */