NextHopForwardingHeader

Namespace: inet

class NextHopForwardingHeader

Next hop forwarding datagram header using generic network addresses.

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

NetworkHeaderBase

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

sourceAddress

L3Address

destinationAddress

L3Address

protocol

const Protocol *

srcAddr

L3Address

destAddr

L3Address

protocolId

IpProtocolId

hopLimit

short

payloadLengthField

B

tlvOptions

TlvOptions

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Next hop forwarding datagram header using generic network addresses.
//
class NextHopForwardingHeader extends NetworkHeaderBase
{
    L3Address srcAddr;
    L3Address destAddr;
    IpProtocolId protocolId = IP_PROT_NONE;
    short hopLimit;
    B payloadLengthField;
    TlvOptions tlvOptions;
}

File: src/inet/networklayer/nexthop/NextHopForwardingHeader.msg