From: Erik Hugne <erik.hugne(a)ericsson.com>
The first 4 patches moves the arp/ethtool/icmp/icmpv6 link watchers to
separate files, leaving the generic link watcher code in teamd_link_watch.c.
The last patch adds support for the TIPC link watcher. There is a build-time
check that checks if AF_TIPC/SIOCGETLINKNAME are available (kernel 3.15+),
and only builds in TIPC support in that case.
Erik Hugne (5):
teamd: move ethtool link watcher to a separate file
teamd: move psr template link watcher to a separate file
teamd: move arp link watcher to a separate file
teamd: move icmp6 link watcher to a separate file
teamd: add TIPC link watcher
configure.ac | 34 +
teamd/Makefile.am | 13 +-
teamd/example_configs/activebackup_tipc.conf | 22 +
teamd/teamd_link_watch.c | 1253 +-------------------------
teamd/teamd_link_watch.h | 79 ++
teamd/teamd_lw_arp.c | 485 ++++++++++
teamd/teamd_lw_ethtool.c | 223 +++++
teamd/teamd_lw_icmp6.c | 336 +++++++
teamd/teamd_lw_psr.c | 233 +++++
teamd/teamd_lw_tipc.c | 263 ++++++
utils/teamdctl.c | 11 +-
11 files changed, 1712 insertions(+), 1240 deletions(-)
create mode 100644 teamd/example_configs/activebackup_tipc.conf
create mode 100644 teamd/teamd_link_watch.h
create mode 100644 teamd/teamd_lw_arp.c
create mode 100644 teamd/teamd_lw_ethtool.c
create mode 100644 teamd/teamd_lw_icmp6.c
create mode 100644 teamd/teamd_lw_psr.c
create mode 100644 teamd/teamd_lw_tipc.c
--
1.8.3.2