[hipl-commit] [trunk] Rev 4703: esp_prot_conntrack.h cleanup

  • From: Artturi Karila <artturi.karila@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 2 Jun 2010 14:14:17 +0300

Committer: Artturi Karila <artturi.karila@xxxxxxxxxx>
Date: 02/06/2010 at 14:14:17
Revision: 4703
Revision-id: artturi.karila@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  esp_prot_conntrack.h cleanup
  
  Moved internal-use struct to esp_prot_conntrack.c.

Modified:
  M  firewall/common_types.h
  M  firewall/esp_prot_conntrack.c
  M  firewall/esp_prot_conntrack.h

=== modified file 'firewall/common_types.h'
--- firewall/common_types.h     2010-04-22 10:12:54 +0000
+++ firewall/common_types.h     2010-06-02 11:14:17 +0000
@@ -20,11 +20,4 @@
     struct _DList *prev;
 };
 
-typedef struct _TimeVal TimeVal;
-
-struct _TimeVal {
-    long tv_sec;
-    long tv_usec;
-};
-
 #endif /*HIP_FIREWALL_COMMON_TYPES_H*/

=== modified file 'firewall/esp_prot_conntrack.c'
--- firewall/esp_prot_conntrack.c       2010-05-30 16:35:01 +0000
+++ firewall/esp_prot_conntrack.c       2010-06-02 11:14:17 +0000
@@ -36,6 +36,12 @@
 #include "esp_prot_conntrack.h"
 
 
+typedef struct esp_prot_conntrack_tfm {
+    hash_function_t hash_function;     /* pointer to the hash function */
+    int             hash_length; /* hash length for this transform */
+    int             is_used; /* needed as complete transform array is 
initialized */
+} esp_prot_conntrack_tfm_t;
+
 /* cached anchor element updates */
 struct esp_anchor_item {
     uint32_t       seq; /* current sequence of the IPsec SA */

=== modified file 'firewall/esp_prot_conntrack.h'
--- firewall/esp_prot_conntrack.h       2010-05-23 12:47:35 +0000
+++ firewall/esp_prot_conntrack.h       2010-06-02 11:14:17 +0000
@@ -19,13 +19,6 @@
 #include "lib/core/protodefs.h"
 #include "firewall_defines.h"
 
-
-typedef struct esp_prot_conntrack_tfm {
-    hash_function_t hash_function;     /* pointer to the hash function */
-    int             hash_length; /* hash length for this transform */
-    int             is_used; /* needed as complete transform array is 
initialized */
-} esp_prot_conntrack_tfm_t;
-
 extern int window_size;
 
 int esp_prot_conntrack_init(void);

Other related posts:

  • » [hipl-commit] [trunk] Rev 4703: esp_prot_conntrack.h cleanup - Artturi Karila