pinger.cc File Reference
#include "squid.h"
#include "Debug.h"
#include "SquidTime.h"
#include "Icmp4.h"
#include "Icmp6.h"
#include "IcmpPinger.h"
#include "ip/tools.h"
Include dependency graph for pinger.cc:

Go to the source code of this file.

Macros

#define SQUID_HELPER   1
 
#define PINGER_TIMEOUT   10
 
#define LINK_TO_SQUID   1
 

Functions

int main (int argc, char *argv[])
 

Variables

IcmpPinger control
 pinger helper contains one of these as a global object. More...
 
Icmp4 icmp4
 pinger helper contains one of these as a global object. More...
 
Icmp6 icmp6
 pinger helper contains one of these as a global object. More...
 
int icmp_pkts_sent = 0
 

Macro Definition Documentation

◆ LINK_TO_SQUID

#define LINK_TO_SQUID   1

Definition at line 85 of file pinger.cc.

Referenced by main().

◆ PINGER_TIMEOUT

#define PINGER_TIMEOUT   10

Definition at line 82 of file pinger.cc.

Referenced by main().

◆ SQUID_HELPER

#define SQUID_HELPER   1

Definition at line 11 of file pinger.cc.

Variable Documentation

◆ control

IcmpPinger control

Definition at line 90 of file pinger.cc.

Referenced by Icmp6::Recv(), Icmp4::Recv(), and testSBuf::testAppendStdString().

◆ icmp4

Icmp4 icmp4

Definition at line 91 of file pinger.cc.

Referenced by IcmpPinger::Close(), and IcmpPinger::Recv().

◆ icmp6

Icmp6 icmp6

Definition at line 92 of file pinger.cc.

Referenced by IcmpPinger::Close(), and IcmpPinger::Recv().

◆ icmp_pkts_sent

int icmp_pkts_sent = 0

Definition at line 94 of file pinger.cc.

Referenced by Icmp6::SendEcho(), and Icmp4::SendEcho().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors