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*/ 24