BgpUpdateNlri

Namespace inet::bgp

BgpUpdateNlri

struct

(no description)

Fields

Name Type Description
length uint8_t

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

prefix Ipv4Address

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

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