INET Framework for OMNeT++/OMNEST
ICMPMessage_m.h File Reference
#include <omnetpp.h>
#include "INETDefs.h"

Go to the source code of this file.

Classes

class  ICMPMessage

Defines

#define MSGC_VERSION   0x0402

Typedefs

typedef int ICMPCode

Enumerations

enum  ICMPDestinationUnreachableCodes {
  ICMP_DU_NETWORK_UNREACHABLE = 0, ICMP_DU_HOST_UNREACHABLE = 1, ICMP_DU_PROTOCOL_UNREACHABLE = 2, ICMP_DU_PORT_UNREACHABLE = 3,
  ICMP_DU_FRAGMENTATION_NEEDED = 4, ICMP_DU_SOURCE_ROUTE_FAILED = 5, ICMP_DU_DESTINATION_NETWORK_UNKNOWN = 6, ICMP_DU_DESTINATION_HOST_UNKNOWN = 7,
  ICMP_DU_SOURCE_HOST_ISOLATED = 8, ICMP_DU_NETWORK_PROHIBITED = 9, ICMP_DU_HOST_PROHIBITED = 10, ICMP_DU_NETWORK_UNREACHABLE_FOR_TYPE_OF_SERVICE = 11,
  ICMP_DU_HOST_UNREACHABLE_FOR_TYPE_OF_SERVICE = 12, ICMP_DU_COMMUNICATION_PROHIBITED = 13, ICMP_DU_HOST_PRECEDENCE_VIOLATION = 14, ICMP_DU_PRECEDENCE_CUTOFF_IN_EFFECT = 15,
  ICMP_AODV_QUEUE_FULL = 16
}
enum  ICMPType {
  ICMP_DESTINATION_UNREACHABLE = 13, ICMP_REDIRECT = 5, ICMP_TIME_EXCEEDED = 11, ICMP_PARAMETER_PROBLEM = 12,
  ICMP_ECHO_REQUEST = 128, ICMP_ECHO_REPLY = 129, ICMP_TIMESTAMP_REQUEST = 130, ICMP_TIMESTAMP_REPLY = 131
}

Functions

void doPacking (cCommBuffer *b, ICMPMessage &obj)
void doUnpacking (cCommBuffer *b, ICMPMessage &obj)

Define Documentation

#define MSGC_VERSION   0x0402

Definition at line 11 of file ICMPMessage_m.h.


Typedef Documentation

typedef int ICMPCode

Definition at line 21 of file ICMPMessage_m.h.


Enumeration Type Documentation

Enumerator:
ICMP_DU_NETWORK_UNREACHABLE 
ICMP_DU_HOST_UNREACHABLE 
ICMP_DU_PROTOCOL_UNREACHABLE 
ICMP_DU_PORT_UNREACHABLE 
ICMP_DU_FRAGMENTATION_NEEDED 
ICMP_DU_SOURCE_ROUTE_FAILED 
ICMP_DU_DESTINATION_NETWORK_UNKNOWN 
ICMP_DU_DESTINATION_HOST_UNKNOWN 
ICMP_DU_SOURCE_HOST_ISOLATED 
ICMP_DU_NETWORK_PROHIBITED 
ICMP_DU_HOST_PROHIBITED 
ICMP_DU_NETWORK_UNREACHABLE_FOR_TYPE_OF_SERVICE 
ICMP_DU_HOST_UNREACHABLE_FOR_TYPE_OF_SERVICE 
ICMP_DU_COMMUNICATION_PROHIBITED 
ICMP_DU_HOST_PRECEDENCE_VIOLATION 
ICMP_DU_PRECEDENCE_CUTOFF_IN_EFFECT 
ICMP_AODV_QUEUE_FULL 

Definition at line 26 of file ICMPMessage_m.h.

enum ICMPType

Enum generated from networklayer/ipv4/ICMPMessage.msg by opp_msgc.

 enum ICMPType
 {
     ICMP_DESTINATION_UNREACHABLE = 13;
     ICMP_REDIRECT = 5;
     ICMP_TIME_EXCEEDED = 11;
     ICMP_PARAMETER_PROBLEM = 12;
     ICMP_ECHO_REQUEST = 128;
     ICMP_ECHO_REPLY = 129;
     ICMP_TIMESTAMP_REQUEST = 130;
     ICMP_TIMESTAMP_REPLY = 131;
 }
 
Enumerator:
ICMP_DESTINATION_UNREACHABLE 
ICMP_REDIRECT 
ICMP_TIME_EXCEEDED 
ICMP_PARAMETER_PROBLEM 
ICMP_ECHO_REQUEST 
ICMP_ECHO_REPLY 
ICMP_TIMESTAMP_REQUEST 
ICMP_TIMESTAMP_REPLY 

Definition at line 68 of file ICMPMessage_m.h.


Function Documentation

void doPacking ( cCommBuffer *  b,
ICMPMessage obj 
) [inline]

Definition at line 118 of file ICMPMessage_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
ICMPMessage obj 
) [inline]

Definition at line 119 of file ICMPMessage_m.h.

{obj.parsimUnpack(b);}