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: Icmp.h:35
Definition: Icmp.h:25
ssize_t comm_udp_send(int s, const void *buf, size_t len, int flags)
Definition: comm.cc:146
time_t getCurrentTime() STUB_RETVAL(0) int tvSubUsec(struct timeval
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:71
Definition: IcmpSquid.h:24
void SetSelect(int, unsigned int, PF *, void *, time_t)
Mark an FD to be watched for its IO status.
Definition: ModDevPoll.cc:220
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
void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt)
Definition: net_db.cc:828
Definition: Address.h:42
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products