diff options
author | Martin Schwenke <martin@meltin.net> | 2016-06-14 06:44:29 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-28 05:00:15 +0200 |
commit | 10165c48f17ba608fb3e9c2e84e308b061e024c5 (patch) | |
tree | 72572c9b2979d702766493f1c4907d738903032f /ctdb/include | |
parent | c40fc62642ff5ac49b75e9af49c299e33dbc9073 (diff) | |
download | samba-10165c48f17ba608fb3e9c2e84e308b061e024c5.tar.gz |
ctdb-daemon: Move CTDB VNN structure to IP takeover code
It is only used in this code.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index bbbaa77527e..26e9b4396bb 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -71,39 +71,6 @@ struct ctdb_client { struct ctdb_client_notify_list *notify; }; -/* state associated with a public ip address */ -struct ctdb_vnn { - struct ctdb_vnn *prev, *next; - - struct ctdb_interface *iface; - const char **ifaces; - ctdb_sock_addr public_address; - uint8_t public_netmask_bits; - - /* the node number that is serving this public address, if any. - If no node serves this ip it is set to -1 */ - int32_t pnn; - - /* List of clients to tickle for this public address */ - struct ctdb_tcp_array *tcp_array; - - /* whether we need to update the other nodes with changes to our list - of connected clients */ - bool tcp_update_needed; - - /* a context to hang sending gratious arp events off */ - TALLOC_CTX *takeover_ctx; - - /* Set to true any time an update to this VNN is in flight. - This helps to avoid races. */ - bool update_in_flight; - - /* If CTDB_CONTROL_DEL_PUBLIC_IP is received for this IP - * address then this flag is set. It will be deleted in the - * release IP callback. */ - bool delete_pending; -}; - /* state associated with one node */ |