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

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

16 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.

16 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.

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

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

16 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

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

16 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

16 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

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

16 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

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

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

16 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.

16 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.

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

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

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

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

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

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

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

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

16 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.

16 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.

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

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

16 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.

16 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.

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

16 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.

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

16 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.

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

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

16 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

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

16 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)

16 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

16 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

16 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

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

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

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

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

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

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

16 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

16 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

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

16 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

16 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

16 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

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

16 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.

16 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

16 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

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

16 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.

16 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.

16 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.

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

16 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.

16 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

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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

16 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.

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

16 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

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

16 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

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

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

16 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.

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

16 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.

16 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.

16 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.

16 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

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

16 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().

16 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.

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

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

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