|
Squid Web Cache master
|
#include "squid.h"#include "debug/Stream.h"#include "base/Stopwatch.h"#include "base/TextException.h"#include "compat/select.h"#include "compat/socket.h"#include "Icmp4.h"#include "Icmp6.h"#include "IcmpPinger.h"#include "ip/tools.h"#include "time/gadgets.h"Go to the source code of this file.
Macros | |
| #define | SQUID_HELPER 1 |
| #define | LINK_TO_SQUID 1 |
Functions | |
| static std::ostream & | TerminationReason (std::ostream &os) |
| reports std::terminate() cause (e.g., an uncaught or prohibited exception) | |
| static void | OnTerminate () |
| int | main (int, char **) |
Variables | |
| static const auto | PingerTimeout = 10s |
| IcmpPinger | control |
| pinger helper contains one of these as a global object. | |
| Icmp4 | icmp4 |
| pinger helper contains one of these as a global object. | |
| Icmp6 | icmp6 |
| pinger helper contains one of these as a global object. | |
| int | icmp_pkts_sent = 0 |
|
static |
Definition at line 111 of file pinger.cc.
References IcmpPinger::Close(), control, DBG_CRITICAL, debugs, Debug::PrepareToDie(), and TerminationReason().
Referenced by main().
|
static |
Definition at line 101 of file pinger.cc.
References CurrentException().
Referenced by OnTerminate().
| IcmpPinger control |
Definition at line 93 of file pinger.cc.
Referenced by main(), OnTerminate(), Icmp4::Recv(), Icmp6::Recv(), and TestSBuf::testAppendStdString().
| Icmp4 icmp4 |
Definition at line 94 of file pinger.cc.
Referenced by IcmpPinger::Close(), main(), and IcmpPinger::Recv().
| Icmp6 icmp6 |
Definition at line 95 of file pinger.cc.
Referenced by IcmpPinger::Close(), main(), and IcmpPinger::Recv().
| int icmp_pkts_sent = 0 |
Definition at line 97 of file pinger.cc.
Referenced by Icmp4::SendEcho(), and Icmp6::SendEcho().