olsrd.git
7 years agosmart gateway: move GW_DEFAULT_* defines into olsr_cfg.h
Ferry Huberts [Wed, 2 May 2012 08:37:00 +0000 (10:37 +0200)]
smart gateway: move GW_DEFAULT_* defines into olsr_cfg.h

To prepare for making these configuration parameters

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agocfgparser: make sure olsrd_parse_cnf is used consistently
Ferry Huberts [Wed, 2 May 2012 10:52:41 +0000 (12:52 +0200)]
cfgparser: make sure olsrd_parse_cnf is used consistently

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agotas: remove unused forward declaration of olsrd_plugin_register_param
Ferry Huberts [Tue, 1 May 2012 11:27:18 +0000 (13:27 +0200)]
tas: remove unused forward declaration of olsrd_plugin_register_param

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoREADME-Olsr-Extensions: fixup text for SmartGatewayThreshold
Ferry Huberts [Tue, 24 Apr 2012 12:50:08 +0000 (13:50 +0100)]
README-Olsr-Extensions: fixup text for SmartGatewayThreshold

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoMakefile: pud make invocations are silent now
Ferry Huberts [Tue, 24 Apr 2012 10:47:19 +0000 (12:47 +0200)]
Makefile: pud make invocations are silent now

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoMakefile: split out clean of plugins into separate targets
Ferry Huberts [Tue, 24 Apr 2012 10:43:37 +0000 (12:43 +0200)]
Makefile: split out clean of plugins into separate targets

Otherwise repeated plugin builds are unnecessarily slow.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agosmart gateway: replace magic numbers for threshold by defines
Ferry Huberts [Tue, 24 Apr 2012 10:31:49 +0000 (12:31 +0200)]
smart gateway: replace magic numbers for threshold by defines

Also improve the error message on validation error

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: when building from a snapshot, do not complain about git
Ferry Huberts [Mon, 23 Apr 2012 08:27:58 +0000 (10:27 +0200)]
PUD: when building from a snapshot, do not complain about git

Just set the version to 'Unknown'.

Also, move getting the version into the 'ifdef linux' block.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: generate and provide version in/from Makefile
Ferry Huberts [Mon, 23 Apr 2012 06:56:04 +0000 (08:56 +0200)]
PUD: generate and provide version in/from Makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: do not use deduplication in the downlink path
Ferry Huberts [Thu, 19 Apr 2012 09:56:57 +0000 (11:56 +0200)]
PUD: do not use deduplication in the downlink path

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: check type after length in downlink path
Ferry Huberts [Thu, 19 Apr 2012 09:55:53 +0000 (11:55 +0200)]
PUD: check type after length in downlink path

So that we just skip over unsupported downlink messages

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix infinite loop on downlink receive errors
Ferry Huberts [Thu, 19 Apr 2012 09:26:33 +0000 (11:26 +0200)]
PUD: fix infinite loop on downlink receive errors

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: check downlink header fields in correct order
Ferry Huberts [Thu, 19 Apr 2012 07:32:16 +0000 (09:32 +0200)]
PUD: check downlink header fields in correct order

The length field comes before the IPv6 flag.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: update configuration file
Ferry Huberts [Tue, 17 Apr 2012 10:31:02 +0000 (12:31 +0200)]
PUD: update configuration file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: add positionFile plugin parameter
Ferry Huberts [Fri, 13 Apr 2012 12:43:30 +0000 (14:43 +0200)]
PUD: add positionFile plugin parameter

You can now define a (GPS) position in a file and let the PUD
plugin read the file on startup to determine its position.

This is useful for nodes with a fixed position.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: add some includes
Ferry Huberts [Thu, 12 Apr 2012 13:39:07 +0000 (15:39 +0200)]
PUD: add some includes

To appease eclipse.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoRevert "PUD: packetReceivedFromOlsr should be unregistered on stop"
Ferry Huberts [Tue, 17 Apr 2012 12:40:31 +0000 (14:40 +0200)]
Revert "PUD: packetReceivedFromOlsr should be unregistered on stop"

This reverts commit 9b434d5d4aaefbccca0a31dffd3545955b31b518.

It introduces a segfault and it appears that nobody else calls
the olsr_parser_remove_function function.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoMakefile: sort pud position in global makefile
Ferry Huberts [Fri, 13 Apr 2012 12:48:22 +0000 (14:48 +0200)]
Makefile: sort pud position in global makefile

