A Discrete-Event Network Simulator
API
ICMP protocol and associated headers.
+ Collaboration diagram for ICMP protocol and associated headers.:

Classes

class  ns3::Icmpv4DestinationUnreachable
 ICMP Destination Unreachable header. More...
 
class  ns3::Icmpv4Echo
 ICMP Echo header. More...
 
class  ns3::Icmpv4Header
 Base class for all the ICMP packet headers. More...
 
class  ns3::Icmpv4L4Protocol
 This is the implementation of the ICMP protocol as described in RFC 792. More...
 
class  ns3::Icmpv4TimeExceeded
 ICMP Time Exceeded header. More...
 

Enumerations

enum  ns3::Icmpv4DestinationUnreachable::ErrorDestinationUnreachable_e {
  ns3::Icmpv4DestinationUnreachable::NET_UNREACHABLE = 0, ns3::Icmpv4DestinationUnreachable::HOST_UNREACHABLE = 1, ns3::Icmpv4DestinationUnreachable::PROTOCOL_UNREACHABLE = 2, ns3::Icmpv4DestinationUnreachable::PORT_UNREACHABLE = 3,
  ns3::Icmpv4DestinationUnreachable::FRAG_NEEDED = 4, ns3::Icmpv4DestinationUnreachable::SOURCE_ROUTE_FAILED = 5
}
 ICMP error code : Destination Unreachable. More...
 
enum  ns3::Icmpv4TimeExceeded::ErrorTimeExceeded_e { ns3::Icmpv4TimeExceeded::TIME_TO_LIVE = 0, ns3::Icmpv4TimeExceeded::FRAGMENT_REASSEMBLY = 1 }
 ICMP error code : Time Exceeded. More...
 
enum  ns3::Icmpv4Header::Type_e { ns3::Icmpv4Header::ECHO_REPLY = 0, ns3::Icmpv4Header::DEST_UNREACH = 3, ns3::Icmpv4Header::ECHO = 8, ns3::Icmpv4Header::TIME_EXCEEDED = 11 }
 ICMP type code. More...
 

Detailed Description

Enumeration Type Documentation

ICMP error code : Destination Unreachable.

Enumerator
NET_UNREACHABLE 
HOST_UNREACHABLE 
PROTOCOL_UNREACHABLE 
PORT_UNREACHABLE 
FRAG_NEEDED 
SOURCE_ROUTE_FAILED 

Definition at line 178 of file icmpv4.h.

ICMP error code : Time Exceeded.

Enumerator
TIME_TO_LIVE 
FRAGMENT_REASSEMBLY 

Definition at line 252 of file icmpv4.h.

ICMP type code.

Enumerator
ECHO_REPLY 
DEST_UNREACH 
ECHO 
TIME_EXCEEDED 

Definition at line 47 of file icmpv4.h.