http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / kernel / linux / include / linux / netfilter_ipv4 / ip_nat_esp.h
1 #ifndef _IP_ALG_ESP_H
2 #define _IP_ALG_ESP_H
3 /* ESP extension for NAT alteration. */
4
5 #ifndef __KERNEL__
6 #error Only in kernel.
7 #endif
8
9 /* Protects IPSec part of conntracks */
10 DECLARE_LOCK_EXTERN(ip_esp_lock);
11
12 struct ip_nat_esp_info
13 {
14         u_int32_t       spi;     /* Security Parameter Id  */
15         u_int32_t       saddr;   /* Orig Source IP address */
16         u_int32_t       daddr;   /* Remote IP address      */
17 };
18
19 #endif /* _IP_ALG_ESP_H */