olsrd.git
15 years agoolsr_ip_to_string() now only overwrites the buffer after four ivocations.
Thomas Lopatic [Mon, 15 Nov 2004 14:59:39 +0000 (14:59 +0000)]
olsr_ip_to_string() now only overwrites the buffer after four ivocations.
TC set debug output is now formatted as a table. Dijkstra uses ETX and
prints nicer debug information.

15 years agoAdded direct access to the MID table in the plugin interface
Andreas Tonnesen [Mon, 15 Nov 2004 12:31:58 +0000 (12:31 +0000)]
Added direct access to the MID table in the plugin interface

15 years agoIf a host is directly reachable, use cloning and add a /32 network route
Thomas Lopatic [Mon, 15 Nov 2004 12:18:49 +0000 (12:18 +0000)]
If a host is directly reachable, use cloning and add a /32 network route
instead of a host route.

15 years agoUse ETX instead of total link quality.
Thomas Lopatic [Mon, 15 Nov 2004 11:14:06 +0000 (11:14 +0000)]
Use ETX instead of total link quality.

15 years agoPass metric and not address of metric.
Thomas Lopatic [Sun, 14 Nov 2004 20:48:03 +0000 (20:48 +0000)]
Pass metric and not address of metric.

15 years agoRemoved pthread emulation from Windows port. Fixed IPC route update to
Thomas Lopatic [Sun, 14 Nov 2004 20:25:34 +0000 (20:25 +0000)]
Removed pthread emulation from Windows port. Fixed IPC route update to
pass arguments according to the new prototype.

15 years agoIPv6 IPC fix
Andreas Tonnesen [Sun, 14 Nov 2004 19:14:36 +0000 (19:14 +0000)]
IPv6 IPC fix

15 years agoRemoved use of localhost in GUI
Andreas Tonnesen [Sun, 14 Nov 2004 15:34:15 +0000 (15:34 +0000)]
Removed use of localhost in GUI

15 years agoCosmetic fix
Andreas Tonnesen [Sun, 14 Nov 2004 15:08:38 +0000 (15:08 +0000)]
Cosmetic fix

15 years agoFixed an initialization issue(valgrind complaint)
Andreas Tonnesen [Sun, 14 Nov 2004 15:08:10 +0000 (15:08 +0000)]
Fixed an initialization issue(valgrind complaint)

15 years agoFixed timestamp printout for link, hna and neighbor sets
Andreas Tonnesen [Sun, 14 Nov 2004 13:58:49 +0000 (13:58 +0000)]
Fixed timestamp printout for link, hna and neighbor sets

15 years agoUnknown grabbed packets are now displayed with type, size and originator
Andreas Tonnesen [Sun, 14 Nov 2004 13:33:55 +0000 (13:33 +0000)]
Unknown grabbed packets are now displayed with type, size and originator

15 years agoAdded support for passing host/IP as command line option
Andreas Tonnesen [Sun, 14 Nov 2004 13:23:14 +0000 (13:23 +0000)]
Added support for passing host/IP as command line option

15 years agoUpdates, needs much more work
Andreas Tonnesen [Sun, 14 Nov 2004 09:43:31 +0000 (09:43 +0000)]
Updates, needs much more work

15 years agoRemoved NT
Andreas Tonnesen [Sat, 13 Nov 2004 11:13:13 +0000 (11:13 +0000)]
Removed NT

15 years agoIPC route entry issues fixed
Andreas Tonnesen [Fri, 12 Nov 2004 22:11:54 +0000 (22:11 +0000)]
IPC route entry issues fixed

15 years agoRemoval of threads
Andreas Tonnesen [Fri, 12 Nov 2004 21:24:55 +0000 (21:24 +0000)]
Removal of threads

15 years agoRemoved pthreads link flags
Andreas Tonnesen [Fri, 12 Nov 2004 21:20:53 +0000 (21:20 +0000)]
Removed pthreads link flags

15 years agoRemoved the use of threads
Andreas Tonnesen [Fri, 12 Nov 2004 21:20:23 +0000 (21:20 +0000)]
Removed the use of threads

15 years agoAdded some schetces for threadless operation
Andreas Tonnesen [Fri, 12 Nov 2004 20:48:19 +0000 (20:48 +0000)]
Added some schetces for threadless operation

15 years agoHighest FD for select is now set in the add/remove socket functions
Andreas Tonnesen [Fri, 12 Nov 2004 20:17:59 +0000 (20:17 +0000)]
Highest FD for select is now set in the add/remove socket functions

15 years agoFixed printout of ipversion
Andreas Tonnesen [Fri, 12 Nov 2004 16:33:13 +0000 (16:33 +0000)]
Fixed printout of ipversion

15 years agoRemoved the unused file ipc_olsrset.h
Andreas Tonnesen [Fri, 12 Nov 2004 16:29:42 +0000 (16:29 +0000)]
Removed the unused file ipc_olsrset.h

15 years agoRemoved the accept thread in the IPC code
Andreas Tonnesen [Fri, 12 Nov 2004 16:27:48 +0000 (16:27 +0000)]
Removed the accept thread in the IPC code

15 years agoAdded net check for IPC socket
Andreas Tonnesen [Fri, 12 Nov 2004 16:18:25 +0000 (16:18 +0000)]
Added net check for IPC socket

15 years agoUpdated the listen call
Andreas Tonnesen [Fri, 12 Nov 2004 06:34:09 +0000 (06:34 +0000)]
Updated the listen call

15 years agoDo not use negative values for infinity. This causes loops when we have
Thomas Lopatic [Thu, 11 Nov 2004 23:22:34 +0000 (23:22 +0000)]
Do not use negative values for infinity. This causes loops when we have
only nodes left to which we do not have a path. 0.0 is good enough, as
we only change an existing path if its resulting quality is better than
what we have. A 0.0 link never makes a path better, not even a path that
already has a quality of 0.0.

15 years agoAdded checking of IPC host list - nets still not checked
Andreas Tonnesen [Thu, 11 Nov 2004 21:24:52 +0000 (21:24 +0000)]
Added checking of IPC host list - nets still not checked

15 years agoAdded extended IPC options for config
Andreas Tonnesen [Thu, 11 Nov 2004 21:14:18 +0000 (21:14 +0000)]
Added extended IPC options for config

15 years agoAdded new IPC config section
Andreas Tonnesen [Thu, 11 Nov 2004 20:54:37 +0000 (20:54 +0000)]
Added new IPC config section

15 years agoUse ">" instead of ">=" when extracting the best node.
Thomas Lopatic [Wed, 10 Nov 2004 23:30:12 +0000 (23:30 +0000)]
Use ">" instead of ">=" when extracting the best node.

15 years agoIf we do not find a path from a node to ourselves, ignore this node. Added
Thomas Lopatic [Wed, 10 Nov 2004 23:14:39 +0000 (23:14 +0000)]
If we do not find a path from a node to ourselves, ignore this node. Added
debug output for the results of the Dijkstra algorithm.

15 years agoAlso select -1.0 quality vertices as best vertices.
Thomas Lopatic [Wed, 10 Nov 2004 21:37:16 +0000 (21:37 +0000)]
Also select -1.0 quality vertices as best vertices.

15 years agoFixed typo
Andreas Tonnesen [Wed, 10 Nov 2004 17:35:33 +0000 (17:35 +0000)]
Fixed typo

15 years agoRemoved "TLQ" from the neighbour table debug printout.
Thomas Lopatic [Wed, 10 Nov 2004 17:11:36 +0000 (17:11 +0000)]
Removed "TLQ" from the neighbour table debug printout.

15 years agoadded GETD__ROUTINGTABLE and GETD__HNA_ROUTES to the plugin IO
Andreas Tonnesen [Wed, 10 Nov 2004 16:58:46 +0000 (16:58 +0000)]
added GETD__ROUTINGTABLE and GETD__HNA_ROUTES to the plugin IO

15 years agoSwapped NLQ and LQ in neighbour table debug printout.
Thomas Lopatic [Wed, 10 Nov 2004 15:09:27 +0000 (15:09 +0000)]
Swapped NLQ and LQ in neighbour table debug printout.

15 years agoOnly update the saved link quality values after the 10-percent threshold
Thomas Lopatic [Wed, 10 Nov 2004 14:53:21 +0000 (14:53 +0000)]
Only update the saved link quality values after the 10-percent threshold
has been reached. Otherwise keep the old saved link quality values.

15 years agoI thought I had already committed this? Fixes for heartbeat output
Andreas Tonnesen [Wed, 10 Nov 2004 14:40:37 +0000 (14:40 +0000)]
I thought I had already committed this? Fixes for heartbeat output

15 years agoCreate a new ANSN if the detected link loss changes by more than 10
Thomas Lopatic [Wed, 10 Nov 2004 14:07:48 +0000 (14:07 +0000)]
Create a new ANSN if the detected link loss changes by more than 10
percent. Add routes to all interfaces of a node.

15 years agoAdded "LinkQualityLevel" option to the example configuration file.
Thomas Lopatic [Wed, 10 Nov 2004 13:29:48 +0000 (13:29 +0000)]
Added "LinkQualityLevel" option to the example configuration file.

15 years agoIf the link quality changes for a neighbour, increment the ANSN.
Thomas Lopatic [Wed, 10 Nov 2004 13:09:40 +0000 (13:09 +0000)]
If the link quality changes for a neighbour, increment the ANSN.

15 years agoSignal topology and neighborhood changes if a link quality value changes
Thomas Lopatic [Wed, 10 Nov 2004 12:35:30 +0000 (12:35 +0000)]
Signal topology and neighborhood changes if a link quality value changes
by more than 10 percent.

15 years agoRemoved description of old neighbour table output.
Thomas Lopatic [Wed, 10 Nov 2004 11:57:12 +0000 (11:57 +0000)]
Removed description of old neighbour table output.

15 years agoDebug output table format now also works for IPv6. Output updated tables
Thomas Lopatic [Wed, 10 Nov 2004 11:54:28 +0000 (11:54 +0000)]
Debug output table format now also works for IPv6. Output updated tables
if the quality of a link has changed by more than 10 percent.

15 years agoAdded patch from Bruno for cross compilation
Andreas Tonnesen [Wed, 10 Nov 2004 11:12:50 +0000 (11:12 +0000)]
Added patch from Bruno for cross compilation

15 years agoAdded isatty() to the Windows port.
Thomas Lopatic [Wed, 10 Nov 2004 11:08:32 +0000 (11:08 +0000)]
Added isatty() to the Windows port.

15 years agoNew interface config format
Andreas Tonnesen [Wed, 10 Nov 2004 11:05:09 +0000 (11:05 +0000)]
New interface config format

15 years agoAdded isatty check for heartbeat output and changed to using \r in the heartbeat...
Andreas Tonnesen [Wed, 10 Nov 2004 07:40:11 +0000 (07:40 +0000)]
Added isatty check for heartbeat output and changed to using \r in the heartbeat output

15 years agoAdded IP version check
Andreas Tonnesen [Tue, 9 Nov 2004 21:15:07 +0000 (21:15 +0000)]
Added IP version check

15 years agoUpdated debug output generation, tebles are now printed only upon changes. Also added...
Andreas Tonnesen [Tue, 9 Nov 2004 21:09:58 +0000 (21:09 +0000)]
Updated debug output generation, tebles are now printed only upon changes. Also added a revolving line(pulse) output

15 years agoRemoved separate Windows makefile.
Thomas Lopatic [Tue, 9 Nov 2004 00:44:52 +0000 (00:44 +0000)]
Removed separate Windows makefile.

15 years agoAdded version script.
Thomas Lopatic [Tue, 9 Nov 2004 00:42:47 +0000 (00:42 +0000)]
Added version script.

15 years agoUse the same makefile on all platforms.
Thomas Lopatic [Tue, 9 Nov 2004 00:34:50 +0000 (00:34 +0000)]
Use the same makefile on all platforms.

15 years agoAdded link quality entry.
Thomas Lopatic [Tue, 9 Nov 2004 00:05:41 +0000 (00:05 +0000)]
Added link quality entry.

15 years agoAdded version scripts to restrict the exported symbols.
Thomas Lopatic [Mon, 8 Nov 2004 23:43:14 +0000 (23:43 +0000)]
Added version scripts to restrict the exported symbols.

15 years agoFormat debug output as a table.
Thomas Lopatic [Mon, 8 Nov 2004 23:25:57 +0000 (23:25 +0000)]
Format debug output as a table.

15 years agoSelect MPRs based on STRICT two-hop neighbours.
Thomas Lopatic [Mon, 8 Nov 2004 18:31:55 +0000 (18:31 +0000)]
Select MPRs based on STRICT two-hop neighbours.

15 years agoMoved LQ_LEVEL to DEF_LQ_LEVEL in olsr_cfg.h
Andreas Tonnesen [Mon, 8 Nov 2004 06:47:55 +0000 (06:47 +0000)]
Moved LQ_LEVEL to DEF_LQ_LEVEL in olsr_cfg.h

15 years agoRedirected makedepend output on Windows.
Thomas Lopatic [Mon, 8 Nov 2004 01:54:05 +0000 (01:54 +0000)]
Redirected makedepend output on Windows.

15 years agoUse -1.0 as initial path quality. Change ">=" back to ">" in relax().
Thomas Lopatic [Mon, 8 Nov 2004 01:51:29 +0000 (01:51 +0000)]
Use -1.0 as initial path quality. Change ">=" back to ">" in relax().

15 years agoFixed zero link quality problem. Initially, when the link is being
Thomas Lopatic [Mon, 8 Nov 2004 01:29:19 +0000 (01:29 +0000)]
Fixed zero link quality problem. Initially, when the link is being
established, the link quality may be zero.

15 years agoLQ bug fix.
Thomas Lopatic [Mon, 8 Nov 2004 00:57:58 +0000 (00:57 +0000)]
LQ bug fix.

15 years agoRouting table fix.
Thomas Lopatic [Mon, 8 Nov 2004 00:55:47 +0000 (00:55 +0000)]
Routing table fix.

15 years agoPrint link set.
Thomas Lopatic [Mon, 8 Nov 2004 00:17:05 +0000 (00:17 +0000)]
Print link set.

15 years agoLQ bug fixes.
Thomas Lopatic [Mon, 8 Nov 2004 00:15:46 +0000 (00:15 +0000)]
LQ bug fixes.

15 years agoRemoved a couple of Non-WLAN defines
Andreas Tonnesen [Sun, 7 Nov 2004 21:39:25 +0000 (21:39 +0000)]
Removed a couple of Non-WLAN defines

15 years agoProcess LQ_TC messages. Made link quality features configurable. Set
Thomas Lopatic [Sun, 7 Nov 2004 20:09:12 +0000 (20:09 +0000)]
Process LQ_TC messages. Made link quality features configurable. Set
"LinkQualityLevel" to 1 to select MPRs based on the link quality. Set
this parameter to 2 to also calculate the routing table base on the
link qualities. 0 disables link quality usage. Added feature matrix.

15 years agoFixed compiler warning
Andreas Tonnesen [Sun, 7 Nov 2004 18:48:54 +0000 (18:48 +0000)]
Fixed compiler warning

15 years agoRouting table creation based on LQ compiles. Not tested at all.
Thomas Lopatic [Sun, 7 Nov 2004 17:51:20 +0000 (17:51 +0000)]
Routing table creation based on LQ compiles. Not tested at all.

15 years agoPlugin interface updates
Andreas Tonnesen [Sun, 7 Nov 2004 12:19:58 +0000 (12:19 +0000)]
Plugin interface updates

15 years agoUuups forgot one header
Andreas Tonnesen [Sun, 7 Nov 2004 11:19:52 +0000 (11:19 +0000)]
Uuups forgot one header

15 years agoAdded header dependencies
Andreas Tonnesen [Sun, 7 Nov 2004 11:22:04 +0000 (11:22 +0000)]
Added header dependencies

15 years agoCleanup
Andreas Tonnesen [Sun, 7 Nov 2004 10:58:24 +0000 (10:58 +0000)]
Cleanup

15 years agoFixed buf in declaration of register_scheduled_event
Andreas Tonnesen [Sun, 7 Nov 2004 10:57:55 +0000 (10:57 +0000)]
Fixed buf in declaration of register_scheduled_event

15 years agoSome quick updated to make thes plugin work with the new interface and the new output...
Andreas Tonnesen [Sun, 7 Nov 2004 10:54:19 +0000 (10:54 +0000)]
Some quick updated to make thes plugin work with the new interface and the new outputbuffer scheme.. I have no idea if this actually works - I have only tested that it loads and runs

15 years agoMinor initial updates to the security plugin for 0.4.8. There is a LOT of work to...
Andreas Tonnesen [Sat, 6 Nov 2004 16:43:54 +0000 (16:43 +0000)]
Minor initial updates to the security plugin for 0.4.8. There is a LOT of work to do here

15 years agoUpdated plugin version string
Andreas Tonnesen [Sat, 6 Nov 2004 16:36:54 +0000 (16:36 +0000)]
Updated plugin version string

15 years agoSome updates
Andreas Tonnesen [Sat, 6 Nov 2004 15:24:19 +0000 (15:24 +0000)]
Some updates

15 years agoMore cleanups
Andreas Tonnesen [Sat, 6 Nov 2004 14:37:37 +0000 (14:37 +0000)]
More cleanups

15 years agoPlugin interface updates, topology is generated upon every connection
Andreas Tonnesen [Sat, 6 Nov 2004 14:07:20 +0000 (14:07 +0000)]
Plugin interface updates, topology is generated upon every connection

15 years agoAdded backwards compability for checking the old plugin interface version style
Andreas Tonnesen [Sat, 6 Nov 2004 12:31:54 +0000 (12:31 +0000)]
Added backwards compability for checking the old plugin interface version style

