[Olsr-dev] [PATCH v1 0/9] Also consider link state

Ferry Huberts (spam-protected)
Wed Feb 10 14:35:39 CET 2016


From: Ferry Huberts <(spam-protected)>

This series extends olsrd to also take the link state of a network interface
into account when determining whether or not an interface is up or down.

The series first does some simplifications and cleanups.

The actual relevant commits are the last 2.

Please review.

Ferry Huberts (9):
  ifnet: remove unused function set_flag
  linux: netlink_process_link: simplify NULL comparisons and add some
    braces
  linux: netlink_process_link: always determine the interface name
  linux: netlink_process_link: always determine the oif
  linux: netlink_process_link: simplify a comparison
  linux: netlink_process_link: compute up status only once
  linux: netlink_process_link: simplify an if/else
  ifnet: add getInterfaceLinkState function
  all: use the getInterfaceLinkState function

 src/gateway.c                |  5 +++
 src/ifnet.h                  | 14 ++++++--
 src/linux/kernel_routes_nl.c | 36 +++++++++++----------
 src/linux/net.c              |  5 +++
 src/unix/ifnet.c             | 76 +++++++++++++++++++++++++-------------------
 5 files changed, 85 insertions(+), 51 deletions(-)

-- 
2.5.0




More information about the Olsr-dev mailing list