BgpUpdateNlri

Namespace: inet::bgp

struct BgpUpdateNlri

(no description)

Usage diagram

Fields

Name

Type

Description

length

uint8_t

length of prefix in bits, 1 octet

prefix

Ipv4Address

1-4 octets, based on length ((length + 7) / 8)

Properties

Name

Value

Description

packetData

uint32_t pathIdentifier // specified in RFC 7911, optional 4 octets, wireshark detect existing of this field with heuristical algorithm

Source code

struct BgpUpdateNlri
{
    @packetData;
    // uint32_t pathIdentifier      // specified in RFC 7911, optional 4 octets, wireshark detect existing of this field with heuristical algorithm
    uint8_t length = 0; // length of prefix in bits, 1 octet
    Ipv4Address prefix; // 1-4 octets, based on length ((length + 7) / 8)
}

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