To ensure the list is in sorted order again.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: the NMEA library has moved
Ferry Huberts [Tue, 10 Apr 2012 08:14:32 +0000 (10:14 +0200)]
PUD: the NMEA library has moved

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: replace rt.jar file with ee.j2se.jar
Ferry Huberts [Fri, 6 Apr 2012 09:40:46 +0000 (11:40 +0200)]
PUD: replace rt.jar file with ee.j2se.jar

We now use an API-only jar file which is much smaller and
has a more permissive license (APL 2.0) than the OpenJDK
rt.jar file (GPLv2 with classpath exception).

Note that this jar file is only used at build time, it
is _not_ included in any of the binaries. Please refer
to the lib/pud/wireformat-java/README for an explantion.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoDo not commit pud version, it changes every build
Henning Rogge [Fri, 6 Apr 2012 06:43:42 +0000 (08:43 +0200)]
Do not commit pud version, it changes every build

7 years agoRemove PUD-plugin from build_all on linux
Henning Rogge [Fri, 6 Apr 2012 06:37:14 +0000 (08:37 +0200)]
Remove PUD-plugin from build_all on linux

7 years agoPUD: destroyState was removed in c33a5bb
Ferry Huberts [Thu, 5 Apr 2012 10:27:03 +0000 (12:27 +0200)]
PUD: destroyState was removed in c33a5bb

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoMerge branch 'pud' into stable
Ferry Huberts [Mon, 2 Apr 2012 09:00:50 +0000 (11:00 +0200)]
Merge branch 'pud' into stable

* pud: (239 commits)
  PUD: remove pointless mutex from state
  PUD: remove pointless mutex from receiver
  PUD: remove pointless mutex from dedup
  PUD: include compiler.h where needed
  PUD: make sure horizontal distance is an absolute number
  PUD: remove debug code
  PUD: allow output pointers to be NULL in determineStateWithHysteresis
  PUD: when gateway changed, always update it on the uplink
  PUD: fix validity time on uplink and reduce lock contention window
  PUD: consistent use of external state and resulting update interval
  PUD: rename a field of TransmitGpsInformation
  PUD: pull condition out of doImmediateTransmit
  PUD: fix updating substate related information in transmitGpsInformation
  PUD: cleanup includes
  PUD: update doxygen files
  PUD: split position and gateway paths
  PUD: move state code into its own source files
  PUD: do not change state on unknown movement
  PUD: only reference external state once in txToAllOlsrInterfaces
  PUD: split position and gateway state
  ...

7 years agosmall fix for SetIpForward cmdline option
Markus Kittenberger [Sun, 1 Apr 2012 07:04:01 +0000 (09:04 +0200)]
small fix for SetIpForward cmdline option

7 years agodo not restore proc values which required no changes on startup
Markus Kittenberger [Sat, 31 Mar 2012 15:48:40 +0000 (17:48 +0200)]
do not restore proc values which required no changes on startup

7 years agoAdd config option SetIpForward to allow preventing manipulation of ip_forward proc...
Henning Rogge [Sat, 31 Mar 2012 10:56:19 +0000 (13:56 +0300)]
Add config option SetIpForward to allow preventing manipulation of ip_forward proc variable

7 years agoPUD: remove pointless mutex from state
Ferry Huberts [Wed, 28 Mar 2012 16:17:22 +0000 (18:17 +0200)]
PUD: remove pointless mutex from state

The mutex is pointless because there is no
multi-threading in olsr.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove pointless mutex from receiver
Ferry Huberts [Tue, 27 Mar 2012 15:03:11 +0000 (17:03 +0200)]
PUD: remove pointless mutex from receiver

The mutex is pointless because there is no
multi-threading in olsr.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove pointless mutex from dedup
Ferry Huberts [Tue, 27 Mar 2012 14:48:26 +0000 (16:48 +0200)]
PUD: remove pointless mutex from dedup

