Home
last modified time | relevance | path

Searched refs:NET_IP_STR_LEN (Results 1 – 7 of 7) sorted by relevance

/redis-3.2.3/src/
H A Dcluster.h102 char ip[NET_IP_STR_LEN]; /* Latest known IP address of this node */
173 char ip[NET_IP_STR_LEN]; /* IP address last time it was seen */
H A Dcluster.c577 char cip[NET_IP_STR_LEN]; in clusterAcceptHandler()
1239 char norm_ip[NET_IP_STR_LEN]; in clusterStartHandshake()
1264 memset(norm_ip,0,NET_IP_STR_LEN); in clusterStartHandshake()
1268 norm_ip,NET_IP_STR_LEN); in clusterStartHandshake()
1272 norm_ip,NET_IP_STR_LEN); in clusterStartHandshake()
1344 memcpy(node->ip,g->ip,NET_IP_STR_LEN); in clusterProcessGossipSection()
1370 anetPeerToString(link->fd, buf, NET_IP_STR_LEN, NULL); in nodeIp2String()
1384 char ip[NET_IP_STR_LEN] = {0}; in nodeUpdateAddressIfNeeded()
1648 char ip[NET_IP_STR_LEN]; in clusterProcessPacket()
1653 memcpy(myself->ip,ip,NET_IP_STR_LEN); in clusterProcessPacket()
H A Dserver.h137 #define NET_IP_STR_LEN 46 /* INET6_ADDRSTRLEN is 46, but we need to be sure */ macro
138 #define NET_PEER_ID_LEN (NET_IP_STR_LEN+32) /* Must be enough for ip:port */
602 char slave_ip[NET_IP_STR_LEN]; /* Optionally given by REPLCONF ip-address */
H A Dreplication.c54 char ip[NET_IP_STR_LEN]; in replicationGetSlaveName()
1833 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in roleCommand()
H A Dsentinel.c518 char ip[NET_IP_STR_LEN]; in createSentinelAddr()
2466 char ip[NET_IP_STR_LEN]; in sentinelSendHello()
2467 char payload[NET_IP_STR_LEN+1024]; in sentinelSendHello()
3013 char ip[NET_IP_STR_LEN]; in sentinelCommand()
H A Dnetworking.c688 char cip[NET_IP_STR_LEN]; in acceptTcpHandler()
H A Dserver.c3196 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in genRedisInfoString()