11 #ifndef BGP_BAD_MSG_H_ 12 #define BGP_BAD_MSG_H_ 28 ssize_t
doPrint(
size_t indent, uint8_t **to,
size_t *buf_sz)
const;
29 ssize_t
parse(
const uint8_t *from,
size_t msg_sz);
30 ssize_t
write(uint8_t *to,
size_t buf_sz)
const;
35 #endif // BGP_BAD_MSG_H_
ssize_t write(uint8_t *to, size_t buf_sz) const
Serialize a BGP message body.
BgpBadMessage(BgpLogHandler *logger, uint8_t type)
Construct a new Bgp Bad Message:: Bgp Bad Message object.
ssize_t parse(const uint8_t *from, size_t msg_sz)
Deserialize a BGP message body.
The BgpMessage base class.
ssize_t doPrint(size_t indent, uint8_t **to, size_t *buf_sz) const
Print implementation.