The mutex is pointless because there is no
multi-threading in olsr.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: include compiler.h where needed
Ferry Huberts [Thu, 15 Mar 2012 11:09:24 +0000 (12:09 +0100)]
PUD: include compiler.h where needed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: make sure horizontal distance is an absolute number
Ferry Huberts [Thu, 15 Mar 2012 11:04:26 +0000 (12:04 +0100)]
PUD: make sure horizontal distance is an absolute number

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove debug code
Ferry Huberts [Thu, 15 Mar 2012 10:28:30 +0000 (11:28 +0100)]
PUD: remove debug code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: allow output pointers to be NULL in determineStateWithHysteresis
Ferry Huberts [Thu, 15 Mar 2012 10:18:29 +0000 (11:18 +0100)]
PUD: allow output pointers to be NULL in determineStateWithHysteresis

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: when gateway changed, always update it on the uplink
Ferry Huberts [Thu, 15 Mar 2012 10:10:47 +0000 (11:10 +0100)]
PUD: when gateway changed, always update it on the uplink

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix validity time on uplink and reduce lock contention window
Ferry Huberts [Thu, 15 Mar 2012 10:03:39 +0000 (11:03 +0100)]
PUD: fix validity time on uplink and reduce lock contention window

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: consistent use of external state and resulting update interval
Ferry Huberts [Thu, 15 Mar 2012 09:34:35 +0000 (10:34 +0100)]
PUD: consistent use of external state and resulting update interval

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: rename a field of TransmitGpsInformation
Ferry Huberts [Wed, 14 Mar 2012 12:28:56 +0000 (13:28 +0100)]
PUD: rename a field of TransmitGpsInformation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: pull condition out of doImmediateTransmit
Ferry Huberts [Wed, 14 Mar 2012 12:28:29 +0000 (13:28 +0100)]
PUD: pull condition out of doImmediateTransmit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix updating substate related information in transmitGpsInformation
Ferry Huberts [Wed, 14 Mar 2012 12:27:07 +0000 (13:27 +0100)]
PUD: fix updating substate related information in transmitGpsInformation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: cleanup includes
Ferry Huberts [Wed, 14 Mar 2012 09:33:43 +0000 (10:33 +0100)]
PUD: cleanup includes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: update doxygen files
Ferry Huberts [Wed, 14 Mar 2012 08:47:31 +0000 (09:47 +0100)]
PUD: update doxygen files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: split position and gateway paths
Ferry Huberts [Tue, 13 Mar 2012 11:59:32 +0000 (12:59 +0100)]
PUD: split position and gateway paths

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: move state code into its own source files
Ferry Huberts [Tue, 13 Mar 2012 14:48:14 +0000 (15:48 +0100)]
PUD: move state code into its own source files

and add mutex to state to prepare for splitting
the position and gateway paths in the receiver

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: do not change state on unknown movement
Ferry Huberts [Tue, 13 Mar 2012 09:34:09 +0000 (10:34 +0100)]
PUD: do not change state on unknown movement

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: only reference external state once in txToAllOlsrInterfaces
Ferry Huberts [Tue, 13 Mar 2012 14:55:14 +0000 (15:55 +0100)]
PUD: only reference external state once in txToAllOlsrInterfaces

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: split position and gateway state
Ferry Huberts [Tue, 13 Mar 2012 14:47:01 +0000 (15:47 +0100)]
PUD: split position and gateway state

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: put state initialisation in it own function
Ferry Huberts [Mon, 12 Mar 2012 13:27:16 +0000 (14:27 +0100)]
PUD: put state initialisation in it own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: add gateway hysteresis configuration parameters
Ferry Huberts [Mon, 12 Mar 2012 09:09:58 +0000 (10:09 +0100)]
PUD: add gateway hysteresis configuration parameters

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix clearMovementType
Ferry Huberts [Thu, 8 Mar 2012 22:47:18 +0000 (23:47 +0100)]
PUD: fix clearMovementType

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: rename TimedTxInterface enum values
Ferry Huberts [Thu, 8 Mar 2012 19:33:48 +0000 (20:33 +0100)]
PUD: rename TimedTxInterface enum values

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: rename MovementState enum values
Ferry Huberts [Thu, 8 Mar 2012 19:25:50 +0000 (20:25 +0100)]
PUD: rename MovementState enum values

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: rename TristateBoolean enum values
Ferry Huberts [Thu, 8 Mar 2012 22:46:48 +0000 (23:46 +0100)]
PUD: rename TristateBoolean enum values

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: move state determination into its own function
Ferry Huberts [Tue, 6 Mar 2012 15:37:39 +0000 (16:37 +0100)]
PUD: move state determination into its own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: rename a struct field
Ferry Huberts [Tue, 6 Mar 2012 14:37:21 +0000 (15:37 +0100)]
PUD: rename a struct field

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: move getting transmitGpsInformation fields to just before they're used
Ferry Huberts [Tue, 6 Mar 2012 14:34:38 +0000 (15:34 +0100)]
PUD: move getting transmitGpsInformation fields to just before they're used

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: determine the best gateway on a regular schedule
Ferry Huberts [Tue, 6 Mar 2012 14:25:54 +0000 (15:25 +0100)]
PUD: determine the best gateway on a regular schedule

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: add gatewayDeterminationInterval configuration parameter
Ferry Huberts [Tue, 13 Mar 2012 14:17:25 +0000 (15:17 +0100)]
PUD: add gatewayDeterminationInterval configuration parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: store the best gateway in the transmitGpsInformation
Ferry Huberts [Tue, 6 Mar 2012 14:11:11 +0000 (15:11 +0100)]
PUD: store the best gateway in the transmitGpsInformation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: change signature of getBestUplinkGateway function
Ferry Huberts [Tue, 6 Mar 2012 15:43:53 +0000 (16:43 +0100)]
PUD: change signature of getBestUplinkGateway function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: use mutex on stop
Ferry Huberts [Tue, 13 Mar 2012 13:59:33 +0000 (14:59 +0100)]
PUD: use mutex on stop

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix some documentation tags
Ferry Huberts [Tue, 6 Mar 2012 16:13:50 +0000 (17:13 +0100)]
PUD: fix some documentation tags

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: clarify unknown movement forcing STATIONARY
Ferry Huberts [Tue, 6 Mar 2012 15:08:56 +0000 (16:08 +0100)]
PUD: clarify unknown movement forcing STATIONARY

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: initDeDupList can fail
Ferry Huberts [Tue, 13 Mar 2012 10:34:49 +0000 (11:34 +0100)]
PUD: initDeDupList can fail

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: packetReceivedFromOlsr should be unregistered on stop
Ferry Huberts [Tue, 13 Mar 2012 10:51:18 +0000 (11:51 +0100)]
PUD: packetReceivedFromOlsr should be unregistered on stop

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoone line was missing
Markus Kittenberger [Wed, 7 Mar 2012 21:39:33 +0000 (22:39 +0100)]
one line was missing

