60 virtual ssize_t
parse(
const uint8_t *from,
size_t msg_sz) = 0;
75 virtual ssize_t
write(uint8_t *to,
size_t buf_sz)
const = 0;
BgpMessage(BgpLogHandler *logger)
Construct a new Bgp Message object.
BgpMessageType
BGP Message types.
The serializable base class.
The BgpMessage base class.
virtual ssize_t write(uint8_t *to, size_t buf_sz) const =0
Serialize a BGP message body.
virtual ssize_t parse(const uint8_t *from, size_t msg_sz)=0
Deserialize a BGP message body.