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   (sizeof(struct icmphdr) + sizeof(struct icmpEchoData) + 1)
 
#define MAX_PKT6_SZ   (sizeof(struct icmp6_hdr) + sizeof(struct icmpEchoData) + 1)
 

Variables

int icmp_pkts_sent
 

Macro Definition Documentation

◆ MAX_PAYLOAD

#define MAX_PAYLOAD   256

Definition at line 18 of file Icmp.h.

◆ MAX_PKT4_SZ

#define MAX_PKT4_SZ   (sizeof(struct icmphdr) + sizeof(struct icmpEchoData) + 1)

Definition at line 19 of file Icmp.h.

◆ MAX_PKT6_SZ

#define MAX_PKT6_SZ   (sizeof(struct icmp6_hdr) + sizeof(struct icmpEchoData) + 1)

Definition at line 20 of file Icmp.h.

◆ PINGER_PAYLOAD_SZ

#define PINGER_PAYLOAD_SZ   8192

Definition at line 16 of file Icmp.h.

Variable Documentation

◆ icmp_pkts_sent

int icmp_pkts_sent
extern

Definition at line 94 of file pinger.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors