1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/include
Ronnie Sahlberg 909ff219e0 Start implementing support for ipv6.
This enhances the framework for sending tcp tickles to be able to send ipv6 tickles as well.

Since we can not use one single RAW socket to send both handcrafted ipv4 and ipv6 packets, instead of always opening TWO sockets, one ipv4 and one ipv6 we get rid of the helper ctdb_sys_open_sending_socket() and just open (and close)  a raw socket of the appropriate type inside ctdb_sys_send_tcp().
We know which type of socket v4/v6 to use based on the sin_family of the destination address.

Since ctdb_sys_send_tcp() opens its own socket  we no longer nede to pass a socket
descriptor as a parameter.  Get rid of this redundant parameter and fixup all callers.

(This used to be ctdb commit 406a2a1e364cf71eb15e5aeec3b87c62f825da92)
2008-05-14 15:47:47 +10:00
..
cmdline.h moved cmdline.c to common code 2007-04-17 22:16:50 +10:00
ctdb_private.h Start implementing support for ipv6. 2008-05-14 15:47:47 +10:00
ctdb.h Add a capabilities field to the ctdb structure 2008-05-06 10:02:27 +10:00
idtree.h - added in idtree for efficient reqid handling 2006-11-28 20:48:34 +11:00
includes.h added debug constants to allow for better mapping to syslog levels 2008-02-04 17:44:24 +11:00