7 years agofix bsd RTM_GATEWAY routing flags detection
Markus Kittenberger [Wed, 7 Mar 2012 21:37:50 +0000 (22:37 +0100)]
fix bsd RTM_GATEWAY routing flags detection

7 years agoPUD: replace some memcpy's by simple assignments
Ferry Huberts [Tue, 6 Mar 2012 13:16:19 +0000 (14:16 +0100)]
PUD: replace some memcpy's by simple assignments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: add forgotten check for deduplication use in downlink path
Ferry Huberts [Tue, 6 Mar 2012 12:34:05 +0000 (13:34 +0100)]
PUD: add forgotten check for deduplication use in downlink path

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove unneeded mutex on the position average list
Ferry Huberts [Tue, 6 Mar 2012 11:52:15 +0000 (12:52 +0100)]
PUD: remove unneeded mutex on the position average list

The list is only accesses from a single place

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: move a dump outside of a critical section
Ferry Huberts [Tue, 6 Mar 2012 11:44:01 +0000 (12:44 +0100)]
PUD: move a dump outside of a critical section

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: do not keep shadow copies of txPosition and txGateway
Ferry Huberts [Tue, 6 Mar 2012 11:43:26 +0000 (12:43 +0100)]
PUD: do not keep shadow copies of txPosition and txGateway

Before, txPosition and txGateway were kept as shadow copies
to avoid lock contention. Since this contention is
extremely unlikely (and when it happens very short-lived)
we just take the hit and reduce complexity by not keeping
the shadow copies.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: split movement determination from gateway and position
Ferry Huberts [Mon, 5 Mar 2012 10:14:34 +0000 (11:14 +0100)]
PUD: split movement determination from gateway and position

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: pull out clearing the MovementType
Ferry Huberts [Mon, 5 Mar 2012 10:08:04 +0000 (11:08 +0100)]
PUD: pull out clearing the MovementType

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: follow-up for 5addf68
Ferry Huberts [Mon, 5 Mar 2012 10:39:17 +0000 (11:39 +0100)]
PUD: follow-up for 5addf68

forgot to initialise the gateay that is used for
uplink messages.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: initially pick ourselves as the best gateway
Ferry Huberts [Mon, 5 Mar 2012 09:57:20 +0000 (10:57 +0100)]
PUD: initially pick ourselves as the best gateway

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: initial state is MOVING again
Ferry Huberts [Mon, 5 Mar 2012 09:56:26 +0000 (10:56 +0100)]
PUD: initial state is MOVING again

We want to start updating peers with our position
on a high update rate right from the start since
it improves convergence.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: update sample config
Ferry Huberts [Mon, 5 Mar 2012 09:45:24 +0000 (10:45 +0100)]
PUD: update sample config

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: force moving when gateway is different
Ferry Huberts [Mon, 27 Feb 2012 09:48:34 +0000 (10:48 +0100)]
PUD: force moving when gateway is different

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove validity time cache from the wireformat library
Ferry Huberts [Fri, 3 Feb 2012 18:25:49 +0000 (19:25 +0100)]
PUD: remove validity time cache from the wireformat library

making the wireformat library completely stateless

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: pull nodeIdBinary status information into type
Ferry Huberts [Fri, 3 Feb 2012 18:15:40 +0000 (19:15 +0100)]
PUD: pull nodeIdBinary status information into type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: shift knowledge of nodeId to wireformat library
Ferry Huberts [Fri, 3 Feb 2012 17:00:04 +0000 (18:00 +0100)]
PUD: shift knowledge of nodeId to wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: use PUD_TX_NODEID_BUFFERSIZE i.s.o. PUD_NODEIDMAXLENGTH
Ferry Huberts [Fri, 3 Feb 2012 15:05:32 +0000 (16:05 +0100)]
PUD: use PUD_TX_NODEID_BUFFERSIZE i.s.o. PUD_NODEIDMAXLENGTH

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove nodeId cache from wireformat library
Ferry Huberts [Fri, 3 Feb 2012 14:48:53 +0000 (15:48 +0100)]
PUD: remove nodeId cache from wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: only use setupNodeIdBinaryBufferForOlsrCache
Ferry Huberts [Fri, 3 Feb 2012 13:42:45 +0000 (14:42 +0100)]
PUD: only use setupNodeIdBinaryBufferForOlsrCache

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: make nodeIdBinary accessible
Ferry Huberts [Fri, 3 Feb 2012 13:33:13 +0000 (14:33 +0100)]
PUD: make nodeIdBinary accessible

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: refactor setupNodeIdBinaryLongLong
Ferry Huberts [Fri, 3 Feb 2012 12:57:29 +0000 (13:57 +0100)]
PUD: refactor setupNodeIdBinaryLongLong

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: update eclipse project files
Ferry Huberts [Wed, 1 Feb 2012 13:25:37 +0000 (14:25 +0100)]
PUD: update eclipse project files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix some includes
Ferry Huberts [Tue, 6 Dec 2011 15:49:48 +0000 (16:49 +0100)]
PUD: fix some includes

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: refactor setting of IP address as binary
Ferry Huberts [Thu, 2 Feb 2012 12:00:10 +0000 (13:00 +0100)]
PUD: refactor setting of IP address as binary

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: add nodeIdBinaryLength
Ferry Huberts [Thu, 2 Feb 2012 11:18:29 +0000 (12:18 +0100)]
PUD: add nodeIdBinaryLength

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: replace inline nodeIdType limits by defines
Ferry Huberts [Wed, 26 Oct 2011 14:32:43 +0000 (16:32 +0200)]
PUD: replace inline nodeIdType limits by defines

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: minor fix of not using nodeId directly
Ferry Huberts [Thu, 2 Feb 2012 11:52:00 +0000 (12:52 +0100)]
PUD: minor fix of not using nodeId directly

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: also setup MAC address in cache
Ferry Huberts [Thu, 2 Feb 2012 11:39:08 +0000 (12:39 +0100)]
PUD: also setup MAC address in cache

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: decouple MAC address retrieval from createOlsrInterface function
Ferry Huberts [Wed, 26 Oct 2011 14:08:13 +0000 (16:08 +0200)]
PUD: decouple MAC address retrieval from createOlsrInterface function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: also put main IP address in cached buffer
Ferry Huberts [Thu, 2 Feb 2012 11:03:27 +0000 (12:03 +0100)]
PUD: also put main IP address in cached buffer

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: fix some comments
Ferry Huberts [Wed, 26 Oct 2011 13:42:59 +0000 (15:42 +0200)]
PUD: fix some comments

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: rename a function
Ferry Huberts [Wed, 26 Oct 2011 13:33:17 +0000 (15:33 +0200)]
PUD: rename a function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: refactor setupNodeIdNumberForOlsrCache
Ferry Huberts [Wed, 26 Oct 2011 13:28:11 +0000 (15:28 +0200)]
PUD: refactor setupNodeIdNumberForOlsrCache

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoPUD: also setup the binary buffer for DNS nodeIdType
Ferry Huberts [Thu, 2 Feb 2012 10:22:57 +0000 (11:22 +0100)]
PUD: also setup the binary buffer for DNS nodeIdType

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>