olsrd.git
15 years agoAdded memory management functions to the version script. Added a script
Thomas Lopatic [Sat, 20 Nov 2004 18:16:25 +0000 (18:16 +0000)]
Added memory management functions to the version script. Added a script
and a def file to link with the native Win32 tools to create a standard
import library for the DLL. ld's import library does not work with VC++.

15 years agoAdded memory allocation and freeing.
Thomas Lopatic [Sat, 20 Nov 2004 17:37:25 +0000 (17:37 +0000)]
Added memory allocation and freeing.

15 years agoRestructured debug output.
Thomas Lopatic [Sat, 20 Nov 2004 17:27:07 +0000 (17:27 +0000)]
Restructured debug output.

15 years agoLink quality window size is now configurable. Screen clearing is, too.
Thomas Lopatic [Sat, 20 Nov 2004 17:10:03 +0000 (17:10 +0000)]
Link quality window size is now configurable. Screen clearing is, too.

15 years agoRemoved tunnel route function stubs. Added clear screen function.
Thomas Lopatic [Sat, 20 Nov 2004 15:40:52 +0000 (15:40 +0000)]
Removed tunnel route function stubs. Added clear screen function.

15 years agoUpdated README
Andreas Tonnesen [Fri, 19 Nov 2004 21:02:32 +0000 (21:02 +0000)]
Updated README

15 years agoPrints out accepted parameters
Andreas Tonnesen [Fri, 19 Nov 2004 20:56:51 +0000 (20:56 +0000)]
Prints out accepted parameters

15 years agoVarious fixes - the plugin should work now
Andreas Tonnesen [Fri, 19 Nov 2004 20:52:06 +0000 (20:52 +0000)]
Various fixes - the plugin should work now

15 years agoHacks and patches
Andreas Tonnesen [Fri, 19 Nov 2004 17:03:15 +0000 (17:03 +0000)]
Hacks and patches

15 years agoUpdated plugin makefiles to use -g and -O2 and strip when install
Andreas Tonnesen [Fri, 19 Nov 2004 12:35:28 +0000 (12:35 +0000)]
Updated plugin makefiles to use -g and -O2 and strip when install

15 years agoAdded strip to install and -g to CFLAGS
Andreas Tonnesen [Fri, 19 Nov 2004 12:27:27 +0000 (12:27 +0000)]
Added strip to install and -g to CFLAGS

15 years agoSmall fix
Andreas Tonnesen [Thu, 18 Nov 2004 22:00:48 +0000 (22:00 +0000)]
Small fix

15 years agoA couple of functions added to the plugin interface
Andreas Tonnesen [Thu, 18 Nov 2004 21:58:46 +0000 (21:58 +0000)]
A couple of functions added to the plugin interface

15 years agoUpdates for the new outputbufferscheme
Andreas Tonnesen [Thu, 18 Nov 2004 21:58:23 +0000 (21:58 +0000)]
Updates for the new outputbufferscheme

15 years agoUpdates for the new outputbufferscheme
Andreas Tonnesen [Thu, 18 Nov 2004 21:57:35 +0000 (21:57 +0000)]
Updates for the new outputbufferscheme

15 years agoIf the ICMP registry value does not exist assume a value of 1.
Thomas Lopatic [Thu, 18 Nov 2004 21:12:29 +0000 (21:12 +0000)]
If the ICMP registry value does not exist assume a value of 1.

15 years agoFixed a race-condition that blocked olsrd and prevented it from opening
Thomas Lopatic [Thu, 18 Nov 2004 18:02:37 +0000 (18:02 +0000)]
Fixed a race-condition that blocked olsrd and prevented it from opening
the IPC socket, so that the GUI could not connect to the daemon.

15 years agoChanged pollrate
Andreas Tonnesen [Wed, 17 Nov 2004 21:40:06 +0000 (21:40 +0000)]
Changed pollrate

15 years agoSome light restructuring
Andreas Tonnesen [Wed, 17 Nov 2004 20:01:57 +0000 (20:01 +0000)]
Some light restructuring

15 years agoTUX
Andreas Tonnesen [Wed, 17 Nov 2004 19:39:13 +0000 (19:39 +0000)]
TUX

15 years agoCleanups
Andreas Tonnesen [Wed, 17 Nov 2004 19:34:11 +0000 (19:34 +0000)]
Cleanups

15 years agoRemoved physical link layer quality
Andreas Tonnesen [Wed, 17 Nov 2004 19:28:14 +0000 (19:28 +0000)]
Removed physical link layer quality

15 years agoRemoved GW tunneling code
Andreas Tonnesen [Wed, 17 Nov 2004 19:24:01 +0000 (19:24 +0000)]
Removed GW tunneling code

15 years agoRemoved GW tunneling code
Andreas Tonnesen [Wed, 17 Nov 2004 19:21:42 +0000 (19:21 +0000)]
Removed GW tunneling code

15 years agoRemoved GW tunneling
Andreas Tonnesen [Wed, 17 Nov 2004 19:19:37 +0000 (19:19 +0000)]
Removed GW tunneling

15 years agoInclude net_os.h to fix prototype warnings.
Thomas Lopatic [Wed, 17 Nov 2004 17:14:43 +0000 (17:14 +0000)]
Include net_os.h to fix prototype warnings.

15 years agoInclude net_os.h instead of adding prototypes.
Thomas Lopatic [Wed, 17 Nov 2004 17:14:28 +0000 (17:14 +0000)]
Include net_os.h instead of adding prototypes.

15 years agoFixed prototype warnings.
Thomas Lopatic [Wed, 17 Nov 2004 17:03:39 +0000 (17:03 +0000)]
Fixed prototype warnings.

15 years agoDisable ICMP redirect processing.
Thomas Lopatic [Wed, 17 Nov 2004 16:54:41 +0000 (16:54 +0000)]
Disable ICMP redirect processing.

15 years agoWe now automatically enable IP forwarding and disable ICMP redirects on
Thomas Lopatic [Wed, 17 Nov 2004 16:21:14 +0000 (16:21 +0000)]
We now automatically enable IP forwarding and disable ICMP redirects on
FreeBSD and Mac OS X.

15 years agoRemoved olsrd binary, as it gets overwritten when compiling the FreeBSD
Thomas Lopatic [Wed, 17 Nov 2004 16:17:41 +0000 (16:17 +0000)]
Removed olsrd binary, as it gets overwritten when compiling the FreeBSD
port. So, we never know whether the CVS currently contains a Linux or a
FreeBSD version. ICMP redirects are now disabled only once, even if more
than one interface is used.

15 years agoAdded include.
Thomas Lopatic [Wed, 17 Nov 2004 16:01:19 +0000 (16:01 +0000)]
Added include.

15 years agoEnable IP forwarding and disable incoming and outgoing ICMP redirect
Thomas Lopatic [Wed, 17 Nov 2004 15:49:10 +0000 (15:49 +0000)]
Enable IP forwarding and disable incoming and outgoing ICMP redirect
messages at startup.

15 years agoFixed comment.
Thomas Lopatic [Mon, 15 Nov 2004 15:56:07 +0000 (15:56 +0000)]
Fixed comment.

15 years agoPrint the MPR selector set as part of the neighbour table by populating
Thomas Lopatic [Mon, 15 Nov 2004 15:50:08 +0000 (15:50 +0000)]
Print the MPR selector set as part of the neighbour table by populating
the new "MPRS" column of the neighbour table.

15 years agoSay whether a neighbour is an MPR selector.
Thomas Lopatic [Mon, 15 Nov 2004 15:18:37 +0000 (15:18 +0000)]
Say whether a neighbour is an MPR selector.

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.