mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
add a new container to hold a socketaddr for either ipv4 or ipv6
(This used to be ctdb commit 93b98838824fae5f47e4ed6b95ae9e4e7597bec3)
This commit is contained in:
parent
7d04ca2fc4
commit
2bc0e5a69f
@ -46,6 +46,16 @@ struct rd_memdump_reply {
|
||||
uint64_t srvid;
|
||||
};
|
||||
|
||||
/*
|
||||
definitions for different socket structures
|
||||
*/
|
||||
typedef struct sockaddr_in ctdb_addr_in;
|
||||
typedef struct sockaddr_in6 ctdb_addr_in6;
|
||||
typedef union {
|
||||
ctdb_addr_in ip;
|
||||
ctdb_addr_in6 ip6;
|
||||
} ctdb_sock_addr;
|
||||
|
||||
/*
|
||||
a tcp connection description
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user