23 #include <citrusleaf/cf_queue.h>
24 #include <netinet/in.h>
32 #include <aerospike/ck/ck_pr.h>
41 #define AS_HOSTNAME_SIZE 256
46 #define AS_NODE_NAME_SIZE 20
49 #define AS_NODE_NAME_MAX_SIZE AS_NODE_NAME_SIZE
58 typedef struct as_address_s {
62 struct sockaddr_in addr;
67 char name[INET_ADDRSTRLEN];
75 typedef struct as_node_s {
206 typedef struct as_node_info_s {
255 typedef struct as_host_s {
296 ck_pr_store_8(&node->
active,
false);
320 ck_pr_dec_32_zero(&node->
ref_count, &destroy);
338 static inline struct sockaddr_in*
342 return &address->
addr;
378 if (cf_queue_push(node->
conn_q, &fd) != CF_QUEUE_OK) {