olsrd.git
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

15 years agoUpdated makedep arguments
Andreas Tonnesen [Fri, 5 Nov 2004 09:31:46 +0000 (09:31 +0000)]
Updated makedep arguments

15 years agoRemoved a non-portable whitespace
Andreas Tonnesen [Fri, 5 Nov 2004 08:07:32 +0000 (08:07 +0000)]
Removed a non-portable whitespace

15 years agoAdded missing include files.
Thomas Lopatic [Fri, 5 Nov 2004 02:39:47 +0000 (02:39 +0000)]
Added missing include files.

15 years agoNew "unix" subdirectory for Unix-like OSes. Initial BSD port. Use a
Thomas Lopatic [Fri, 5 Nov 2004 02:06:14 +0000 (02:06 +0000)]
New "unix" subdirectory for Unix-like OSes. Initial BSD port. Use a
single makefile for all three ports.

15 years agoMinor update
Andreas Tonnesen [Thu, 4 Nov 2004 20:25:05 +0000 (20:25 +0000)]
Minor update

15 years agoInitial olsrd.conf manpage
Andreas Tonnesen [Thu, 4 Nov 2004 20:23:21 +0000 (20:23 +0000)]
Initial olsrd.conf manpage

15 years agoMinor fixes
Andreas Tonnesen [Wed, 3 Nov 2004 20:54:47 +0000 (20:54 +0000)]
Minor fixes

15 years agoRemoved some command line options
Andreas Tonnesen [Wed, 3 Nov 2004 20:23:41 +0000 (20:23 +0000)]
Removed some command line options

15 years agoWindows port compiles again. Moved all LQ packet functions to a single
Thomas Lopatic [Wed, 3 Nov 2004 18:19:54 +0000 (18:19 +0000)]
Windows port compiles again. Moved all LQ packet functions to a single
file. Rudimentary LQ HELLO processing compiles. Not tested, yet.

15 years agoAdded usage of olsr_bool for boolean use
Andreas Tonnesen [Wed, 3 Nov 2004 10:00:11 +0000 (10:00 +0000)]
Added usage of olsr_bool for boolean use

15 years agoAdded the olsr_bool type, using TRUE and FALSE instead of UP and DOWN
Andreas Tonnesen [Wed, 3 Nov 2004 09:22:59 +0000 (09:22 +0000)]
Added the olsr_bool type, using TRUE and FALSE instead of UP and DOWN

15 years agoBetter boolean handling and more
Andreas Tonnesen [Wed, 3 Nov 2004 09:22:18 +0000 (09:22 +0000)]
Better boolean handling and more

15 years agoYet more minor fixes
Andreas Tonnesen [Wed, 3 Nov 2004 07:09:09 +0000 (07:09 +0000)]
Yet more minor fixes

15 years agoDeserialization of new LQ packet types compiles. Not tested at all, yet.
Thomas Lopatic [Tue, 2 Nov 2004 22:55:43 +0000 (22:55 +0000)]
Deserialization of new LQ packet types compiles. Not tested at all, yet.

15 years agoMinor fix
Andreas Tonnesen [Tue, 2 Nov 2004 21:42:32 +0000 (21:42 +0000)]
Minor fix

15 years agoVarious code cleanups
Andreas Tonnesen [Tue, 2 Nov 2004 21:14:12 +0000 (21:14 +0000)]
Various code cleanups

15 years agoUpdated plugin interface, parameters from config file can now be sent to plugins
Andreas Tonnesen [Tue, 2 Nov 2004 19:27:14 +0000 (19:27 +0000)]
Updated plugin interface, parameters from config file can now be sent to plugins

15 years agoUpdated configfile format. Interface options are now set in the Interface section
Andreas Tonnesen [Mon, 1 Nov 2004 20:13:27 +0000 (20:13 +0000)]
Updated configfile format. Interface options are now set in the Interface section

15 years agoSending LQ_HELLOs looks good so far, i.e. it does not crash the daemon.
Thomas Lopatic [Mon, 1 Nov 2004 20:04:12 +0000 (20:04 +0000)]
Sending LQ_HELLOs looks good so far, i.e. it does not crash the daemon.

15 years agoAdded code that generates LQ_HELLO and LQ_TC messages. Code compiles but
Thomas Lopatic [Mon, 1 Nov 2004 19:27:11 +0000 (19:27 +0000)]
Added code that generates LQ_HELLO and LQ_TC messages. Code compiles but
is completely untested.

15 years agoIn the routing table use the interface that has the link with the best
Thomas Lopatic [Thu, 21 Oct 2004 20:57:19 +0000 (20:57 +0000)]
In the routing table use the interface that has the link with the best
quality. Added a function to map a neighbor's main address to the quality
of the best link.

15 years agoARM crosscompiler fixes
Andreas Tonnesen [Wed, 20 Oct 2004 19:43:04 +0000 (19:43 +0000)]
ARM crosscompiler fixes

15 years agoFixed plugin loading for new config
Andreas Tonnesen [Wed, 20 Oct 2004 18:21:00 +0000 (18:21 +0000)]
Fixed plugin loading for new config

