olsrd.git
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>
8 years agoPUD: use em1 interface in config
Ferry Huberts [Fri, 13 Jan 2012 13:18:20 +0000 (14:18 +0100)]
PUD: use em1 interface in config

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: improve createDownlinkSocket a bit
Ferry Huberts [Thu, 15 Dec 2011 13:22:44 +0000 (14:22 +0100)]
PUD: improve createDownlinkSocket a bit

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: use downlink socket for sending on uplink
Ferry Huberts [Thu, 15 Dec 2011 13:21:51 +0000 (14:21 +0100)]
PUD: use downlink socket for sending on uplink

So that we send from the downlink port: allows removal
of the downlinkPort in the clusterLeader message, saving
2 bytes in payload (will do that later).

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Tue, 13 Dec 2011 10:01:46 +0000 (11:01 +0100)]
Merge branch 'stable' into pud

* stable:
  smart gateway: add threshold configuration parameter
  smart gateway: all parameters of smartgw_tunnel_monitor are unused
  smart gateway: remove useless code in smartgw_tunnel_monitor
  smart gateway: remove duplicated calls
  smart gateway: fix spelling of 'lazy'
  linux: tunnel: report tunnel setup too
  gui: linux: align olsr_ip_addr to olsr definition of it

8 years agosmart gateway: add threshold configuration parameter
Ferry Huberts [Mon, 12 Dec 2011 13:12:08 +0000 (14:12 +0100)]
smart gateway: add threshold configuration parameter

We can now keep choosing a better gateway by setting the
configuration setting "SmartGatewayThreshold" to a value
larger than zero.

The costs for a new smart gateway must be less than the
costs of the current smart gateway multiplied by
SmartGatewayThreshold in order for it to be chosen as
the new smart gateway.

This new configuration parameter has a similar function
and meaning as the NAT threshold configuration parameter.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: update document
Ferry Huberts [Mon, 12 Dec 2011 12:24:19 +0000 (13:24 +0100)]
PUD: update document

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agosmart gateway: all parameters of smartgw_tunnel_monitor are unused
Ferry Huberts [Tue, 6 Dec 2011 12:41:08 +0000 (13:41 +0100)]
smart gateway: all parameters of smartgw_tunnel_monitor are unused

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agosmart gateway: remove useless code in smartgw_tunnel_monitor
Ferry Huberts [Mon, 5 Dec 2011 13:46:59 +0000 (14:46 +0100)]
smart gateway: remove useless code in smartgw_tunnel_monitor

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agosmart gateway: remove duplicated calls
Ferry Huberts [Mon, 5 Dec 2011 13:41:34 +0000 (14:41 +0100)]
smart gateway: remove duplicated calls

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agosmart gateway: fix spelling of 'lazy'
Ferry Huberts [Thu, 3 Nov 2011 12:31:06 +0000 (13:31 +0100)]
smart gateway: fix spelling of 'lazy'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agolinux: tunnel: report tunnel setup too
Ferry Huberts [Fri, 9 Dec 2011 12:26:47 +0000 (13:26 +0100)]
linux: tunnel: report tunnel setup too

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agogui: linux: align olsr_ip_addr to olsr definition of it
Ferry Huberts [Tue, 6 Dec 2011 15:51:10 +0000 (16:51 +0100)]
gui: linux: align olsr_ip_addr to olsr definition of it

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Tue, 6 Dec 2011 12:14:03 +0000 (13:14 +0100)]
Merge branch 'stable' into pud

* stable:
  mdns: firm up IsMulticast
  bmf: firm up IsMulticast
  p2pd: remove unused IsBroadcast
  p2pd: fix setting the 'multicast' MAC address for IPv4
  p2pd: fix IsMulticastv4

8 years agomdns: firm up IsMulticast
Ferry Huberts [Tue, 6 Dec 2011 12:08:59 +0000 (13:08 +0100)]
mdns: firm up IsMulticast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agobmf: firm up IsMulticast
Ferry Huberts [Tue, 6 Dec 2011 12:08:47 +0000 (13:08 +0100)]
bmf: firm up IsMulticast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: remove unused IsBroadcast
Ferry Huberts [Tue, 6 Dec 2011 11:44:53 +0000 (12:44 +0100)]
p2pd: remove unused IsBroadcast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: fix setting the 'multicast' MAC address for IPv4
Ferry Huberts [Tue, 6 Dec 2011 12:02:32 +0000 (13:02 +0100)]
p2pd: fix setting the 'multicast' MAC address for IPv4

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: fix IsMulticastv4
Ferry Huberts [Tue, 6 Dec 2011 11:47:06 +0000 (12:47 +0100)]
p2pd: fix IsMulticastv4

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: start OLSR and uplink tx timers on init
Ferry Huberts [Mon, 5 Dec 2011 09:54:04 +0000 (10:54 +0100)]
PUD: start OLSR and uplink tx timers on init

so that uplink will start reporting to relay server even
though no valid position was obtained yet

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: refactor txToAllOlsrInterfaces
Ferry Huberts [Mon, 5 Dec 2011 09:45:21 +0000 (10:45 +0100)]
PUD: refactor txToAllOlsrInterfaces

do not send the position update when it is not valid

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: the default/initial state is now STATIONARY
Ferry Huberts [Fri, 2 Dec 2011 12:44:20 +0000 (13:44 +0100)]
PUD: the default/initial state is now STATIONARY

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoMerge branch 'stable' into pud
Ferry Huberts [Thu, 3 Nov 2011 11:12:02 +0000 (12:12 +0100)]
Merge branch 'stable' into pud

* stable:
  Fix metric parsing for Quagga 0.99.x (thanks Jon Andersson)

9 years agoFix metric parsing for Quagga 0.99.x (thanks Jon Andersson)
Vasilis Tsiligiannis [Wed, 2 Nov 2011 14:08:38 +0000 (16:08 +0200)]
Fix metric parsing for Quagga 0.99.x (thanks Jon Andersson)

9 years agoPUD: force stationary when the position is invalid
Ferry Huberts [Wed, 2 Nov 2011 11:37:21 +0000 (12:37 +0100)]
PUD: force stationary when the position is invalid

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: improve clearing the result in detemineMoving
Ferry Huberts [Wed, 2 Nov 2011 11:36:21 +0000 (12:36 +0100)]
PUD: improve clearing the result in detemineMoving

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: fix compiler doing weird type downcasting
Ferry Huberts [Tue, 1 Nov 2011 16:53:11 +0000 (17:53 +0100)]
PUD: fix compiler doing weird type downcasting

the expression
  (updateTimeSeconds * 1000)
resulted in a long, but it should be a long long

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: fix a warning
Ferry Huberts [Tue, 1 Nov 2011 10:35:32 +0000 (11:35 +0100)]
PUD: fix a warning

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: the downlink port is in network byte order
Ferry Huberts [Tue, 1 Nov 2011 10:32:26 +0000 (11:32 +0100)]
PUD: the downlink port is in network byte order

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: update document
Ferry Huberts [Fri, 21 Oct 2011 15:29:54 +0000 (17:29 +0200)]
PUD: update document

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: also put the OLSR originator in the NMEA output
Ferry Huberts [Fri, 21 Oct 2011 15:06:12 +0000 (17:06 +0200)]
PUD: also put the OLSR originator in the NMEA output

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: put the gateway flag in the NMEA output
Ferry Huberts [Fri, 21 Oct 2011 15:05:39 +0000 (17:05 +0200)]
PUD: put the gateway flag in the NMEA output

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: Introduce an extra 'gateway' flag in the wire format
Ferry Huberts [Fri, 21 Oct 2011 14:26:43 +0000 (16:26 +0200)]
PUD: Introduce an extra 'gateway' flag in the wire format

and always clear it

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add wireformat flags field to java library
Ferry Huberts [Fri, 21 Oct 2011 15:38:14 +0000 (17:38 +0200)]
PUD: add wireformat flags field to java library

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: Introduce an extra 'flags' byte in the wire format
Ferry Huberts [Fri, 21 Oct 2011 14:25:57 +0000 (16:25 +0200)]
PUD: Introduce an extra 'flags' byte in the wire format

And use it for the nodeId flag

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: Clear the message before filling it
Ferry Huberts [Fri, 21 Oct 2011 14:24:56 +0000 (16:24 +0200)]
PUD: Clear the message before filling it

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: make downlink operational
Ferry Huberts [Wed, 28 Sep 2011 12:51:01 +0000 (14:51 +0200)]
PUD: make downlink operational

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add isValidNodeIdType function to wireformat library
Ferry Huberts [Tue, 11 Oct 2011 13:33:46 +0000 (15:33 +0200)]
PUD: add isValidNodeIdType function to wireformat library

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add mutex to dedup list
Ferry Huberts [Tue, 11 Oct 2011 11:26:16 +0000 (13:26 +0200)]
PUD: add mutex to dedup list

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: compile fixes for debug defines
Ferry Huberts [Wed, 28 Sep 2011 12:17:49 +0000 (14:17 +0200)]
PUD: compile fixes for debug defines

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add downlink socket, no handling yet
Ferry Huberts [Wed, 28 Sep 2011 10:02:28 +0000 (12:02 +0200)]
PUD: add downlink socket, no handling yet

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add URN nodeIdType
Ferry Huberts [Tue, 27 Sep 2011 11:24:52 +0000 (13:24 +0200)]
PUD: add URN nodeIdType

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: add AIS MMSI nodeIdType
Ferry Huberts [Tue, 27 Sep 2011 10:16:34 +0000 (12:16 +0200)]
PUD: add AIS MMSI nodeIdType

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: use the MAC address of the OLSR main IP address
Ferry Huberts [Tue, 27 Sep 2011 09:47:14 +0000 (11:47 +0200)]
PUD: use the MAC address of the OLSR main IP address

Not the MAC address of the interface over which the
message is sent.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: add downlink port to clusterleader message
Ferry Huberts [Thu, 22 Sep 2011 16:26:56 +0000 (18:26 +0200)]
PUD: add downlink port to clusterleader message

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add timezone offset parameter to getPositionUpdateTime method
Ferry Huberts [Thu, 8 Sep 2011 13:19:54 +0000 (15:19 +0200)]
PUD: add timezone offset parameter to getPositionUpdateTime method

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: update a comment about UTC time
Ferry Huberts [Thu, 8 Sep 2011 12:11:49 +0000 (14:11 +0200)]
PUD: update a comment about UTC time

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: change signature of getPositionUpdateTime method
Ferry Huberts [Thu, 8 Sep 2011 11:36:27 +0000 (13:36 +0200)]
PUD: change signature of getPositionUpdateTime method

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: make java UplinkMessage Serializable
Ferry Huberts [Wed, 7 Sep 2011 12:59:05 +0000 (14:59 +0200)]
PUD: make java UplinkMessage Serializable

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: implement gateway selection / cluster leader selection
Ferry Huberts [Wed, 24 Aug 2011 07:42:30 +0000 (09:42 +0200)]
PUD: implement gateway selection / cluster leader selection

We use the smart gateway functionality of OLSR for
selection of the cluster leader. A cluster leader
is the node that receives position updates from
the relay server. These position updates are then
distributed over the MANET by the cluster leader.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: update eclipse project files
Ferry Huberts [Thu, 18 Aug 2011 08:17:08 +0000 (10:17 +0200)]
PUD: update eclipse project files

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: use the wireformat library
Ferry Huberts [Fri, 5 Aug 2011 14:59:26 +0000 (16:59 +0200)]
PUD: use the wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: add wireformat library to makefile
Ferry Huberts [Fri, 5 Aug 2011 14:51:14 +0000 (16:51 +0200)]
PUD: add wireformat library to makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: add wireformat libraries
Ferry Huberts [Tue, 16 Aug 2011 13:46:40 +0000 (15:46 +0200)]
PUD: add wireformat libraries

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
9 years agoPUD: we need to transmit IPv4/IPv6 status in the uplink
Ferry Huberts [Tue, 2 Aug 2011 12:36:08 +0000 (14:36 +0200)]
PUD: we need to transmit IPv4/IPv6 status in the uplink

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: better definition for UplinkWireFormat
Ferry Huberts [Tue, 2 Aug 2011 12:08:55 +0000 (14:08 +0200)]
PUD: better definition for UplinkWireFormat

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add uplink dumping
Ferry Huberts [Tue, 2 Aug 2011 10:07:01 +0000 (12:07 +0200)]
PUD: add uplink dumping

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: send position updates over uplink
Ferry Huberts [Mon, 18 Jul 2011 11:54:39 +0000 (13:54 +0200)]
PUD: send position updates over uplink

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: setup uplink socket when uplink address is configured
Ferry Huberts [Mon, 18 Jul 2011 10:16:26 +0000 (12:16 +0200)]
PUD: setup uplink socket when uplink address is configured

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add uplink address parameters
Ferry Huberts [Fri, 15 Jul 2011 11:11:17 +0000 (13:11 +0200)]
PUD: add uplink address parameters

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add uplink interval parameters
Ferry Huberts [Thu, 14 Jul 2011 13:26:46 +0000 (15:26 +0200)]
PUD: add uplink interval parameters

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: add uplink timer
Ferry Huberts [Thu, 14 Jul 2011 13:07:19 +0000 (15:07 +0200)]
PUD: add uplink timer

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoMerge branch 'stable' into pud
Ferry Huberts [Tue, 18 Oct 2011 10:08:07 +0000 (12:08 +0200)]
Merge branch 'stable' into pud

