NetworkProtocolInd

NetworkProtocolInd

class

This indication specifies the network protocol that was used to receive the packet. It may be present from the network protocol to the application.

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.

Extends

Name Type Description
ProtocolTagBase class

This is an abstract base class that should not be directly added as a tag.

Fields

Name Type Description
networkProtocolHeader ChunkPtr
protocol Protocol

specifies a protocol (internal class with an artificial identifier)

Source code

//
// This indication specifies the network protocol that was used to receive the
// packet. It may be present from the network protocol to the application.
//
class NetworkProtocolInd extends ProtocolTagBase
{
    ChunkPtr networkProtocolHeader = nullptr;
}

File: src/inet/common/ProtocolTag.msg