EncapsulationProtocolReq

Namespace: inet

class EncapsulationProtocolReq

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

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

const Protocol *[]

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

Properties

Name

Value

Description

existingClass

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