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

« back to all changes in this revision

Viewing changes to iptables/include/linux/netfilter_ipv6/ip6t_esp.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
 
#ifndef _IP6T_ESP_H
2
 
#define _IP6T_ESP_H
3
 
 
4
 
struct ip6t_esp
5
 
{
6
 
        u_int32_t spis[2];                      /* Security Parameter Index */
7
 
        u_int8_t  invflags;                     /* Inverse flags */
8
 
};
9
 
 
10
 
#define MASK_HOPOPTS    128
11
 
#define MASK_DSTOPTS    64
12
 
#define MASK_ROUTING    32
13
 
#define MASK_FRAGMENT   16
14
 
#define MASK_AH         8
15
 
#define MASK_ESP        4
16
 
#define MASK_NONE       2
17
 
#define MASK_PROTO      1
18
 
 
19
 
/* Values for "invflags" field in struct ip6t_esp. */
20
 
#define IP6T_ESP_INV_SPI                0x01    /* Invert the sense of spi. */
21
 
#define IP6T_ESP_INV_MASK       0x01    /* All possible flags. */
22
 
 
23
 
#endif /*_IP6T_ESP_H*/