MacProtocolInd

Namespace: inet

class MacProtocolInd

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

Usage diagram

Inheritance 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

protocol

const Protocol *

specifies a protocol (internal class with an artificial identifier)

macProtocolHeader

ChunkPtr

Properties

Name

Value

Description

existingClass

Source code

//
// This indication specifies the mac protocol that was used to receive the
// packet. It may be present from the mac protocol to the application.
//
class MacProtocolInd extends ProtocolTagBase
{
    ChunkPtr macProtocolHeader;
}

File: src/inet/common/ProtocolTag.msg