olsrd.git
12 years agoignore emacs backup files
Hannes Gredler [Fri, 21 Dec 2007 14:35:32 +0000 (15:35 +0100)]
ignore emacs backup files

12 years agoignore *.rej, *.orig and TAGS files
Hannes Gredler [Fri, 21 Dec 2007 13:14:42 +0000 (14:14 +0100)]
ignore *.rej, *.orig and TAGS files

12 years agoFrom Sven-Ola Tuecke: 106-fix-seqnocheck
Hannes Gredler [Fri, 21 Dec 2007 11:21:49 +0000 (12:21 +0100)]
From Sven-Ola Tuecke: 106-fix-seqnocheck

12 years agoReworked WIN32 Code
Sven-Ola Tuecke [Tue, 18 Dec 2007 12:35:55 +0000 (13:35 +0100)]
Reworked WIN32 Code

12 years agoadd .hgignore
Hannes Gredler [Mon, 17 Dec 2007 10:29:56 +0000 (11:29 +0100)]
add .hgignore

12 years agofix +x permissions for scripts
Hannes Gredler [Mon, 17 Dec 2007 10:22:05 +0000 (11:22 +0100)]
fix +x permissions for scripts

12 years agoadd introduction blurb for the SPF implementation
Hannes Gredler [Mon, 17 Dec 2007 10:09:40 +0000 (11:09 +0100)]
add introduction blurb for the SPF implementation

12 years agoremove CVS ID markers
Hannes Gredler [Mon, 17 Dec 2007 10:01:54 +0000 (11:01 +0100)]
remove CVS ID markers

12 years agofix +x permissions for scripts
Hannes Gredler [Mon, 17 Dec 2007 09:00:46 +0000 (10:00 +0100)]
fix +x permissions for scripts

12 years agoAdded tag OLSRD_0_4_8 for changeset e9beaf82c0ea
Hannes Gredler [Mon, 17 Dec 2007 08:55:59 +0000 (09:55 +0100)]
Added tag OLSRD_0_4_8 for changeset e9beaf82c0ea

12 years agoAdded tag OLSRD_0_4_9 for changeset 43d67c4814ef
Hannes Gredler [Mon, 17 Dec 2007 08:55:59 +0000 (09:55 +0100)]
Added tag OLSRD_0_4_9 for changeset 43d67c4814ef

12 years agoAdded tag OLSRD_0_4_10 for changeset a39cda38836b
Hannes Gredler [Mon, 17 Dec 2007 08:55:58 +0000 (09:55 +0100)]
Added tag OLSRD_0_4_10 for changeset a39cda38836b

12 years agoAdded tag OLSRD_0_5_0 for changeset 612f5a21a303
Hannes Gredler [Mon, 17 Dec 2007 08:55:58 +0000 (09:55 +0100)]
Added tag OLSRD_0_5_0 for changeset 612f5a21a303

12 years agoAdded tag OLSRD_0_5_1 for changeset c23aab9db1e1
Hannes Gredler [Mon, 17 Dec 2007 08:55:57 +0000 (09:55 +0100)]
Added tag OLSRD_0_5_1 for changeset c23aab9db1e1

12 years agoAdded tag OLSRD_0_5_2 for changeset 283effb1472c
Hannes Gredler [Mon, 17 Dec 2007 08:55:57 +0000 (09:55 +0100)]
Added tag OLSRD_0_5_2 for changeset 283effb1472c

12 years agoAdded tag OLSRD_0_5_3 for changeset 00991ca84047
Hannes Gredler [Mon, 17 Dec 2007 08:55:56 +0000 (09:55 +0100)]
Added tag OLSRD_0_5_3 for changeset 00991ca84047

12 years agoAdded tag OLSRD_0_5_4 for changeset 60f04fc39707
Hannes Gredler [Mon, 17 Dec 2007 08:55:56 +0000 (09:55 +0100)]
Added tag OLSRD_0_5_4 for changeset 60f04fc39707

12 years ago- add #ifdef DEBUG for 2 OLSR_PRINTF() as suggested by hannes@gredler.at
Bernd Petrovitsch [Thu, 13 Dec 2007 11:34:35 +0000 (11:34 +0000)]
- add #ifdef DEBUG for 2 OLSR_PRINTF() as suggested by hannes@gredler.at
- fixed compile regressions

