[hipl-commit] [tiny] Rev 3760: Initialize the remaining init functions with designated priorities.

  • From: Tim Just <tim.just@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 31 Mar 2010 19:26:18 +0300

Committer: Tim Just <tim.just@xxxxxxxxxxxxxx>
Date: 31/03/2010 at 19:26:18
Revision: 3760
Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: tiny

Log:
  Initialize the remaining init functions with designated priorities.
  
  See 
https://plain.ds-group.info/projects/tinyhip/cgi-bin/trac.cgi/wiki/HipdExtensionPoints
  for details on the priority ranges.

Modified:
  M  hipd/init.c

=== modified file 'hipd/init.c'
--- hipd/init.c 2010-03-31 16:19:02 +0000
+++ hipd/init.c 2010-03-31 16:20:58 +0000
@@ -726,26 +726,26 @@
     hip_register_handle_function(HIP_NOTIFY, HIP_STATE_CLOSED, 
&hip_check_notify,  20000);
     hip_register_handle_function(HIP_NOTIFY, HIP_STATE_CLOSED, 
&hip_handle_notify, 30000);
 
-    hip_register_handle_function(HIP_CLOSE, HIP_STATE_ESTABLISHED,  
&hip_close_check_packet,   20000);
+    hip_register_handle_function(HIP_CLOSE, HIP_STATE_ESTABLISHED,  
&hip_close_check_packet,    20000);
     hip_register_handle_function(HIP_CLOSE, HIP_STATE_ESTABLISHED,  
&hip_close_create_response, 30000);
     hip_register_handle_function(HIP_CLOSE, HIP_STATE_ESTABLISHED,  
&hip_close_send_response,   40000);
 
-    hip_register_handle_function(HIP_CLOSE, HIP_STATE_CLOSING,  
&hip_close_check_packet,   20000);
+    hip_register_handle_function(HIP_CLOSE, HIP_STATE_CLOSING,  
&hip_close_check_packet,    20000);
     hip_register_handle_function(HIP_CLOSE, HIP_STATE_CLOSING,  
&hip_close_create_response, 30000);
     hip_register_handle_function(HIP_CLOSE, HIP_STATE_CLOSING,  
&hip_close_send_response,   40000);
 
-    hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSING, 
&hip_close_ack_check_packet, 20000);
+    hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSING, 
&hip_close_ack_check_packet,  20000);
     hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSING, 
&hip_close_ack_handle_packet, 30000);
 
-    hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSED,  
&hip_close_ack_check_packet, 20000);
+    hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSED,  
&hip_close_ack_check_packet,  20000);
     hip_register_handle_function(HIP_CLOSE_ACK, HIP_STATE_CLOSED,  
&hip_close_ack_handle_packet, 30000);
 
-    hip_register_handle_function(HIP_BOS, HIP_STATE_UNASSOCIATED, 
&hip_handle_bos, 1000);
-    hip_register_handle_function(HIP_BOS, HIP_STATE_I1_SENT,      
&hip_handle_bos, 1000);
-    hip_register_handle_function(HIP_BOS, HIP_STATE_I2_SENT,      
&hip_handle_bos, 1000);
+    hip_register_handle_function(HIP_BOS, HIP_STATE_UNASSOCIATED, 
&hip_handle_bos, 20000);
+    hip_register_handle_function(HIP_BOS, HIP_STATE_I1_SENT,      
&hip_handle_bos, 20000);
+    hip_register_handle_function(HIP_BOS, HIP_STATE_I2_SENT,      
&hip_handle_bos, 20000);
 
-    hip_register_handle_function(HIP_LUPDATE, HIP_STATE_ESTABLISHED, 
&esp_prot_handle_light_update, 1000);
-    hip_register_handle_function(HIP_LUPDATE, HIP_STATE_R2_SENT,     
&esp_prot_handle_light_update, 1000);
+    hip_register_handle_function(HIP_LUPDATE, HIP_STATE_ESTABLISHED, 
&esp_prot_handle_light_update, 20000);
+    hip_register_handle_function(HIP_LUPDATE, HIP_STATE_R2_SENT,     
&esp_prot_handle_light_update, 20000);
 
     return err;
 }

Other related posts:

  • » [hipl-commit] [tiny] Rev 3760: Initialize the remaining init functions with designated priorities. - Tim Just