Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dcluster.h136 char ip[NET_IP_STR_LEN]; /* Latest known IP address of this node */
192 char ip[NET_IP_STR_LEN]; /* IP address last time it was seen */
268 char myip[NET_IP_STR_LEN]; /* Sender IP, if not all zeroed. */
H A Dcluster.c618 char cip[NET_IP_STR_LEN]; in clusterAcceptHandler()
1283 char norm_ip[NET_IP_STR_LEN]; in clusterStartHandshake()
1308 memset(norm_ip,0,NET_IP_STR_LEN); in clusterStartHandshake()
1312 norm_ip,NET_IP_STR_LEN); in clusterStartHandshake()
1316 norm_ip,NET_IP_STR_LEN); in clusterStartHandshake()
1446 memcpy(buf,announced_ip,NET_IP_STR_LEN); in nodeIp2String()
1468 char ip[NET_IP_STR_LEN] = {0}; in nodeUpdateAddressIfNeeded()
1751 char ip[NET_IP_STR_LEN]; in clusterProcessPacket()
2271 memset(hdr->myip,0,NET_IP_STR_LEN); in clusterBuildMessageHdr()
2274 hdr->myip[NET_IP_STR_LEN-1] = '\0'; in clusterBuildMessageHdr()
[all …]
H A Dserver.h152 #define NET_IP_STR_LEN 46 /* INET6_ADDRSTRLEN is 46, but we need to be sure */ macro
153 #define NET_PEER_ID_LEN (NET_IP_STR_LEN+32) /* Must be enough for ip:port */
757 char slave_ip[NET_IP_STR_LEN]; /* Optionally given by REPLCONF ip-address */
H A Dreplication.c55 char ip[NET_IP_STR_LEN]; in replicationGetSlaveName()
2092 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in roleCommand()
H A Dsentinel.c540 char ip[NET_IP_STR_LEN]; in createSentinelAddr()
2563 char ip[NET_IP_STR_LEN]; in sentinelSendHello()
2564 char payload[NET_IP_STR_LEN+1024]; in sentinelSendHello()
3119 char ip[NET_IP_STR_LEN]; in sentinelCommand()
H A Dnetworking.c736 char cip[NET_IP_STR_LEN]; in acceptTcpHandler()
H A Dserver.c3568 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in genRedisInfoString()
H A Dmodule.c4035 char ip[NET_IP_STR_LEN];