12 years ago* fixed another compile error
Bernd Petrovitsch [Wed, 12 Dec 2007 23:38:52 +0000 (23:38 +0000)]
* fixed another compile error

12 years ago* avoid the "%1$" in format strigns: CygWin (IIRC) doesn't support this.
Bernd Petrovitsch [Wed, 12 Dec 2007 22:49:04 +0000 (22:49 +0000)]
* avoid the "%1$" in format strigns: CygWin (IIRC) doesn't support this.

12 years ago* fixed comments
Bernd Petrovitsch [Wed, 12 Dec 2007 22:47:04 +0000 (22:47 +0000)]
* fixed comments

12 years agoadded configuration file support for "flat fib metrics".
Bernd Petrovitsch [Wed, 12 Dec 2007 22:39:36 +0000 (22:39 +0000)]
added configuration file support for "flat fib metrics".

12 years ago* do not generate netmasks but the prefixlen
Bernd Petrovitsch [Wed, 12 Dec 2007 22:06:24 +0000 (22:06 +0000)]
* do not generate netmasks but the prefixlen

12 years ago* do not generate netmasks and fixed up some comments
Bernd Petrovitsch [Wed, 12 Dec 2007 22:05:53 +0000 (22:05 +0000)]
* do not generate netmasks and fixed up some comments

12 years ago* fixed variable definitions
Bernd Petrovitsch [Wed, 12 Dec 2007 22:04:08 +0000 (22:04 +0000)]
* fixed variable definitions

12 years ago* added a missing variable definition
Bernd Petrovitsch [Wed, 12 Dec 2007 22:03:37 +0000 (22:03 +0000)]
* added a missing variable definition

12 years agoapplied patch by Hannes Gredler <hannes@gredler.at>::
Bernd Petrovitsch [Wed, 12 Dec 2007 21:57:56 +0000 (21:57 +0000)]
applied patch by Hannes Gredler <hannes@gredler.at>::

pls find attached a pointer for further CPU savings in olsrd.
even in large networks (>250 nodes) the avg. CPU utilization
does not get beyond 0.5% CPU load on standard 200Mhz WRT hardware.

patch from http://gredler.at/download/olsrd/rib2-refactoring4.diff

change-list:

- avoid the periodical rib-tree insertion

- add a FOR_ALL_HNA_RT_ENTRIES() macro for the snmp folks
    (or any parties who want to walk HNA entries).

- add an olsr_cnf option 'flat_fib_metrics' which defaults to TRUE.

   this is as per sven-olas request who has expressed concerns
   that the current flap-metric style is a bit unpleasant for troubleshooting.

   note that i have not yet added the cfg file parser routine for that -
   just the required tweaks in the change-processing FIB code.

12 years ago* allow IPv6 HNA addresses only in IPv6 mode. The same for IPv4.
Bernd Petrovitsch [Wed, 12 Dec 2007 21:50:40 +0000 (21:50 +0000)]
* allow IPv6 HNA addresses only in IPv6 mode. The same for IPv4.

12 years ago* ooops, fixed typo
Bernd Petrovitsch [Wed, 12 Dec 2007 09:39:50 +0000 (09:39 +0000)]
* ooops, fixed typo

12 years ago- Replaced "which" with a /bin/sh script snippet.
Bernd Petrovitsch [Tue, 11 Dec 2007 17:20:06 +0000 (17:20 +0000)]
- Replaced "which" with a /bin/sh script snippet.
- inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
  gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
  costs a fork(2) and an exec(3)) but also with shell code which doesn't use
  any external program.

For a specification of /bin/sh: see
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02

12 years ago- Replaced "which" with a /bin/sh script snippet.
Bernd Petrovitsch [Tue, 11 Dec 2007 17:16:03 +0000 (17:16 +0000)]
- Replaced "which" with a /bin/sh script snippet.
- inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
  gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
  costs a fork(2) and an exec(3)) but also with shell code which doesn't use
  any external program.

For a specification of /bin/sh: see
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02

12 years ago* avoid left over "a.out"
Bernd Petrovitsch [Thu, 6 Dec 2007 22:07:29 +0000 (22:07 +0000)]
* avoid left over "a.out"

12 years ago* made a local never changed constant variable a #define
Bernd Petrovitsch [Thu, 6 Dec 2007 21:46:07 +0000 (21:46 +0000)]
* made a local never changed constant variable a #define

12 years ago* removed the unused functions get_if_property_id(), add_if_geninfo(),
Bernd Petrovitsch [Thu, 6 Dec 2007 21:12:56 +0000 (21:12 +0000)]
* removed the unused functions get_if_property_id(), add_if_geninfo(),
  get_if_geninfo(), del_if_geninfo()
* if_ifwithindex() is used only locally: made it "static"
* Simplified a little bit: addrsock and addrsock6 are defined and
  initialized in interfaces.c, used in src/*/net.c and passed as parameter
  to the functions getsocket{,6}() in src/*/ifnet.c.
  We now just define and initialize that locally.

12 years ago* src/linux/net.h is used by one .c file only. No need for a separate file.
Bernd Petrovitsch [Thu, 6 Dec 2007 21:01:14 +0000 (21:01 +0000)]
* src/linux/net.h is used by one .c file only. No need for a separate file.

12 years ago* src/linux/net.h is used by one .c file only. No need for a separate file.
Bernd Petrovitsch [Thu, 6 Dec 2007 20:43:15 +0000 (20:43 +0000)]
* src/linux/net.h is used by one .c file only. No need for a separate file.
* removed an "extern" declaration which doesn't belong here
* removed superflous #include's

12 years ago* added niclude files needed by this header file
Bernd Petrovitsch [Thu, 6 Dec 2007 20:41:51 +0000 (20:41 +0000)]
* added niclude files needed by this header file

12 years ago* commented out unused functions
Bernd Petrovitsch [Thu, 6 Dec 2007 20:25:47 +0000 (20:25 +0000)]
* commented out unused functions

12 years agoadding $(OS_LIB_PTHREAD) once in Makefile.inc is enough
Bernd Petrovitsch [Thu, 6 Dec 2007 20:22:37 +0000 (20:22 +0000)]
adding $(OS_LIB_PTHREAD) once in Makefile.inc is enough

12 years ago- added "-ffunction-sections -fdata-sections -Wl,--print-gc-sections" and
Bernd Petrovitsch [Thu, 6 Dec 2007 20:13:56 +0000 (20:13 +0000)]
- added "-ffunction-sections -fdata-sections -Wl,--print-gc-sections" and
  comnmented them out:
These tell gcc to put each function and global variable in a separate section.
The linker can than remove all unreferenced section. But in the olsrd binary
unused doesn't imply unused at all since the function may be used by plugins,
e.g. the ones in src/plugin_utils.c.
So we can use that featuer at most to identify unused functions and remove them
from the source by hand.

12 years ago- adding $(OS_LIB_PTHREAD) once in Makefile.inc is enough
Bernd Petrovitsch [Thu, 6 Dec 2007 20:12:47 +0000 (20:12 +0000)]
- adding $(OS_LIB_PTHREAD) once in Makefile.inc is enough
- removed an superflous dependency

12 years ago* similar to gcc-warnings but for linker options
Bernd Petrovitsch [Thu, 6 Dec 2007 20:10:19 +0000 (20:10 +0000)]
* similar to gcc-warnings but for linker options

12 years ago* make it work with gcc-3.2.3 and beautified it
Bernd Petrovitsch [Thu, 6 Dec 2007 18:17:35 +0000 (18:17 +0000)]
* make it work with gcc-3.2.3 and beautified it

12 years ago* ISO8859-1 -> UTF-8
Bernd Petrovitsch [Sun, 2 Dec 2007 19:00:30 +0000 (19:00 +0000)]
* ISO8859-1 -> UTF-8

12 years ago* fixed a warning on 64bit
Bernd Petrovitsch [Thu, 29 Nov 2007 23:40:08 +0000 (23:40 +0000)]
* fixed a warning on 64bit

12 years ago* added more warnings
Bernd Petrovitsch [Thu, 29 Nov 2007 23:03:48 +0000 (23:03 +0000)]
* added more warnings

12 years ago- killed hna_chgestruct to reduce malloc()/free() churn
Bernd Petrovitsch [Thu, 29 Nov 2007 23:03:07 +0000 (23:03 +0000)]
- killed hna_chgestruct to reduce malloc()/free() churn

12 years ago* fixed warnings
Bernd Petrovitsch [Thu, 29 Nov 2007 22:59:51 +0000 (22:59 +0000)]
* fixed warnings

12 years ago* missed the changelog
Bernd Petrovitsch [Thu, 29 Nov 2007 22:40:11 +0000 (22:40 +0000)]
* missed the changelog

12 years ago"open_ipc" is only a boolean value containing "olsr_cnf->debug_level > 1".
Bernd Petrovitsch [Thu, 29 Nov 2007 22:21:26 +0000 (22:21 +0000)]
"open_ipc" is  only a boolean value containing "olsr_cnf->debug_level > 1".
So I see no reason to keep that variable.

Apart from the the attached patch makes the "#if" condition for the
"rts" field identical to all other references to it.

12 years ago* more fixes fro MacOSX
Bernd Petrovitsch [Thu, 29 Nov 2007 18:20:45 +0000 (18:20 +0000)]
* more fixes fro MacOSX

12 years ago* removed the commented out COPY_IP() and COMP_IP() macros - everything seems to...
Bernd Petrovitsch [Thu, 29 Nov 2007 18:10:18 +0000 (18:10 +0000)]
* removed the commented out COPY_IP() and COMP_IP() macros - everything seems to work

12 years ago* ISO8859-* -> UTF_8
Bernd Petrovitsch [Thu, 29 Nov 2007 18:09:11 +0000 (18:09 +0000)]
* ISO8859-* -> UTF_8

12 years ago* ISO8859-* -> UTF_8
Bernd Petrovitsch [Thu, 29 Nov 2007 17:59:29 +0000 (17:59 +0000)]
* ISO8859-* -> UTF_8

12 years ago* killed the duplicated olsr_ip_to_string() functions
Bernd Petrovitsch [Thu, 29 Nov 2007 17:56:57 +0000 (17:56 +0000)]
* killed the duplicated olsr_ip_to_string() functions
* using "ipcalc.h" and killed the COPY_IP()/COMP_IP() macros

12 years ago* added a forgotten line
Bernd Petrovitsch [Thu, 29 Nov 2007 17:14:41 +0000 (17:14 +0000)]
* added a forgotten line

12 years ago* applied bsdfix_pwm.diff.txt from Patrick McCarty <mccartyp@gmail.com> so that ...
Bernd Petrovitsch [Thu, 29 Nov 2007 17:09:16 +0000 (17:09 +0000)]
* applied bsdfix_pwm.diff.txt from Patrick McCarty <mccartyp@gmail.com> so that *BSD compiles and runs

12 years ago* fixed a warning
Bernd Petrovitsch [Thu, 29 Nov 2007 17:07:15 +0000 (17:07 +0000)]
* fixed a warning

12 years ago* define LINUX_POLICY_ROUTING only if it is not defined before
Bernd Petrovitsch [Thu, 29 Nov 2007 15:47:26 +0000 (15:47 +0000)]
* define LINUX_POLICY_ROUTING only if it is not defined before

12 years ago* fixed another corner
Bernd Petrovitsch [Thu, 29 Nov 2007 01:38:36 +0000 (01:38 +0000)]
* fixed another corner

12 years ago* fixed debug output
Bernd Petrovitsch [Thu, 29 Nov 2007 01:29:53 +0000 (01:29 +0000)]
* fixed debug output

12 years ago* and some blurb for the changelog
Bernd Petrovitsch [Thu, 29 Nov 2007 00:50:38 +0000 (00:50 +0000)]
* and some blurb for the changelog

12 years agoMajor Changes:
Bernd Petrovitsch [Thu, 29 Nov 2007 00:49:42 +0000 (00:49 +0000)]
Major Changes:
- renamed "struct local_hna_entry" to "struct ip_prefix_list" since
  it is exactly that. Renamed the functions in src/local_hna_set.{c,h}
  in the same way.
