[Olsr-cvs] olsrd-current/src lq_route.c,1.37,1.38

Thomas Lopatic (spam-protected)
Wed Nov 16 00:46:22 CET 2005


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29473/src

Modified Files:
	lq_route.c 
Log Message:
Use HNA routing table with ETX. Support "<?lua= ... ?>" in TAS. Let
users override the minimal HELLO validity time. Secure session cookies
in TAS.


Index: lq_route.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_route.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** lq_route.c	23 Oct 2005 20:58:14 -0000	1.37
--- lq_route.c	15 Nov 2005 23:46:20 -0000	1.38
***************
*** 606,609 ****
--- 606,613 ----
    }
  
+   // save the old HNA routing table
+ 
+   olsr_move_route_table(hna_routes, old_hna);
+ 
    // add HNA routes - the set of unprocessed network nodes contains
    // all reachable network nodes
***************
*** 672,676 ****
        // find the correct list
  
!       head_rt = &routingtable[olsr_hashing(&hna->A_network_addr)];
  
        // enqueue
--- 676,680 ----
        // find the correct list
  
!       head_rt = &hna_routes[olsr_hashing(&hna->A_network_addr)];
  
        // enqueue
***************
*** 691,697 ****
--- 695,703 ----
  
    olsr_update_kernel_routes();
+   olsr_update_kernel_hna_routes();
  
    // free the saved routing table
  
    olsr_free_routing_table(old_routes);
+   olsr_free_routing_table(old_hna);
  }





More information about the Olsr-cvs mailing list