Packet GenericDatagram

File: src/inet/networklayer/generic/GenericDatagram.msg

C++ definition

Represents a generic network datagram with generic network addresses.

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
sourceAddress L3Address
destinationAddress L3Address
transportProtocol int
hopLimit short
tlvOptions TLVOptions

Source code:

//
// Represents a generic network datagram with generic network addresses. 
//
packet GenericDatagram
{
    @customize(true);
    L3Address sourceAddress @getter(_getSrcAddr);
    L3Address destinationAddress @getter(_getDestAddr);
    int transportProtocol @enum(IPProtocolId) = IP_PROT_NONE;
    short hopLimit;
    TLVOptions tlvOptions;
}