Icmp.h File Reference
#include "ip/Address.h"
Include dependency graph for Icmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pingerEchoData
 
struct  pingerReplyData
 
struct  icmpEchoData
 
class  Icmp
 

Macros

#define PINGER_PAYLOAD_SZ   8192
 
#define MAX_PAYLOAD   256
 
#define MAX_PKT4_SZ   (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
 
#define MAX_PKT6_SZ   (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmp6_hdr) + 1)
 

Variables

int icmp_pkts_sent
 

Macro Definition Documentation

#define MAX_PAYLOAD   256

Definition at line 18 of file Icmp.h.

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

#define MAX_PKT4_SZ   (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)

Definition at line 19 of file Icmp.h.

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

#define MAX_PKT6_SZ   (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmp6_hdr) + 1)

Definition at line 20 of file Icmp.h.

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

#define PINGER_PAYLOAD_SZ   8192

Definition at line 16 of file Icmp.h.

Referenced by IcmpPinger::Recv(), Icmp6::Recv(), and IcmpSquid::SendEcho().

Variable Documentation

int icmp_pkts_sent

Definition at line 94 of file pinger.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors