libbgp  0.6
A C++ BGP Library.
bgp-keepalive-message.h
Go to the documentation of this file.
1 
11 #ifndef BGP_KEEPALIVE_MSG_H_
12 #define BGP_KEEPALIVE_MSG_H_
13 
14 #include "bgp-message.h"
15 #include "bgp-log-handler.h"
16 #include <stdint.h>
17 
18 namespace libbgp {
19 
28 public:
30 
31  ssize_t doPrint(size_t indent, uint8_t **to, size_t *buf_sz) const;
32  ssize_t parse(const uint8_t *from, size_t msg_sz);
33  ssize_t write(uint8_t *to, size_t buf_sz) const;
34 };
35 
36 }
37 
38 #endif // BGP_KEEPALIVE_MSG_H_
BgpKeepaliveMessage(BgpLogHandler *logger)
Construct a new Bgp Keepalive Message:: Bgp Keepalive Message object.
ssize_t write(uint8_t *to, size_t buf_sz) const
Serialize a BGP message body.
The BGP Message base.
ssize_t doPrint(size_t indent, uint8_t **to, size_t *buf_sz) const
Print implementation.
The BgpMessage base class.
Definition: bgp-message.h:35
The BgpKeepaliveMessage class.
Definition: bgp-afi.h:14
The BgpLogHandler class.
BGP log handler.
ssize_t parse(const uint8_t *from, size_t msg_sz)
Deserialize a BGP message body.