- each IPv4 and IPv6 function pairs in src/local_hna_set.{c,h} is
  called from the same place and have the same signature. So I
  condensed each of them.
- Since we have only 3 functions left in src/local_hna_set.{c,h}
  and they are used for the configuration, the .h file is now part
  of src/olsr_cfg.h and the ,c file of src/cfgparser/olsrd_conf.c.
- replaced "struct ipc_net" with "struct ip_prefix_list" since it
  serves the same purpose as the "struct ip_prefix_list"
- replaced "struct ipc_host" with "struct ip_prefix_list" since it
  serves the same purpose as the "struct ip_prefix_list" and is
  just a special case. No need to duplicate code etc.
- removed "union hna_netmask" from src/olsr_types since we use the
  prefix_len everywhere (and that is an olsr_u8_t in several other
  struct's).
  That implies changes and simplifications in the code handling
  them (since the IPv4 is similar to IPv6).
- the config file parser now understands for IPv4 addresses also
  "/$prefix".
- On the output side, the patch generates only "/$prefix" which
  kills code since it is the same as the IPv6 handling.
- There are some netmask conversions left (mainly in the plugins)
  but that be cleaned up afterwards.
- extracted ip{,4,6}{cmp,equal} and formatting functions from
  net_olsr.{c,h} into src/ipcalc.{c,h} since net_olsr.h became
  IMHO to much of a "put anything in there".
- renamed "sockaddr_to_string()" to "sockaddr4_to_string()"
  since it is exactly that (unless I'm missing something).

Minor Changes:
- lib/httpinfo/src/admin_html.h contained just some variable
  definitions so it is now integrated in the only user:
  admin_interface.c
- olsrd_dot_draw.c got rid of two indicator variables if
  a socket is valid or not. Since sockets may use "-1" as the
  "not open", "invalid" value, there is no need for two more
  ints.
- and the dot_draw plugin is somewhat smaller and easier to read.
- const'ified some functions

12 years agoPatch from Sven-Ola Tuecke <sven-ola@gmx.de> from
Bernd Petrovitsch [Thu, 29 Nov 2007 00:34:22 +0000 (00:34 +0000)]
Patch from Sven-Ola Tuecke <sven-ola@gmx.de> from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/138-olsrd-fixdotdraw.patch: fix the dot_draw plugin

12 years agoPatch from Sven-Ola Tuecke <sven-ola@gmx.de> from
Bernd Petrovitsch [Thu, 29 Nov 2007 00:26:16 +0000 (00:26 +0000)]
Patch from Sven-Ola Tuecke <sven-ola@gmx.de> from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/135-georss-map-for-nameservice.patch: fixes and extensions for the namesaervice plugin

12 years agoPatch from Sven-Ola Tuecke <sven-ola@gmx.de> from
Bernd Petrovitsch [Thu, 29 Nov 2007 00:24:00 +0000 (00:24 +0000)]
Patch from Sven-Ola Tuecke <sven-ola@gmx.de> from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/132-save-the-fish.patch:
really savet he fish and avoid to forward invlaid messages from older olsrd versions

12 years agoPatch from Sven-Ola Tuecke <sven-ola@gmx.de> from
Bernd Petrovitsch [Thu, 29 Nov 2007 00:18:53 +0000 (00:18 +0000)]
Patch from Sven-Ola Tuecke <sven-ola@gmx.de> from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/103-olsrd-rt-exportroute-cleanup.patch:
avoid a malloc()ed list of functions

12 years agoBug Fixes (of stupid and forgotten bugs) from Sven-Ola Tuecke <sven-ola@gmx.de> from
Bernd Petrovitsch [Thu, 29 Nov 2007 00:10:17 +0000 (00:10 +0000)]
Bug Fixes (of stupid and forgotten bugs) from Sven-Ola Tuecke <sven-ola@gmx.de> from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/102-olsrd-cvs-fixes.patch

12 years ago- a forgotten hangelog entry
Bernd Petrovitsch [Thu, 29 Nov 2007 00:07:37 +0000 (00:07 +0000)]
- a forgotten hangelog entry
- a few more trivial BSD fixes

12 years ago* applied (a somewhat modified) patch by Patrick McCarty <mccartyp@gmail.com>
Bernd Petrovitsch [Wed, 28 Nov 2007 10:09:03 +0000 (10:09 +0000)]
* applied (a somewhat modified) patch by Patrick McCarty <mccartyp@gmail.com>

12 years ago* fixed compile warnings
Bernd Petrovitsch [Tue, 27 Nov 2007 13:39:22 +0000 (13:39 +0000)]
* fixed compile warnings

12 years ago* fixed compile warnings
Bernd Petrovitsch [Tue, 27 Nov 2007 13:35:06 +0000 (13:35 +0000)]
* fixed compile warnings

12 years ago* saved a few bytes
Bernd Petrovitsch [Sun, 25 Nov 2007 22:08:57 +0000 (22:08 +0000)]
* saved a few bytes

12 years ago* saved a few bytes
Bernd Petrovitsch [Sun, 25 Nov 2007 22:02:33 +0000 (22:02 +0000)]
* saved a few bytes

12 years ago* fixed name - and commented the unused enum out
Bernd Petrovitsch [Sun, 25 Nov 2007 21:41:05 +0000 (21:41 +0000)]
* fixed name - and commented the unused enum out

12 years ago* oops, fixed typo
Bernd Petrovitsch [Sun, 25 Nov 2007 21:40:35 +0000 (21:40 +0000)]
* oops, fixed typo

12 years ago* rearranged fields a little bit to save space
Bernd Petrovitsch [Sun, 25 Nov 2007 21:38:13 +0000 (21:38 +0000)]
* rearranged fields a little bit to save space

12 years ago* fixed bug: ip4cmp() was severly broken
Bernd Petrovitsch [Sun, 25 Nov 2007 21:23:29 +0000 (21:23 +0000)]
* fixed bug: ip4cmp() was severly broken

12 years ago* added paranoia checks
Bernd Petrovitsch [Sun, 25 Nov 2007 13:08:54 +0000 (13:08 +0000)]
* added paranoia checks

12 years ago* prefix_len is always an unsigned 8 bit int
Bernd Petrovitsch [Fri, 23 Nov 2007 23:40:43 +0000 (23:40 +0000)]
* prefix_len is always an unsigned 8 bit int

12 years ago* bug fix: set "ipsize" and "maxplen" if we set the the "ip_version"
Bernd Petrovitsch [Thu, 22 Nov 2007 11:43:36 +0000 (11:43 +0000)]
* bug fix: set "ipsize" and "maxplen" if we set the the "ip_version"

12 years ago* #define MSG_NOSIGNAL only if it's really not defined. Thanks to
Bernd Petrovitsch [Tue, 20 Nov 2007 23:20:23 +0000 (23:20 +0000)]
* #define MSG_NOSIGNAL only if it's really not defined. Thanks to
  G.Fischer@vt.TU-Berlin.DE for reporting this

12 years ago* use "__attribute__((unused))"
Bernd Petrovitsch [Tue, 20 Nov 2007 23:19:08 +0000 (23:19 +0000)]
* use "__attribute__((unused))"
* "olsr_argv = argv" is not used in Win32 so compile completely it out
* Fixed a compiler warning reported by G.Fischer@vt.TU-Berlin.DE
* avoid to cluttered source
* sanitize macros

12 years ago* added "#include <limits.h>" as we use some constant from it
Bernd Petrovitsch [Tue, 20 Nov 2007 23:16:17 +0000 (23:16 +0000)]
* added "#include <limits.h>" as we use some constant from it

12 years ago* added support for EXTRA_CPPFLAGS
Bernd Petrovitsch [Mon, 19 Nov 2007 14:35:10 +0000 (14:35 +0000)]
* added support for EXTRA_CPPFLAGS

12 years ago- olsr_process_message_neighbors is now a static function and called process_message_...
Bernd Petrovitsch [Sun, 18 Nov 2007 22:28:35 +0000 (22:28 +0000)]
- olsr_process_message_neighbors is now a static function and called process_message_neighbors
- olsr_linking_this_2_entries is now a static function and called  linking_this_2_entries
- lookup_mpr_status() is now a static function
All of them are defined at the to allow automatic inlining.

12 years ago* killed an unused field
Bernd Petrovitsch [Sun, 18 Nov 2007 21:58:32 +0000 (21:58 +0000)]
* killed an unused field

12 years ago* and a few lines in the CHANGELOG
Bernd Petrovitsch [Sun, 18 Nov 2007 20:39:09 +0000 (20:39 +0000)]
* and a few lines in the CHANGELOG

12 years ago- use ip{4,}cmp in lq_avl.[ch] to resue the code. inline_avl_comp_ipv4
Bernd Petrovitsch [Sun, 18 Nov 2007 20:35:59 +0000 (20:35 +0000)]
- use ip{4,}cmp in lq_avl.[ch] to resue the code. inline_avl_comp_ipv4
  is superflous now (and replaced by ip4cmp).
- use the global MIN and MAX macro instead of AVLMIN and AVLMAX

12 years agoconsolidated ip{4,6,}{cmp,equal}: all are nwo inline functions using only
Bernd Petrovitsch [Sun, 18 Nov 2007 20:01:08 +0000 (20:01 +0000)]
consolidated ip{4,6,}{cmp,equal}: all are nwo inline functions using only
the minimal necessary operations. Thanks to Hannes Gredler
<hannes@gedler.at> and Sven-Ola Tuecke <mail2news@commando.de> for pointing
that out and suggesting the `inline`, respectively.

12 years ago* patch by Hannes Gredler <hannes@grwedler.at>: fixed a compile warning
Bernd Petrovitsch [Sat, 17 Nov 2007 00:05:54 +0000 (00:05 +0000)]
* patch by Hannes Gredler <hannes@grwedler.at>: fixed a compile warning

12 years ago* added -Wcast-qual: this killed lots of unnecessary type-casts
Bernd Petrovitsch [Fri, 16 Nov 2007 22:56:54 +0000 (22:56 +0000)]
* added -Wcast-qual: this killed lots of unnecessary type-casts

12 years agoPATCH by Hannes Gredler <hannes@gredler.at>:
Bernd Petrovitsch [Fri, 16 Nov 2007 21:43:55 +0000 (21:43 +0000)]
PATCH by Hannes Gredler <hannes@gredler.at>:
- refactoring of TC parsing to kill another pile of malloc()/free()s
  saving (again) code and especially run.time performance.

12 years ago* fixed bug: we got garbled output on the line with "shape=box"
Bernd Petrovitsch [Fri, 16 Nov 2007 19:52:09 +0000 (19:52 +0000)]
* fixed bug: we got garbled output on the line with "shape=box"
* fixed file descriptor leaks ipc_action()
* killed the two indicator variables "ipc_open" and "ipc_socket_up". We
  use the filedescriptors as we can easily use -1 as the "socket is down"
  indocation
* killed unused return values
* reduced the clutter: we have now a ipc_send_fmt() function which
  does the snprintf() and not spread that all over

12 years ago* added -Wbad-function-cast
Bernd Petrovitsch [Fri, 16 Nov 2007 19:34:26 +0000 (19:34 +0000)]
* added -Wbad-function-cast

12 years ago* added -WWendif-labels
Bernd Petrovitsch [Fri, 16 Nov 2007 19:14:33 +0000 (19:14 +0000)]
* added -WWendif-labels

12 years ago* added -Wwrite-strings
Bernd Petrovitsch [Fri, 16 Nov 2007 19:12:56 +0000 (19:12 +0000)]
* added -Wwrite-strings

12 years agocleanup: merged html.h into the places where it is used since it is much
Bernd Petrovitsch [Thu, 15 Nov 2007 00:35:32 +0000 (00:35 +0000)]
cleanup: merged html.h into the places where it is used since it is much
         easier to see what's going on
cleanup: avoid hard-coded values and use sizeof()
fixed the generated html

12 years ago* and somethigng here too
Bernd Petrovitsch [Wed, 14 Nov 2007 11:08:05 +0000 (11:08 +0000)]
* and somethigng here too

12 years agoPatch by Hannes Gredler <hannes@gredler.at> to avoid setting routes
Bernd Petrovitsch [Wed, 14 Nov 2007 11:03:52 +0000 (11:03 +0000)]
Patch by Hannes Gredler <hannes@gredler.at> to avoid setting routes
with an invalid impossible netmask.