IcmpSquid.cc
Go to the documentation of this file.
58 debugs(37, 2, " Socket Closed. Aborted send to " << pecho.to << ", opcode " << opcode << ", len " << pecho.psize);
73 // XXX: If length specified or auto-detected is greater than the possible payload squid will die with an assert.
74 // TODO: This should perhapse be reduced to a truncated payload? or no payload. A WARNING is due anyway.
160 debugs(37,4, " ICMP_ECHO of " << preply.from << " gave: hops=" << preply.hops <<", rtt=" << preply.rtt);
164 debugs(37,4, " DomainPing of " << preply.from << " gave: hops=" << preply.hops <<", rtt=" << preply.rtt);
Definition: IcmpSquid.h:25
void DomainPing(Ip::Address &to, const char *domain)
Definition: IcmpSquid.cc:177
void SendEcho(Ip::Address &to, int opcode, const char *payload=nullptr, int len=0) override
Definition: IcmpSquid.cc:51
Definition: Address.h:41
ssize_t comm_udp_send(int s, const void *buf, size_t len, int flags)
Definition: comm.cc:145
pid_t ipcCreate(int type, const char *prog, const char *const args[], const char *name, Ip::Address &local_addr, int *rfd, int *wfd, void **hIpc)
Definition: ipc.cc:65
void SetSelect(int, unsigned int, PF *, void *, time_t)
Mark an FD to be watched for its IO status.
Definition: ModDevPoll.cc:223
void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt)
Definition: net_db.cc:844
Definition: Icmp.h:26
Definition: Icmp.h:35
time_t getCurrentTime() STUB_RETVAL(0) int tvSubUsec(struct timeval