/*
- * $Id: icmp.cc,v 1.75 2002/04/04 23:59:25 hno Exp $
+ * $Id: icmp.cc,v 1.76 2002/10/21 05:49:59 adrian Exp $
*
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels
#include "squid.h"
+#include "comm.h"
#if USE_ICMP
static struct sockaddr_in F;
commSetSelect(icmp_sock, COMM_SELECT_READ, icmpRecv, NULL, 0);
memset(&preply, '\0', sizeof(pingerReplyData));
- statCounter.syscalls.sock.recvfroms++;
- n = recv(icmp_sock,
+ n = comm_recv(icmp_sock,
(char *) &preply,
sizeof(pingerReplyData),
0);
/*
- * $Id: ipc.cc,v 1.30 2002/10/14 08:16:58 robertc Exp $
+ * $Id: ipc.cc,v 1.31 2002/10/21 05:49:59 adrian Exp $
*
* DEBUG: section 54 Interprocess Communication
* AUTHOR: Duane Wessels
}
memset(hello_buf, '\0', HELLO_BUF_SZ);
if (type == IPC_UDP_SOCKET)
- x = recv(prfd, hello_buf, HELLO_BUF_SZ - 1, 0);
+ x = comm_recv(prfd, hello_buf, HELLO_BUF_SZ - 1, 0);
else
x = read(prfd, hello_buf, HELLO_BUF_SZ - 1);
if (x < 0) {