Lines Matching refs:NET_IP_STR_LEN
618 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()
1416 memcpy(node->ip,g->ip,NET_IP_STR_LEN); in clusterProcessGossipSection()
1446 memcpy(buf,announced_ip,NET_IP_STR_LEN); in nodeIp2String()
1447 buf[NET_IP_STR_LEN-1] = '\0'; /* We are not sure the input is sane. */ in nodeIp2String()
1449 anetPeerToString(link->fd, buf, NET_IP_STR_LEN, NULL); in nodeIp2String()
1468 char ip[NET_IP_STR_LEN] = {0}; in nodeUpdateAddressIfNeeded()
1751 char ip[NET_IP_STR_LEN]; in clusterProcessPacket()
1756 memcpy(myself->ip,ip,NET_IP_STR_LEN); in clusterProcessPacket()
2271 memset(hdr->myip,0,NET_IP_STR_LEN); in clusterBuildMessageHdr()
2273 strncpy(hdr->myip,server.cluster_announce_ip,NET_IP_STR_LEN); in clusterBuildMessageHdr()
2274 hdr->myip[NET_IP_STR_LEN-1] = '\0'; in clusterBuildMessageHdr()
3344 strncpy(myself->ip,server.cluster_announce_ip,NET_IP_STR_LEN); in clusterCron()
3345 myself->ip[NET_IP_STR_LEN-1] = '\0'; in clusterCron()