* stable:
  consolidate comments regarding if olsrd has to delete, or can rely on routes getting overwritten
  do not (falsely) rely on NLFM_REPLACE with fib_metric != FLAT
  spelling: it's 'receiving', not 'recieving'

9 years agoPUD: fix typo in example configuration
Ferry Huberts [Tue, 18 Oct 2011 10:01:37 +0000 (12:01 +0200)]
PUD: fix typo in example configuration

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoconsolidate comments regarding if olsrd has to delete, or can rely on routes getting...
Markus Kittenberger [Mon, 10 Oct 2011 16:55:52 +0000 (18:55 +0200)]
consolidate comments regarding if olsrd has to delete, or can rely on routes getting overwritten

9 years agodo not (falsely) rely on NLFM_REPLACE with fib_metric != FLAT
Markus Kittenberger [Mon, 10 Oct 2011 16:37:56 +0000 (18:37 +0200)]
do not (falsely) rely on NLFM_REPLACE with fib_metric != FLAT

9 years agoPUD: always regenerate version.h
Ferry Huberts [Mon, 10 Oct 2011 13:44:09 +0000 (15:44 +0200)]
PUD: always regenerate version.h

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agospelling: it's 'receiving', not 'recieving'
Ferry Huberts [Mon, 10 Oct 2011 13:28:32 +0000 (15:28 +0200)]
spelling: it's 'receiving', not 'recieving'

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoMerge branch 'stable' into pud
Ferry Huberts [Mon, 10 Oct 2011 13:20:21 +0000 (15:20 +0200)]
Merge branch 'stable' into pud

* stable:
  bmf: fix warnings
  parser: fix warnings

9 years agobmf: fix warnings
Ferry Huberts [Mon, 10 Oct 2011 13:09:06 +0000 (15:09 +0200)]
bmf: fix warnings

src/NetworkInterfaces.c: In function 'AddMulticastRoute':
src/NetworkInterfaces.c:1893: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1893: note: initialized from here
src/NetworkInterfaces.c:1894: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1894: note: initialized from here
src/NetworkInterfaces.c:1895: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1895: note: initialized from here
src/NetworkInterfaces.c: In function 'DeleteMulticastRoute':
src/NetworkInterfaces.c:1938: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1938: note: initialized from here
src/NetworkInterfaces.c:1939: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1939: note: initialized from here
src/NetworkInterfaces.c:1940: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1940: note: initialized from here

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoparser: fix warnings
Ferry Huberts [Mon, 10 Oct 2011 12:01:21 +0000 (14:01 +0200)]
parser: fix warnings

src/parser.c: In function 'olsr_input':
src/parser.c:467: warning: dereferencing pointer 'from.100' does break strict-aliasing rules
src/parser.c:467: note: initialized from here
src/parser.c:470: warning: dereferencing pointer 'from.101' does break strict-aliasing rules
src/parser.c:470: note: initialized from here

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: always generate a GIT_SHA define in version.h
Ferry Huberts [Mon, 10 Oct 2011 11:35:17 +0000 (13:35 +0200)]
PUD: always generate a GIT_SHA define in version.h

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