rename lq_route into olsr_spf
authorHannes Gredler <hannes@gredler.at>
Wed, 7 May 2008 16:47:16 +0000 (18:47 +0200)
committerHannes Gredler <hannes@gredler.at>
Wed, 7 May 2008 16:47:16 +0000 (18:47 +0200)
since quite some time all the SPF code has been unified, and the same code-path
is used now for LQ and non-LQ route calculations. Its time to rename the file now to
indicate that this is not specific to LQ route computation.

13 files changed:
lib/bmf/src/NetworkInterfaces.c
lib/lq_etx_fpm/src/lq_etx_fpm.c
lib/tas/src/plugin.c
src/link_set.c
src/lq_plugin.c
src/lq_plugin.h
src/lq_plugin_default.c
src/olsr.c
src/olsr_spf.c [moved from src/lq_route.c with 99% similarity]
src/olsr_spf.h [moved from src/lq_route.h with 97% similarity]
src/routing_table.c
src/scheduler.c
src/tc_set.c

index efbaaff..38f3c31 100644 (file)
@@ -61,7 +61,6 @@
 #include "ipcalc.h"
 #include "defs.h" /* olsr_cnf */
 #include "link_set.h" /* get_link_set() */
-#include "lq_route.h" /* MIN_LINK_QUALITY */
 #include "tc_set.h" /* olsr_lookup_tc_entry(), olsr_lookup_tc_edge() */
 #include "net_olsr.h" /* ipequal */
 #include "lq_plugin.h"
index 81a13b9..fc37249 100644 (file)
@@ -41,7 +41,7 @@
 #include "tc_set.h"
 #include "link_set.h"
 #include "lq_plugin.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "lq_packet.h"
 #include "packet.h"
 #include "olsr.h"
index cfc9e7d..7c626a3 100644 (file)
@@ -64,7 +64,6 @@
 #include <hna_set.h>
 #include <routing_table.h>
 #include <olsr_protocol.h>
-#include <lq_route.h>
 #include <mpr_selector_set.h>
 #include <duplicate_set.h>
 #include <lq_plugin.h>
index c5ddcab..8d1657c 100644 (file)
@@ -51,7 +51,7 @@
 #include "neighbor_table.h"
 #include "olsr.h"
 #include "scheduler.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "net_olsr.h"
 #include "ipcalc.h"
 #include "lq_plugin.h"
index 4c8a916..7fae010 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "tc_set.h"
 #include "link_set.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "lq_packet.h"
 #include "packet.h"
 #include "olsr.h"
index 46fa862..5dda271 100644 (file)
@@ -43,7 +43,7 @@
 
 #include "tc_set.h"
 #include "link_set.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "lq_packet.h"
 #include "packet.h"
 
index 5ee36f3..e44c64b 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "tc_set.h"
 #include "link_set.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "lq_packet.h"
 #include "packet.h"
 #include "olsr.h"
index c8c792f..a494b2e 100644 (file)
@@ -52,7 +52,7 @@
 #include "mid_set.h"
 #include "mpr.h"
 #include "lq_mpr.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "scheduler.h"
 #include "apm.h"
 #include "misc.h"
similarity index 99%
rename from src/lq_route.c
rename to src/olsr_spf.c
index 9795815..b050686 100644 (file)
@@ -62,7 +62,7 @@
 #include "hna_set.h"
 #include "common/list.h"
 #include "common/avl.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "net_olsr.h"
 #include "lq_plugin.h"
 
similarity index 97%
rename from src/lq_route.h
rename to src/olsr_spf.h
index 8aaba2d..511aec6 100644 (file)
@@ -38,8 +38,8 @@
  *
  */
 
-#ifndef _LQ_ROUTE_H
-#define _LQ_ROUTE_H
+#ifndef _OLSR_SPF_H
+#define _OLSR_SPF_H
 
 void olsr_calculate_routing_table(void *);
 
index 0d0c213..a111216 100644 (file)
@@ -49,7 +49,7 @@
 #include "olsr.h"
 #include "link_set.h"
 #include "common/avl.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "net_olsr.h"
 
 #include <assert.h>
index 2dff42a..dfd1ff8 100644 (file)
@@ -53,7 +53,7 @@
 #include "build_msg.h"
 #include "net_olsr.h"
 #include "socket_parser.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "link_set.h"
 #include "olsr_cookie.h"
 
index 139212c..841e0ab 100644 (file)
@@ -46,7 +46,7 @@
 #include "link_set.h"
 #include "olsr.h"
 #include "scheduler.h"
-#include "lq_route.h"
+#include "olsr_spf.h"
 #include "common/avl.h"
 #include "lq_packet.h"
 #include "net_olsr.h"