BgpAsPathSegment

Namespace: inet::bgp

class BgpAsPathSegment

Represents a BGPv4 AS_PATH path attribute (RFC 4271 Section 4.3)

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

cObject

(unknown – not in documented files)

Fields

Name

Type

Description

type

BgpPathSegmentType

length

uint8_t

asValue

uint16_t[]

Properties

Name

Value

Description

packetData

Source code

//
// Represents a BGPv4 AS_PATH path attribute (RFC 4271 Section 4.3)
//
class BgpAsPathSegment extends cObject
{
    @packetData;
    BgpPathSegmentType type;
    uint8_t length;
    uint16_t asValue[];
}

File: src/inet/routing/bgpv4/bgpmessage/BgpHeader.msg