[Olsr-dev] [olsrd] [PATCH v2 00/33] Assorted gateway fixes

Ferry Huberts (spam-protected)
Wed Jul 25 21:29:36 CEST 2012


From: Ferry Huberts <(spam-protected)>

Compared to v1 there are 4 new patches (30-33).
The first 29 patches are not changed, so I'm not sending these again.


Ferry Huberts (33):
  gateway: reorder functions
  gateway: initialise variables in the declaration order
  gateway: shift up the #ifdef linux
  gateway: make olsr_gw_default_lookup_gateway function static
  gateway: remove an unused include
  gateway: use the same 'ifdef linux' and the header and source file
  gateway: split variable declarations
  gateway: fixup includes
  gateway: add some comments
  gateway: add some comments
  gateway: minor simplification
  gateway: let init and cleanup functions take the name as parameter
  gateway: make refresh_smartgw_netmask static
  gateway: make olsr_trigger_inetgw_selection
  gateway: make olsr_find_gateway_entry static
  gateway: add some comments
  gateway: reorder functions
  gateway: remove some unused code in refresh_smartgw_netmask
  gateway: simplify deserialize_gw_speed
  gateway: simplify and inline olsr_find_gateway_entry
  gateway: introduce OLSR_IP_ADDR_2_HNA_PTR helper
  gateway: add and update lots of comments
  gateway: initialise all variables in olsr_init_gateways
  gateway: add some asserts on gw_handler
  gateway: minor simplification to olsr_trigger_gatewayloss_check
  gateway: remove an unused variable in olsr_update_gateway_entry
  gateway: minor simplification to olsr_delete_gateway_entry
  gateway: minor simplification to olsr_set_inet_gateway
  gateway: reset bandwidth to zero when no link speed is advertised
* gateway: ignore unreachable gateways
* gateway: ignore zero bandwidth and uni-directional links
* gateway: fix deserialisation of 0 in deserialize_gw_speed
* pud: ignore zero bandwidth/uni-directional link gateways

 lib/pud/src/uplinkGateway.c   |  10 +-
 src/bsd/dummy.c               |   4 +-
 src/gateway.c                 | 544 +++++++++++++++++++++++-------------------
 src/gateway.h                 |  50 ++--
 src/gateway_default_handler.c | 198 +++++++++------
 src/gateway_default_handler.h |   6 +-
 src/kernel_tunnel.h           |   4 +-
 src/linux/kernel_tunnel.c     |  15 +-
 src/win32/dummy.c             |   4 +-
 9 files changed, 475 insertions(+), 360 deletions(-)

-- 
1.7.11.2





More information about the Olsr-dev mailing list