[hipl-commit] [tiny] Rev 3784: added debug output to demultiplexer and r1 verification

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 26 May 2010 11:52:56 +0300

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: 26/05/2010 at 11:52:56
Revision: 3784
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: tiny

Log:
  added debug output to demultiplexer and r1 verification

Modified:
  M  hipd/input.c

=== modified file 'hipd/input.c'
--- hipd/input.c        2010-05-20 16:14:34 +0000
+++ hipd/input.c        2010-05-26 08:52:54 +0000
@@ -584,6 +584,7 @@
     }
 #endif
 
+    HIP_DEBUG("packet type: %u, state: %u\n", type, state);
     hip_run_handle_functions(type, state, ctx);
 
 #ifdef CONFIG_HIP_PERFORMANCE
@@ -710,6 +711,8 @@
     hip_perf_start_benchmark(perf_set, PERF_R1);
 #endif
 
+    HIP_DEBUG("Verifying R1\n");
+
     HIP_IFEL(!ctx->hadb_entry, -1,
              "No entry in host association database when receiving R1." \
              "Dropping.\n");
@@ -791,6 +794,8 @@
 out_err:
     if (err) {
         ctx->error = err;
+    } else {
+        HIP_DEBUG("successfully verified R1\n");
     }
     return err;
 }

Other related posts:

  • » [hipl-commit] [tiny] Rev 3784: added debug output to demultiplexer and r1 verification - Rene Hummen