15 years agoUpdate the name of the version function
Andreas Tonnesen [Sat, 6 Nov 2004 12:23:46 +0000 (12:23 +0000)]
Update the name of the version function

15 years agoChanged the way the plugin interface version is fetched by the plugin loader. This...
Andreas Tonnesen [Sat, 6 Nov 2004 12:18:51 +0000 (12:18 +0000)]
Changed the way the plugin interface version is fetched by the plugin loader. This used to be via a variable that the plugin exported. Now it is done via a function exported by the plugin: int plugin_interface_version(). ALL plugins must implement this

15 years agoAdded the int plugin_interface_version() function(and removed the old variable
Andreas Tonnesen [Sat, 6 Nov 2004 12:17:28 +0000 (12:17 +0000)]
Added the int plugin_interface_version() function(and removed the old variable

15 years agoRemoved IPC code from plugin as it was only intended to be an example
Andreas Tonnesen [Sat, 6 Nov 2004 12:04:38 +0000 (12:04 +0000)]
Removed IPC code from plugin as it was only intended to be an example

15 years agoAdded handling of return value in parameter registration
Andreas Tonnesen [Sat, 6 Nov 2004 09:20:09 +0000 (09:20 +0000)]
Added handling of return value in parameter registration

15 years agoFixed return value for register_olsr_param, will hadle parameters later
Andreas Tonnesen [Sat, 6 Nov 2004 09:19:14 +0000 (09:19 +0000)]
Fixed return value for register_olsr_param, will hadle parameters later

15 years agoCleanups for the new plugin interface
Andreas Tonnesen [Sat, 6 Nov 2004 00:08:45 +0000 (00:08 +0000)]
Cleanups for the new plugin interface

15 years agoComments are now allowed within the plugin block
Andreas Tonnesen [Sat, 6 Nov 2004 00:08:26 +0000 (00:08 +0000)]
Comments are now allowed within the plugin block

15 years agoRemoved a file that has been wrongfully added
Andreas Tonnesen [Fri, 5 Nov 2004 23:58:08 +0000 (23:58 +0000)]
Removed a file that has been wrongfully added

15 years agoFixed a bug in the plugin unloader
Andreas Tonnesen [Fri, 5 Nov 2004 23:55:38 +0000 (23:55 +0000)]
Fixed a bug in the plugin unloader

15 years agoUpdated the dyn_gw plugin for the new v2 plugin interface. Also did some cleanups.
Andreas Tonnesen [Fri, 5 Nov 2004 23:24:40 +0000 (23:24 +0000)]
Updated the dyn_gw plugin for the new v2 plugin interface. Also did some cleanups.

15 years agoLQ messages are now processed. MPRs are selected based on the link
Thomas Lopatic [Fri, 5 Nov 2004 20:58:10 +0000 (20:58 +0000)]
LQ messages are now processed. MPRs are selected based on the link
quality. Not tested at all, yet. Well, at least we now *have* something
to test. :-)

15 years agoAdded error message when no target OS is specified
Andreas Tonnesen [Fri, 5 Nov 2004 18:48:25 +0000 (18:48 +0000)]
Added error message when no target OS is specified

15 years agoOutput redirection to /dev/null for makedepend on Linux.
Thomas Lopatic [Fri, 5 Nov 2004 14:58:01 +0000 (14:58 +0000)]
Output redirection to /dev/null for makedepend on Linux.

15 years agoRemoved -Y from makedepend on FreeBSD and Windows. Redirecting stderr
Thomas Lopatic [Fri, 5 Nov 2004 14:50:44 +0000 (14:50 +0000)]
Removed -Y from makedepend on FreeBSD and Windows. Redirecting stderr
is not as easy as in bash on these OSes.

15 years agoRemoved tunneling support.
Thomas Lopatic [Fri, 5 Nov 2004 14:43:14 +0000 (14:43 +0000)]
Removed tunneling support.

15 years agoAdded OS X support. Pulled tunneling from the Windows version - this
Thomas Lopatic [Fri, 5 Nov 2004 14:33:32 +0000 (14:33 +0000)]
Added OS X support. Pulled tunneling from the Windows version - this
will never work, as Microsoft's IP tunneling driver is not officially
supported and getting worse from one Winwows release to the next.
We need a different approach for tunneling on Windows. Removed TRUE/FALSE
workaround from the Windows version.

15 years agoReplaced TRUE/FALSE with OLSR_TRUE/OLSR_FALSE
Andreas Tonnesen [Fri, 5 Nov 2004 11:52:57 +0000 (11:52 +0000)]
Replaced TRUE/FALSE with OLSR_TRUE/OLSR_FALSE