1 /*****************************************************************************
3 // Copyright (c) 2000-2002 Broadcom Corporation
5 // No portions of this material may be reproduced in any form without the
6 // written permission of:
7 // Broadcom Corporation
9 // Irvine, California 92619
10 // All information contained in this document is Broadcom Corporation
11 // company private, proprietary, and trade secret.
13 ******************************************************************************
15 // Filename: ip_conntrack_esp.h
16 // Author: Pavan Kumar
17 // Creation Date: 05/27/04
20 // Implements the ESP ALG connectiontracking data structures.
22 *****************************************************************************/
23 #ifndef _IP_CONNTRACK_ESP_H
24 #define _IP_CONNTRACK_ESP_H
28 #error Only in kernel.
31 #include <linux/netfilter_ipv4/lockhelp.h>
33 /* Protects ftp part of conntracks */
34 DECLARE_LOCK_EXTERN(ip_esp_lock);
41 /* This structure is per expected connection */
42 struct ip_ct_esp_expect
44 /* We record spi and source IP address: all in
47 u_int32_t spi; /* Security Parameter Identifier */
48 u_int32_t saddr; /* source IP address in the orig dir */
49 u_int32_t daddr; /* remote IP address in the orig dir */
52 /* This structure exists only once per master */
53 struct ip_ct_esp_master {
59 #endif /* _IP_CONNTRACK_ESP_H */