#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.
Enumerator |
---|
OPEN |
|
UPDATE |
|
NOTIFICATION |
|
KEEPALIVE |
|
Definition at line 21 of file bgp_proto.h.
static std::string BgpProto::BgpPeerTypeString |
( |
BgpPeerType |
peer_type | ) |
|
|
inlinestatic |
int BgpProto::Encode |
( |
const BgpMessage * |
msg, |
|
|
uint8_t * |
data, |
|
|
size_t |
size, |
|
|
EncodeOffsets * |
offsets = NULL , |
|
|
bool |
as4 = false |
|
) |
| |
|
static |
const int BgpProto::kMaxMessageSize = 4096 |
|
static |
const int BgpProto::kMinMessageSize = 19 |
|
static |
The documentation for this class was generated from the following files: