IPSEC: Pass the algorithm salt (used in GCM) over the API
[vpp.git] / src / vnet / sctp / sctp.h
index 577c2af..26e69eb 100644 (file)
@@ -530,6 +530,8 @@ typedef struct _sctp_main
   u8 punt_unknown4;
   u8 punt_unknown6;
 
+  u32 sctp4_established_phase_node_index;
+  u32 sctp6_established_phase_node_index;
 } sctp_main_t;
 
 extern sctp_main_t sctp_main;
@@ -578,7 +580,7 @@ sctp_half_open_connection_del (sctp_connection_t * tc)
   pool_put_index (sctp_main->half_open_connections,
                  tc->sub_conn[SCTP_PRIMARY_PATH_IDX].c_c_index);
   if (CLIB_DEBUG)
-    memset (tc, 0xFA, sizeof (*tc));
+    clib_memset (tc, 0xFA, sizeof (*tc));
   clib_spinlock_unlock_if_init (&sctp_main->half_open_lock);
 }