linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / netfilter_ipv6 / ip6t_esp.h
index f62eaf5..a91b6ab 100644 (file)
@@ -1,10 +1,14 @@
 #ifndef _IP6T_ESP_H
 #define _IP6T_ESP_H
 
-#include <linux/netfilter/xt_esp.h>
+struct ip6t_esp
+{
+       u_int32_t spis[2];                      /* Security Parameter Index */
+       u_int8_t  invflags;                     /* Inverse flags */
+};
 
-#define ip6t_esp xt_esp
-#define IP6T_ESP_INV_SPI       XT_ESP_INV_SPI
-#define IP6T_ESP_INV_MASK      XT_ESP_INV_MASK
+/* Values for "invflags" field in struct ip6t_esp. */
+#define IP6T_ESP_INV_SPI               0x01    /* Invert the sense of spi. */
+#define IP6T_ESP_INV_MASK      0x01    /* All possible flags. */
 
 #endif /*_IP6T_ESP_H*/