Packet BGPHeader

File: src/inet/routing/bgpv4/BGPMessage/BGPHeader.msg

C++ definition

Represents a BGPv4 message header.

Header fields modeled:

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Known subclasses:

Name Type Description
BGPKeepAliveMessage packet

Represents a BGPv4 KEEPALIVE message.

BGPOpenMessage packet

Represents a BGPv4 OPEN message.

BGPUpdateMessage packet

Represents a BGPv4 UPDATE message.

Fields:

Name Type Description
byteLength
type char

Source code:

//
// Represents a BGPv4 message header.
//
// Header fields modeled:
//   - Marker: 16 octets (authentication)
//   - Length: 2 octets  (total size of the message)
//   - Type: 1 octet
//
packet BGPHeader
{
    byteLength = BGP_HEADER_OCTETS;
    char type @enum(BGPType);
}