olsrd.git
10 years agoMDNS plugin: Hacked away jet another uninit-warning if DEBUG=0
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:37:34 +0000 (18:37 +0200)]
MDNS plugin: Hacked away jet another uninit-warning if DEBUG=0

10 years agoSilenced alignment warnings when compiling on ARM CPU
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:29:49 +0000 (18:29 +0200)]
Silenced alignment warnings when compiling on ARM CPU

10 years agoRe-enabled -Wcast-qual warning (which maybe was disabled because of const char* whoes...
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:27:23 +0000 (18:27 +0200)]
Re-enabled -Wcast-qual warning (which maybe was disabled because of const char* whoes with some new plugin stuff)

10 years agoresolve REMOVE_LOG_INFO buildbreak
Hannes Gredler [Mon, 17 Aug 2009 17:13:20 +0000 (19:13 +0200)]
resolve REMOVE_LOG_INFO buildbreak

10 years agoresolve non DEBUG buildbreak
Hannes Gredler [Mon, 17 Aug 2009 17:08:08 +0000 (19:08 +0200)]
resolve non DEBUG buildbreak

10 years agoCleanup in lq_packet.h
Henning Rogge [Thu, 13 Aug 2009 07:41:13 +0000 (09:41 +0200)]
Cleanup in lq_packet.h
small fix to keep ARM compilers quiet

10 years agoSome compiler fixes for win32
Henning Rogge [Wed, 12 Aug 2009 19:48:17 +0000 (21:48 +0200)]
Some compiler fixes for win32

10 years agoWe only need a hello/tc parser for the IDs given by the active lq-plugin
Henning Rogge [Wed, 12 Aug 2009 17:17:18 +0000 (19:17 +0200)]
We only need a hello/tc parser for the IDs given by the active lq-plugin

10 years agoCleanup Hello generation and move it into link_set.c
Henning Rogge [Wed, 12 Aug 2009 16:20:28 +0000 (18:20 +0200)]
Cleanup Hello generation and move it into link_set.c

10 years agoremove ttl_intex from interface (not used anymore)
Henning Rogge [Sun, 9 Aug 2009 07:00:01 +0000 (09:00 +0200)]
remove ttl_intex from interface (not used anymore)
add simple quickstart code to fisheye logic

10 years agomove ansn handling into tc_set.c
Henning Rogge [Sat, 8 Aug 2009 21:13:04 +0000 (23:13 +0200)]
move ansn handling into tc_set.c
decrease message hold time to 100ms

10 years agoremove local tc/mid/hna timer from win32 code
Henning Rogge [Sat, 8 Aug 2009 20:56:19 +0000 (22:56 +0200)]
remove local tc/mid/hna timer from win32 code

10 years agoadd tc fragmentation support again
Henning Rogge [Sat, 8 Aug 2009 20:55:21 +0000 (22:55 +0200)]
add tc fragmentation support again
move tc/hna/mid generation to global timer

10 years agounify tc-generation and put it into tc_set.c
Henning Rogge [Sat, 8 Aug 2009 18:47:00 +0000 (20:47 +0200)]
unify tc-generation and put it into tc_set.c
fix a problem in sequence number handling of tc/hna/mid

10 years agounify HNA generation and put it into hna_set.c
Henning Rogge [Sat, 8 Aug 2009 16:22:47 +0000 (18:22 +0200)]
unify HNA generation and put it into hna_set.c

10 years agoUnify MID generation and put it into mid_set.c
Henning Rogge [Sat, 8 Aug 2009 15:53:20 +0000 (17:53 +0200)]
Unify MID generation and put it into mid_set.c

10 years agoAnother bunch of fixes for the timer refactoring (damn it)
Henning Rogge [Sat, 8 Aug 2009 15:39:13 +0000 (17:39 +0200)]
Another bunch of fixes for the timer refactoring (damn it)

10 years agoFIX for timing refactoring
Henning Rogge [Sat, 8 Aug 2009 15:11:12 +0000 (17:11 +0200)]
FIX for timing refactoring

10 years agoMove TC/MID/HNA timings to global section (windows version is untested !)
Henning Rogge [Sat, 8 Aug 2009 14:12:59 +0000 (16:12 +0200)]
Move TC/MID/HNA timings to global section (windows version is untested !)

10 years agoRemove unsused code from defs.h
Henning Rogge [Sat, 8 Aug 2009 10:58:56 +0000 (12:58 +0200)]
Remove unsused code from defs.h

10 years agoMerged with concurrent change
Henning Rogge [Sat, 8 Aug 2009 10:50:33 +0000 (12:50 +0200)]
Merged with concurrent change

10 years agoChange lqplugin system so plugins can have multiple values for each link (not only...
Henning Rogge [Sat, 8 Aug 2009 10:49:49 +0000 (12:49 +0200)]
Change lqplugin system so plugins can have multiple values for each link (not only lq/nlq)
Add range, quality and name information for each of the lq parameters.
Add simple template engine
Convert txtinfo to template engine

10 years agofix same for handling of on-the-fly gateway routes
Markus Kittenberger [Tue, 4 Aug 2009 18:28:06 +0000 (20:28 +0200)]
fix same for handling of on-the-fly gateway routes

10 years agoserious bug in rtnetlink route exists handling
Markus Kittenberger [Tue, 4 Aug 2009 18:02:32 +0000 (20:02 +0200)]
serious bug in rtnetlink route exists handling

10 years agoUpdate plugin loader infrastructure to sane callbacks
Henning Rogge [Fri, 24 Jul 2009 09:22:35 +0000 (11:22 +0200)]
Update plugin loader infrastructure to sane callbacks

10 years agortnetlink: adopting error handling of Network unreachable to work with 2.6 kernels
Markus Kittenberger [Tue, 21 Jul 2009 22:32:12 +0000 (00:32 +0200)]
rtnetlink: adopting error handling of Network unreachable to work with 2.6 kernels

10 years agoFIX small bugs in MID deserialization and tc deserialization
Henning Rogge [Tue, 21 Jul 2009 16:15:50 +0000 (18:15 +0200)]
FIX small bugs in MID deserialization and tc deserialization

10 years agoInclude default "/" command into telnet server
Henning Rogge [Sun, 19 Jul 2009 18:58:50 +0000 (20:58 +0200)]
Include default "/" command into telnet server

10 years agoImproved duplicate/sequencenumber handling. Small change in message handler callback...
Henning Rogge [Sun, 19 Jul 2009 17:08:11 +0000 (19:08 +0200)]
Improved duplicate/sequencenumber handling. Small change in message handler callback (added argument)

10 years agoFix for etx-fpm metric plugin
Henning Rogge [Fri, 10 Jul 2009 12:13:06 +0000 (14:13 +0200)]
Fix for etx-fpm metric plugin

10 years agoFix array out of bounds error in parser
Henning Rogge [Thu, 9 Jul 2009 18:29:18 +0000 (20:29 +0200)]
Fix array out of bounds error in parser

10 years agoRemove fprintf debug output
Henning Rogge [Wed, 8 Jul 2009 17:51:02 +0000 (19:51 +0200)]
Remove fprintf debug output

10 years agoFIX: floatingpoint-text to uint32 conversion
Henning Rogge [Wed, 8 Jul 2009 17:49:26 +0000 (19:49 +0200)]
FIX: floatingpoint-text to uint32 conversion
rename "reltime" functions
remove olsr_reltime type

10 years agoFree interface correctly when removed
Henning Rogge [Sun, 5 Jul 2009 17:37:10 +0000 (19:37 +0200)]
Free interface correctly when removed

10 years agoAdd cleanup code for html/telnet server
Henning Rogge [Sun, 5 Jul 2009 16:32:20 +0000 (18:32 +0200)]
Add cleanup code for html/telnet server

10 years agoserialized LQ data is not always 4 bytes long, so we need a function to precalculate...
Henning Rogge [Sun, 5 Jul 2009 11:13:03 +0000 (13:13 +0200)]
serialized LQ data is not always 4 bytes long, so we need a function to precalculate message length

10 years agoConvert lq_rfc plugin to new plugin interface
Henning Rogge [Sun, 5 Jul 2009 10:52:39 +0000 (12:52 +0200)]
Convert lq_rfc plugin to new plugin interface

10 years agoConvert etx_lq_fpm plugin to new plugin interface
Henning Rogge [Sun, 5 Jul 2009 10:35:48 +0000 (12:35 +0200)]
Convert etx_lq_fpm plugin to new plugin interface
fix small bugs in etx_lq_ff and etx_lq_float
move some lq based definitions into the plugins

10 years agoConvert lq_etx_float to new plugin system
Henning Rogge [Sun, 5 Jul 2009 09:51:45 +0000 (11:51 +0200)]
Convert lq_etx_float to new plugin system
allow lq_handlers without initialization/deinitialization

10 years agoeasier support for plugins without parameters
Henning Rogge [Sun, 5 Jul 2009 09:07:42 +0000 (11:07 +0200)]
easier support for plugins without parameters
converted lq_etx_ff plugin to new interface for static linking

10 years agoRemove all float values from olsr_cnf
Henning Rogge [Thu, 2 Jul 2009 19:36:28 +0000 (21:36 +0200)]
Remove all float values from olsr_cnf
convert olsr_cfg.c to caseinsensitive

10 years agoRemove copy of lq_etx_ff plugin from default code and replace it with static linking
Henning Rogge [Thu, 2 Jul 2009 15:39:40 +0000 (17:39 +0200)]
Remove copy of lq_etx_ff plugin from default code and replace it with static linking

10 years agoCleanup makefile and add <plugin>_install targets
Henning Rogge [Thu, 2 Jul 2009 06:23:17 +0000 (08:23 +0200)]
Cleanup makefile and add <plugin>_install targets

10 years agoVersion 6 plugin loader (dynamic loading/unloading, static linking of plugins, easier...
Henning Rogge [Wed, 1 Jul 2009 16:33:12 +0000 (18:33 +0200)]
Version 6 plugin loader (dynamic loading/unloading, static linking of plugins, easier interface)
Only txtinfo was converted to new plugin interface, the other will be done soon

10 years agoMerge
Saverio Proto [Tue, 30 Jun 2009 09:35:36 +0000 (11:35 +0200)]
Merge

10 years agoRemove Olsrd host emulation code
Henning Rogge [Sat, 27 Jun 2009 22:44:08 +0000 (00:44 +0200)]
Remove Olsrd host emulation code

10 years agoRemove IPC interface
Henning Rogge [Sat, 27 Jun 2009 22:12:31 +0000 (00:12 +0200)]
Remove IPC interface

10 years agoThis patch fixes the problem of mdns messages not aligned to 4 bytes
Saverio Proto [Fri, 26 Jun 2009 14:11:16 +0000 (16:11 +0200)]
This patch fixes the problem of mdns messages not aligned to 4 bytes

Tested on virtual lab on Netkit both for IPv4 and IPv6

10 years agouse more appropiate debug/log levels
Markus Kittenberger [Sun, 14 Jun 2009 01:10:39 +0000 (03:10 +0200)]
use more appropiate debug/log levels

10 years agofix issues with rtnetlink rules
Markus Kittenberger [Sun, 14 Jun 2009 00:53:55 +0000 (02:53 +0200)]
fix issues with rtnetlink rules

10 years agologic cleanup in rtnetlink code
Markus Kittenberger [Sat, 13 Jun 2009 14:01:19 +0000 (16:01 +0200)]
logic cleanup in rtnetlink code

10 years agoimproved rtnetlink handling for lo:olsr
Markus Kittenberger [Sat, 13 Jun 2009 12:22:23 +0000 (14:22 +0200)]
improved rtnetlink handling for lo:olsr

10 years agodelete dummy policy rule
Markus Kittenberger [Sat, 13 Jun 2009 10:38:00 +0000 (12:38 +0200)]
delete dummy policy rule

10 years agoFIX for chaining commands in telnet-server
Henning Rogge [Sat, 13 Jun 2009 09:36:30 +0000 (11:36 +0200)]
FIX for chaining commands in telnet-server

10 years agoadd some missing logger #ifdefs
Markus Kittenberger [Fri, 12 Jun 2009 23:09:49 +0000 (01:09 +0200)]
add some missing logger #ifdefs

10 years agomissing header of previous patch
Markus Kittenberger [Fri, 12 Jun 2009 23:08:11 +0000 (01:08 +0200)]
missing header of previous patch

10 years agoadd dummy rule if an custom RtTable is used
Markus Kittenberger [Fri, 12 Jun 2009 23:07:00 +0000 (01:07 +0200)]
add dummy rule if an custom RtTable is used

10 years agoRemember IPs of interfaces going down to filter incoming hello neighbors
Henning Rogge [Thu, 11 Jun 2009 13:05:06 +0000 (15:05 +0200)]
Remember IPs of interfaces going down to filter incoming hello neighbors

10 years agoFIX for modified topology db
Henning Rogge [Thu, 11 Jun 2009 11:00:43 +0000 (13:00 +0200)]
FIX for modified topology db

10 years agoFix cleanup in duplicate set
Henning Rogge [Thu, 11 Jun 2009 09:18:47 +0000 (11:18 +0200)]
Fix cleanup in duplicate set

10 years agoMofify topology db to create "virtual" edges for every tc entry
Henning Rogge [Thu, 11 Jun 2009 09:10:43 +0000 (11:10 +0200)]
Mofify topology db to create "virtual" edges for every tc entry
which has not been mentioned by the neighbor. This is necessary for
tc_redundancy 0 and 1.

10 years agobugfix: add duplicate key support for cookie names
Hannes Gredler [Wed, 10 Jun 2009 07:44:40 +0000 (09:44 +0200)]
bugfix: add duplicate key support for cookie names
timer and memory cookies often share the same name.

10 years agoThis patch adds to the mdns plugin the new feature to tune the TTL of OLSR mdns
Saverio Proto [Fri, 5 Jun 2009 10:09:23 +0000 (12:09 +0200)]
This patch adds to the mdns plugin the new feature to tune the TTL of OLSR mdns
messages from the configuration file. There is new PlParam in the Plugin
configuration block.

(patch includes change to the README for documentation)

11 years agozero-change: cosmetic code cleanup
Hannes Gredler [Sun, 31 May 2009 11:49:54 +0000 (13:49 +0200)]
zero-change: cosmetic code cleanup

11 years agoIntroduce LOG_INTERFACE category for logger
Henning Rogge [Sat, 30 May 2009 21:30:18 +0000 (23:30 +0200)]
Introduce LOG_INTERFACE category for logger

11 years agoFix type in debuginfo plugin
Henning Rogge [Sat, 30 May 2009 21:29:48 +0000 (23:29 +0200)]
Fix type in debuginfo plugin

11 years agoPut MPRSet capabilities into neighbor table.
Henning Rogge [Sat, 30 May 2009 18:30:50 +0000 (20:30 +0200)]
Put MPRSet capabilities into neighbor table.

11 years agoMove from fixed cookie array to dynamic tree
Henning Rogge [Sat, 30 May 2009 17:40:08 +0000 (19:40 +0200)]
Move from fixed cookie array to dynamic tree

11 years agoRemove two_hop_neighbortable.[ch]
Henning Rogge [Sat, 30 May 2009 15:53:47 +0000 (17:53 +0200)]
Remove two_hop_neighbortable.[ch]
(not used anymore)

11 years agoAnother mayor cleanup for neighbor/neighbor2 data.
Henning Rogge [Sat, 30 May 2009 12:38:14 +0000 (14:38 +0200)]
Another mayor cleanup for neighbor/neighbor2 data.
cleanup of n/n2 database by MIDs must still be tested

11 years agoconvert the MPR selector list to an AVL tree
Hannes Gredler [Sat, 30 May 2009 09:21:56 +0000 (11:21 +0200)]
convert the MPR selector list to an AVL tree

11 years agocode-cosmetics: zero-change commit for lq_mpr
Hannes Gredler [Sat, 30 May 2009 08:51:51 +0000 (10:51 +0200)]
code-cosmetics: zero-change commit for lq_mpr

11 years agosquelch compiler warning
Hannes Gredler [Fri, 29 May 2009 20:46:17 +0000 (22:46 +0200)]
squelch compiler warning

11 years agoAdded tag OLSRD_AFTER_NBR2_REFACTORING for changeset 3283602d3be7
Hannes Gredler [Fri, 29 May 2009 20:42:39 +0000 (22:42 +0200)]
Added tag OLSRD_AFTER_NBR2_REFACTORING for changeset 3283602d3be7

11 years agofixup comments, nbr2 refactoring is now complete
Hannes Gredler [Fri, 29 May 2009 20:42:25 +0000 (22:42 +0200)]
fixup comments, nbr2 refactoring is now complete

11 years agoremove inclusion of hash routines, we do not need them anylonger
Hannes Gredler [Fri, 29 May 2009 20:32:28 +0000 (22:32 +0200)]
remove inclusion of hash routines, we do not need them anylonger

11 years agorename: zero-change commit
Hannes Gredler [Fri, 29 May 2009 20:25:46 +0000 (22:25 +0200)]
rename: zero-change commit

11 years agoadd memory management for nbr2 and nbr_list entries
Hannes Gredler [Fri, 29 May 2009 19:25:27 +0000 (21:25 +0200)]
add memory management for nbr2 and nbr_list entries

11 years agobugfix: fix double free of a nbr2 by not recursing through olsr_nbr2_unlock
Hannes Gredler [Fri, 29 May 2009 19:16:46 +0000 (21:16 +0200)]
bugfix: fix double free of a nbr2 by not recursing through olsr_nbr2_unlock

11 years agoconvert the nbr_list references subtree to use avl trees
Hannes Gredler [Fri, 29 May 2009 18:45:51 +0000 (20:45 +0200)]
convert the nbr_list references subtree to use avl trees

11 years agoconvert the nbr2 table to use avl trees
Hannes Gredler [Fri, 29 May 2009 17:09:37 +0000 (19:09 +0200)]
convert the nbr2 table to use avl trees

11 years agodo not clear the timer without stopping it
Hannes Gredler [Wed, 27 May 2009 20:14:44 +0000 (22:14 +0200)]
do not clear the timer without stopping it

11 years agobugfix: remove unnecessary unlock
Hannes Gredler [Wed, 27 May 2009 16:34:28 +0000 (18:34 +0200)]
bugfix: remove unnecessary unlock

11 years agofurther renames, preparation for neighbor2 refactoring
Hannes Gredler [Wed, 27 May 2009 14:34:48 +0000 (16:34 +0200)]
further renames, preparation for neighbor2 refactoring

11 years agokill all nbr2 references prior to removing a nbr2
Hannes Gredler [Wed, 27 May 2009 14:15:20 +0000 (16:15 +0200)]
kill all nbr2 references prior to removing a nbr2

11 years agoresolve merge conflicts
Hannes Gredler [Wed, 27 May 2009 11:11:12 +0000 (13:11 +0200)]
resolve merge conflicts

11 years agoBacked out changeset 341605a12011
Hannes Gredler [Wed, 27 May 2009 11:04:42 +0000 (13:04 +0200)]
Backed out changeset 341605a12011
the nbr2_list is used for gargabe collection -
moving it to the nbr2 entry may cause grief

11 years agoadd a clean lock/unlock model for nbr2 references
Hannes Gredler [Wed, 27 May 2009 08:38:58 +0000 (10:38 +0200)]
add a clean lock/unlock model for nbr2 references

11 years agoadd the rename script which i have used for refactoring
Hannes Gredler [Wed, 27 May 2009 07:30:11 +0000 (09:30 +0200)]
add the rename script which i have used for refactoring

11 years agoremove timer reference when stopping timer
Hannes Gredler [Wed, 27 May 2009 07:22:19 +0000 (09:22 +0200)]
remove timer reference when stopping timer

11 years agorenames in the nbr2 code, preparation for neighbor2 refactoring
Hannes Gredler [Wed, 27 May 2009 07:05:07 +0000 (09:05 +0200)]
renames in the nbr2 code, preparation for neighbor2 refactoring

11 years agoAdd pktstat command to debuginfo
Henning Rogge [Tue, 26 May 2009 20:25:05 +0000 (22:25 +0200)]
Add pktstat command to debuginfo

11 years agoMore work for the new debuginfo plugin
Henning Rogge [Tue, 26 May 2009 18:51:35 +0000 (20:51 +0200)]
More work for the new debuginfo plugin

11 years agoAdd generic processing duplicate detection
Henning Rogge [Tue, 26 May 2009 16:33:01 +0000 (18:33 +0200)]
Add generic processing duplicate detection

11 years agoremove debugging output
Henning Rogge [Tue, 26 May 2009 15:07:19 +0000 (17:07 +0200)]
remove debugging output

11 years agoFIX: segfault during neightable timer cleanup
Henning Rogge [Tue, 26 May 2009 15:04:50 +0000 (17:04 +0200)]
FIX: segfault during neightable timer cleanup

11 years agoFix small explanations in makefile and in release-howto
Henning Rogge [Tue, 26 May 2009 10:40:02 +0000 (12:40 +0200)]
Fix small explanations in makefile and in release-howto

11 years agoFirst version of new http/txt server for OLSR.
Henning Rogge [Tue, 26 May 2009 09:42:44 +0000 (11:42 +0200)]
First version of new http/txt server for OLSR.
Txtinfo has already be changed to new server API.

11 years agoFix error output for debug parameter
Henning Rogge [Tue, 26 May 2009 08:46:27 +0000 (10:46 +0200)]
Fix error output for debug parameter

11 years agobugfix: for auto-deleted routes display the gw and not the interface to avoid a NULL ref
Hannes Gredler [Fri, 22 May 2009 17:51:07 +0000 (19:51 +0200)]
bugfix: for auto-deleted routes display the gw and not the interface to avoid a NULL ref