olsrd.git
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoPUD: also setup the cache for DNS nodeIdType
Ferry Huberts [Thu, 2 Feb 2012 10:25:59 +0000 (11:25 +0100)]
PUD: also setup the cache for DNS nodeIdType

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename a function
Ferry Huberts [Wed, 26 Oct 2011 12:03:25 +0000 (14:03 +0200)]
PUD: rename a function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fold getNodeIdNumberForOlsrCache into setPositionUpdateNodeInfo
Ferry Huberts [Wed, 26 Oct 2011 11:44:13 +0000 (13:44 +0200)]
PUD: fold getNodeIdNumberForOlsrCache into setPositionUpdateNodeInfo

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: increase nodeId cache buffer size
Ferry Huberts [Wed, 26 Oct 2011 11:43:54 +0000 (13:43 +0200)]
PUD: increase nodeId cache buffer size

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: setupNodeIdBinaryLongLong doesn't need valueBuffer parameter
Ferry Huberts [Wed, 26 Oct 2011 10:54:59 +0000 (12:54 +0200)]
PUD: setupNodeIdBinaryLongLong doesn't need valueBuffer parameter

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename some functions
Ferry Huberts [Wed, 26 Oct 2011 10:52:02 +0000 (12:52 +0200)]
PUD: rename some functions

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename 2 variables
Ferry Huberts [Wed, 26 Oct 2011 10:50:26 +0000 (12:50 +0200)]
PUD: rename 2 variables

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename nodeIdNumberType to nodeIdBinaryType
Ferry Huberts [Wed, 26 Oct 2011 10:39:13 +0000 (12:39 +0200)]
PUD: rename nodeIdNumberType to nodeIdBinaryType

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: refactor isValidNodeIdType function
Ferry Huberts [Wed, 26 Oct 2011 10:35:34 +0000 (12:35 +0200)]
PUD: refactor isValidNodeIdType function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: remove superfluous PUD_NODE_ID_TYPE_MAX
Ferry Huberts [Wed, 26 Oct 2011 10:21:27 +0000 (12:21 +0200)]
PUD: remove superfluous PUD_NODE_ID_TYPE_MAX

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: make getOlsrSockaddrPortAddress like getOlsrSockAddrAndPortAddresses
Ferry Huberts [Wed, 26 Oct 2011 10:16:58 +0000 (12:16 +0200)]
PUD: make getOlsrSockaddrPortAddress like getOlsrSockAddrAndPortAddresses

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename a function
Ferry Huberts [Wed, 26 Oct 2011 10:10:32 +0000 (12:10 +0200)]
PUD: rename a function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename a function
Ferry Huberts [Wed, 26 Oct 2011 10:09:34 +0000 (12:09 +0200)]
PUD: rename a function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: pull getNodeIdAsNumber into setupNodeIdNumberForOlsrCacheAndValidateLongLong
Ferry Huberts [Wed, 26 Oct 2011 09:45:16 +0000 (11:45 +0200)]
PUD: pull getNodeIdAsNumber into setupNodeIdNumberForOlsrCacheAndValidateLongLong

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: store nodeIdNumber as nodeIdNumberType
Ferry Huberts [Wed, 26 Oct 2011 09:43:26 +0000 (11:43 +0200)]
PUD: store nodeIdNumber as nodeIdNumberType

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename valueType to nodeIdNumberType
Ferry Huberts [Wed, 26 Oct 2011 09:33:19 +0000 (11:33 +0200)]
PUD: rename valueType to nodeIdNumberType

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: update a comment
Ferry Huberts [Wed, 26 Oct 2011 09:30:59 +0000 (11:30 +0200)]
PUD: update a comment

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: call getTxMcAddr when needed, do not store
Ferry Huberts [Wed, 26 Oct 2011 09:07:11 +0000 (11:07 +0200)]
PUD: call getTxMcAddr when needed, do not store

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: split downlink debugging in rx and tx parts
Ferry Huberts [Wed, 26 Oct 2011 08:52:39 +0000 (10:52 +0200)]
PUD: split downlink debugging in rx and tx parts

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: renamed some defines
Ferry Huberts [Wed, 26 Oct 2011 08:49:54 +0000 (10:49 +0200)]
PUD: renamed some defines

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add some comments
Ferry Huberts [Wed, 26 Oct 2011 08:44:37 +0000 (10:44 +0200)]
PUD: add some comments

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: simplify setupNodeIdNumberForOlsrCacheAndValidate a bit
Ferry Huberts [Wed, 1 Feb 2012 12:09:01 +0000 (13:09 +0100)]
PUD: simplify setupNodeIdNumberForOlsrCacheAndValidate a bit

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: put value in union
Ferry Huberts [Wed, 1 Feb 2012 12:05:30 +0000 (13:05 +0100)]
PUD: put value in union

to prepare for more differentiated handling

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fix some documentation tags
Ferry Huberts [Thu, 2 Feb 2012 12:05:51 +0000 (13:05 +0100)]
PUD: fix some documentation tags

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: do not consider nodes with an infinite ETX as cluster leaders
Ferry Huberts [Tue, 14 Feb 2012 13:29:50 +0000 (14:29 +0100)]
PUD: do not consider nodes with an infinite ETX as cluster leaders

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: cleanup Makefiles
Ferry Huberts [Sun, 5 Feb 2012 12:44:58 +0000 (13:44 +0100)]
PUD: cleanup Makefiles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: only update version.h when needed
Ferry Huberts [Sun, 5 Feb 2012 12:45:25 +0000 (13:45 +0100)]
PUD: only update version.h when needed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: adjust dopMultiplier configuration parameter
Ferry Huberts [Fri, 3 Feb 2012 10:18:58 +0000 (11:18 +0100)]
PUD: adjust dopMultiplier configuration parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: adjust movingSpeedThreshold configuration parameter
Ferry Huberts [Fri, 3 Feb 2012 10:18:39 +0000 (11:18 +0100)]
PUD: adjust movingSpeedThreshold configuration parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: clarify a configuration setting
Ferry Huberts [Fri, 3 Feb 2012 10:18:17 +0000 (11:18 +0100)]
PUD: clarify a configuration setting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: fix a typo in a comment
Ferry Huberts [Fri, 3 Feb 2012 10:17:43 +0000 (11:17 +0100)]
PUD: fix a typo in a comment

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: always transmit last position
Ferry Huberts [Tue, 31 Jan 2012 13:38:21 +0000 (14:38 +0100)]
PUD: always transmit last position

So that late joiners see the last position of the node.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: do not change state when dealing with invalid positions
Ferry Huberts [Tue, 31 Jan 2012 08:45:25 +0000 (09:45 +0100)]
PUD: do not change state when dealing with invalid positions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: default state is STATIONARY
Ferry Huberts [Tue, 31 Jan 2012 07:41:09 +0000 (08:41 +0100)]
PUD: default state is STATIONARY

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: force STATIONARY when the position just became valid
Ferry Huberts [Tue, 31 Jan 2012 07:30:34 +0000 (08:30 +0100)]
PUD: force STATIONARY when the position just became valid

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: update a comment
Ferry Huberts [Tue, 31 Jan 2012 07:30:08 +0000 (08:30 +0100)]
PUD: update a comment

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: only do an immediate transmit on an external state change
Ferry Huberts [Tue, 31 Jan 2012 07:21:49 +0000 (08:21 +0100)]
PUD: only do an immediate transmit on an external state change

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoRevert "PUD: also take ourselves into account as potential cluster leader"
Ferry Huberts [Tue, 17 Jan 2012 10:01:10 +0000 (11:01 +0100)]
Revert "PUD: also take ourselves into account as potential cluster leader"

This reverts commit 0f07d30a729dd6e000b8920414e10f5c7ac87a3f.
It is not the correct solution.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: also take ourselves into account as potential cluster leader
Ferry Huberts [Mon, 16 Jan 2012 09:54:20 +0000 (10:54 +0100)]
PUD: also take ourselves into account as potential cluster leader

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: add helper to determine speed on which to choose a gateway
Ferry Huberts [Mon, 16 Jan 2012 09:47:25 +0000 (10:47 +0100)]
PUD: add helper to determine speed on which to choose a gateway

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: check that smart gateway is active when checking configuration
Ferry Huberts [Mon, 16 Jan 2012 09:05:31 +0000 (10:05 +0100)]
PUD: check that smart gateway is active when checking configuration

we depend on it

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: remove downlinkPort from UplinkClusterLeader
Ferry Huberts [Fri, 13 Jan 2012 13:15:09 +0000 (14:15 +0100)]
PUD: remove downlinkPort from UplinkClusterLeader

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Fri, 13 Jan 2012 18:41:45 +0000 (19:41 +0100)]
Merge branch 'stable' into pud

* stable:
  p2pd: dump_packet is only used within the INCLUDE_DEBUG_OUTPUT define
  httpinfo: dynamic_files is only used within the ADMIN_INTERFACE define
  linux-gtk: link is unused, comment it out
  linux-gtk: fix a warning about a missing break statement
  linux-gtk: include glib.h too
  linux-gtk: also remove olsrd-gui on clean
  linux-gtk: link with libm
  linux-gtk: .gitignore the compiled program

8 years agop2pd: dump_packet is only used within the INCLUDE_DEBUG_OUTPUT define
Ferry Huberts [Fri, 13 Jan 2012 18:28:47 +0000 (19:28 +0100)]
p2pd: dump_packet is only used within the INCLUDE_DEBUG_OUTPUT define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agohttpinfo: dynamic_files is only used within the ADMIN_INTERFACE define
Ferry Huberts [Fri, 13 Jan 2012 18:27:50 +0000 (19:27 +0100)]
httpinfo: dynamic_files is only used within the ADMIN_INTERFACE define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: link is unused, comment it out
Ferry Huberts [Fri, 13 Jan 2012 18:24:49 +0000 (19:24 +0100)]
linux-gtk: link is unused, comment it out

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: fix a warning about a missing break statement
Ferry Huberts [Fri, 13 Jan 2012 17:53:30 +0000 (18:53 +0100)]
linux-gtk: fix a warning about a missing break statement

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: include glib.h too
Ferry Huberts [Fri, 13 Jan 2012 18:23:26 +0000 (19:23 +0100)]
linux-gtk: include glib.h too

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: also remove olsrd-gui on clean
Ferry Huberts [Fri, 13 Jan 2012 18:32:05 +0000 (19:32 +0100)]
linux-gtk: also remove olsrd-gui on clean

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: link with libm
Ferry Huberts [Fri, 13 Jan 2012 18:25:12 +0000 (19:25 +0100)]
linux-gtk: link with libm

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux-gtk: .gitignore the compiled program
Ferry Huberts [Fri, 13 Jan 2012 18:26:01 +0000 (19:26 +0100)]
linux-gtk: .gitignore the compiled program

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: fix a doxygen warning
Ferry Huberts [Fri, 13 Jan 2012 15:05:27 +0000 (16:05 +0100)]
PUD: fix a doxygen warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: fix java cross compilation
Ferry Huberts [Fri, 13 Jan 2012 13:29:53 +0000 (14:29 +0100)]
PUD: fix java cross compilation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>