EncapsulationProtocolReq

EncapsulationProtocolReq

class

C++ definition

This request determines the expected protocol encapsulation order of the packet. If this tag is attached to a packet, then the first encapsulation protocol specifies the next dispatch protocol. Otherwise the individual protocol modules are expected to request dispatching to their default following encapsulation protocol.

Inheritance diagram

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

Extends

Name Type Description
ProtocolListTagBase class

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

Fields

Name Type Description
protocol Protocol[]

specifies a list of protocols (internal class with an artificial identifier)

Source code

//
// This request determines the expected protocol encapsulation order of the
// packet. If this tag is attached to a packet, then the first encapsulation
// protocol specifies the next dispatch protocol. Otherwise the individual
// protocol modules are expected to request dispatching to their default
// following encapsulation protocol.
//
class EncapsulationProtocolReq extends ProtocolListTagBase
{
}

File: src/inet/common/ProtocolTag.msg