NetworkProtocolInd¶
Namespace: inet
class NetworkProtocolInd
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¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
This is an abstract base class that should not be directly added as a tag. |
Fields¶
Name |
Type |
Description |
|---|---|---|
protocol |
const Protocol * |
specifies a protocol (internal class with an artificial identifier) |
networkProtocolHeader |
||
networkHeaderFrontOffset |
front offset where the network header starts in the packet |
Properties¶
Name |
Value |
Description |
|---|---|---|
existingClass |
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;
b networkHeaderFrontOffset = b(-1); // front offset where the network header starts in the packet
}