15 years agoExperimental link quality metric based on a link's packet loss. Define
Thomas Lopatic [Wed, 20 Oct 2004 17:11:33 +0000 (17:11 +0000)]
Experimental link quality metric based on a link's packet loss. Define
the "USE_LINK_QUALITY" macro to enable the code. Let's see how this
compares to the link quality as determined by the hysteresis algorithm.

15 years agoAdded uberclean target and some small fixes
Andreas Tonnesen [Wed, 20 Oct 2004 12:20:54 +0000 (12:20 +0000)]
Added uberclean target and some small fixes

15 years agoMinor fix
Andreas Tonnesen [Wed, 20 Oct 2004 10:33:20 +0000 (10:33 +0000)]
Minor fix

15 years agoobjects are deleted prior to and after makeing bin/dll
Andreas Tonnesen [Wed, 20 Oct 2004 10:32:48 +0000 (10:32 +0000)]
objects are deleted prior to and after makeing bin/dll

15 years agoCreate an import library for the configuration parser DLL.
Thomas Lopatic [Wed, 20 Oct 2004 08:22:33 +0000 (08:22 +0000)]
Create an import library for the configuration parser DLL.

15 years agoMinor additions
Andreas Tonnesen [Wed, 20 Oct 2004 06:34:09 +0000 (06:34 +0000)]
Minor additions

15 years agoAdded Id to makefile
Andreas Tonnesen [Tue, 19 Oct 2004 22:13:21 +0000 (22:13 +0000)]
Added Id to makefile

15 years agoDepecy calculation in linux makefile using makedepend
Andreas Tonnesen [Tue, 19 Oct 2004 21:59:11 +0000 (21:59 +0000)]
Depecy calculation in linux makefile using makedepend

15 years agoRemoved configfile.c. Use olsr_if instead of if_name.
Thomas Lopatic [Tue, 19 Oct 2004 21:44:56 +0000 (21:44 +0000)]
Removed configfile.c. Use olsr_if instead of if_name.

15 years agofixes after removal of configfile.c|h
Andreas Tonnesen [Tue, 19 Oct 2004 21:06:34 +0000 (21:06 +0000)]
fixes after removal of configfile.c|h

15 years agoRemoved configfile.c|h
Andreas Tonnesen [Tue, 19 Oct 2004 20:59:14 +0000 (20:59 +0000)]
Removed configfile.c|h

15 years agoRemoved return value from config file read function
Andreas Tonnesen [Tue, 19 Oct 2004 20:55:41 +0000 (20:55 +0000)]
Removed return value from config file read function

15 years agofixed conflicting definition
Andreas Tonnesen [Tue, 19 Oct 2004 20:20:26 +0000 (20:20 +0000)]
fixed conflicting definition

15 years agoGeneral cleanups, removed unused variables and declarations
Andreas Tonnesen [Tue, 19 Oct 2004 20:19:32 +0000 (20:19 +0000)]
General cleanups, removed unused variables and declarations

15 years agoRemoved use of use_ipc. Replaced by olsr_cnf->open_ipc
Andreas Tonnesen [Tue, 19 Oct 2004 20:03:15 +0000 (20:03 +0000)]
Removed use of use_ipc. Replaced by olsr_cnf->open_ipc

15 years agoolsrd_cfgparster.h is now known ad olsr_cfg.h
Andreas Tonnesen [Tue, 19 Oct 2004 19:26:33 +0000 (19:26 +0000)]
olsrd_cfgparster.h is now known ad olsr_cfg.h

15 years agoMore configuration updates
Andreas Tonnesen [Tue, 19 Oct 2004 19:24:44 +0000 (19:24 +0000)]
More configuration updates

15 years agoCopyright comments now in the new format.
Thomas Lopatic [Tue, 19 Oct 2004 13:58:46 +0000 (13:58 +0000)]
Copyright comments now in the new format.

15 years agoAdded scheduler and buffer (re-)configuration.
Thomas Lopatic [Tue, 19 Oct 2004 13:55:51 +0000 (13:55 +0000)]
Added scheduler and buffer (re-)configuration.

15 years agoMinor fixes
Andreas Tonnesen [Mon, 18 Oct 2004 17:06:08 +0000 (17:06 +0000)]
Minor fixes

15 years agoAdded a definition file for the configuration DLL.
Thomas Lopatic [Mon, 18 Oct 2004 16:07:42 +0000 (16:07 +0000)]
Added a definition file for the configuration DLL.

15 years agoAlso build the configuration DLL and the configuration test executable.
Thomas Lopatic [Mon, 18 Oct 2004 16:05:18 +0000 (16:05 +0000)]
Also build the configuration DLL and the configuration test executable.

15 years agoREmoved autogenerated files
Andreas Tonnesen [Mon, 18 Oct 2004 15:15:57 +0000 (15:15 +0000)]
REmoved autogenerated files

15 years agoBuild the parser before the scanner, so that oparse.h exists when the
Thomas Lopatic [Mon, 18 Oct 2004 14:31:54 +0000 (14:31 +0000)]
Build the parser before the scanner, so that oparse.h exists when the
scanner is compiled.