Searched refs:anetPeerToString (Results 1 – 5 of 5) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | anet.h | 73 int anetPeerToString(int fd, char *ip, size_t ip_len, int *port);
|
| H A D | anet.c | 574 int anetPeerToString(int fd, char *ip, size_t ip_len, int *port) { in anetPeerToString() function 623 anetPeerToString(fd,ip,sizeof(ip),&port); in anetFormatPeer()
|
| H A D | replication.c | 59 anetPeerToString(c->fd,ip,sizeof(ip),NULL) != -1) in replicationGetSlaveName() 1836 if (anetPeerToString(slave->fd,ip,sizeof(ip),NULL) == -1) in roleCommand()
|
| H A D | server.c | 3201 if (anetPeerToString(slave->fd,ip,sizeof(ip),&port) == -1) in genRedisInfoString()
|
| H A D | cluster.c | 1370 anetPeerToString(link->fd, buf, NET_IP_STR_LEN, NULL); in nodeIp2String()
|