ctdb-common: Move ctdb_sys_send_arp() to ctdb_socket.[ch]
authorMartin Schwenke <martin@meltin.net>
Thu, 28 Jun 2018 10:57:08 +0000 (20:57 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 2 Jul 2018 06:51:21 +0000 (08:51 +0200)
commit9c51b278b1700cd5f3e2addc19b7c711cc2ea10b
treeb19d6cea1d22f9c38d787a784e9bdd96b798c460
parent1d7d80451bc4fea12d313b911924ae89901d99a7
ctdb-common: Move ctdb_sys_send_arp() to ctdb_socket.[ch]

The system_<os>.c files contain a lot of duplication, making
maintenance difficult.  These functions are being merged into
system_socket.c and system.c.

Bring a copy of tcp_checksum6(), renamed to ip6_checksum().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system.h
ctdb/common/system_aix.c
ctdb/common/system_freebsd.c
ctdb/common/system_gnu.c
ctdb/common/system_kfreebsd.c
ctdb/common/system_linux.c
ctdb/common/system_socket.c
ctdb/common/system_socket.h