← Back to team overview

hipl-core team mailing list archive

[Branch ~rene-hummen/hipl/ipsec_esp] Rev 4935: added output for extension startup

 

------------------------------------------------------------
revno: 4935
committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
branch nick: ipsec_esp
timestamp: Fri 2010-09-10 16:31:49 +0200
message:
  added output for extension startup
  
  This should help tracking, which extensions are actually running and
  in which order they are initialized.
modified:
  modules/esp_tokens/hipd/esp_tokens.c
  modules/heartbeat/hipd/heartbeat.c
  modules/heartbeat_update/hipd/hb_update.c
  modules/update/hipd/update.c
  modules/user_ipsec/hipd/user_ipsec.c


--
lp:~rene-hummen/hipl/ipsec_esp
https://code.launchpad.net/~rene-hummen/hipl/ipsec_esp

Your team HIPL core team is subscribed to branch lp:~rene-hummen/hipl/ipsec_esp.
To unsubscribe from this branch go to https://code.launchpad.net/~rene-hummen/hipl/ipsec_esp/+edit-subscription
=== modified file 'modules/esp_tokens/hipd/esp_tokens.c'
--- modules/esp_tokens/hipd/esp_tokens.c	2010-09-03 11:40:19 +0000
+++ modules/esp_tokens/hipd/esp_tokens.c	2010-09-10 14:31:49 +0000
@@ -33,6 +33,7 @@
 
 #include "lib/modularization/lmod.h"
 #include "lib/core/state.h"
+#include "lib/core/debug.h"
 #include "hipd/pkt_handling.h"
 #include "hipd/user.h"
 #include "esp_prot_hipd_msg.h"
@@ -60,6 +61,8 @@
 {
     int err = 0;
 
+    HIP_INFO("Initializing esp tokens extension\n");
+
     // register light-weight update packet type
     lmod_register_packet_type(HIP_LUPDATE, "HIP_LUPDATE");
 

=== modified file 'modules/heartbeat/hipd/heartbeat.c'
--- modules/heartbeat/hipd/heartbeat.c	2010-09-06 17:16:19 +0000
+++ modules/heartbeat/hipd/heartbeat.c	2010-09-10 14:31:49 +0000
@@ -455,6 +455,8 @@
     struct icmp6_filter filter;
     int *icmpsockfd = &hip_icmp_sock;
 
+    HIP_INFO("Initializing heartbeat extension\n");
+
     *icmpsockfd       = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
     set_cloexec_flag(*icmpsockfd, 1);
     HIP_IFEL(*icmpsockfd <= 0, 1, "ICMPv6 socket creation failed\n");

=== modified file 'modules/heartbeat_update/hipd/hb_update.c'
--- modules/heartbeat_update/hipd/hb_update.c	2010-07-07 16:22:48 +0000
+++ modules/heartbeat_update/hipd/hb_update.c	2010-09-10 14:31:49 +0000
@@ -103,6 +103,8 @@
 {
     int err = 0;
 
+    HIP_INFO("Initializing tunnel updates for heartbeat extension\n");
+
     HIP_IFEL(hip_register_maint_function(&hip_hb_update_maintenance, 50000),
              -1,
              "Error on registration of hip_hb_update_maintenance().\n");

=== modified file 'modules/update/hipd/update.c'
--- modules/update/hipd/update.c	2010-09-10 14:26:44 +0000
+++ modules/update/hipd/update.c	2010-09-10 14:31:49 +0000
@@ -1146,6 +1146,8 @@
 {
     int err = 0;
 
+    HIP_INFO("Initializing mobility and multi-homing extension\n");
+
     lmod_register_packet_type(HIP_UPDATE, "HIP_UPDATE");
 
     HIP_IFEL(lmod_register_state_init_function(&hip_update_init_state),

=== modified file 'modules/user_ipsec/hipd/user_ipsec.c'
--- modules/user_ipsec/hipd/user_ipsec.c	2010-09-10 14:26:44 +0000
+++ modules/user_ipsec/hipd/user_ipsec.c	2010-09-10 14:31:49 +0000
@@ -52,6 +52,8 @@
 {
     int err = 0;
 
+    HIP_INFO("Initializing user-space IPsec extension\n");
+
     HIP_IFEL(hip_user_register_handle(HIP_MSG_USERSPACE_IPSEC,
                                       &hip_userspace_ipsec_activate,
                                       20000),