#include <bgp_proto.h>
|
| static std::string | BgpPeerTypeString (BgpPeerType peer_type) |
| |
| static BgpMessage * | Decode (const uint8_t *data, size_t size, ParseErrorContext *ec=NULL, bool as4=false) |
| |
| static int | Encode (const BgpMessage *msg, uint8_t *data, size_t size, EncodeOffsets *offsets=NULL, bool as4=false) |
| |
| static int | Encode (const BgpMpNlri *msg, uint8_t *data, size_t size, EncodeOffsets *offsets=NULL) |
| |
Definition at line 19 of file bgp_proto.h.
◆ BgpPeerType
◆ MessageType
| Enumerator |
|---|
| OPEN | |
| UPDATE | |
| NOTIFICATION | |
| KEEPALIVE | |
Definition at line 21 of file bgp_proto.h.
◆ BgpPeerTypeString()
| static std::string BgpProto::BgpPeerTypeString |
( |
BgpPeerType |
peer_type | ) |
|
|
inlinestatic |
◆ Decode()
◆ Encode() [1/2]
| int BgpProto::Encode |
( |
const BgpMessage * |
msg, |
|
|
uint8_t * |
data, |
|
|
size_t |
size, |
|
|
EncodeOffsets * |
offsets = NULL, |
|
|
bool |
as4 = false |
|
) |
| |
|
static |
◆ Encode() [2/2]
◆ kMaxMessageSize
| const int BgpProto::kMaxMessageSize = 4096 |
|
static |
◆ kMinMessageSize
| const int BgpProto::kMinMessageSize = 19 |
|
static |
The documentation for this class was generated from the following files: