#include <AckLinkFrame.h>
Public Member Functions | |
AckLinkFrame (unsigned char *source, unsigned char *confirmer_mac, unsigned char *dest, uint32_t frame_id, std::string hostname, uint8_t type) | |
AckLinkFrame (unsigned char *buffer) | |
std::string | getFrameAsNetworkString () |
void | print_frame () |
virtual | ~AckLinkFrame () |
Public Attributes | |
uint16_t | buffer_str_len_ |
bool | cr_flag_ |
struct ack_lf_header | header_ |
std::string | hostname_source_ |
bool | pos_ack_flag_ |
Static Public Attributes | |
static uint32_t | HEADER_FIXED_LEN = sizeof(eh_header) + sizeof(ack_lf_header) |
Definition at line 49 of file AckLinkFrame.h.
AckLinkFrame::AckLinkFrame | ( | unsigned char * | source, |
unsigned char * | confirmer_mac, | ||
unsigned char * | dest, | ||
uint32_t | frame_id, | ||
std::string | hostname, | ||
uint8_t | type | ||
) |
AckLinkFrame::AckLinkFrame | ( | unsigned char * | buffer | ) |
Definition at line 37 of file AckLinkFrame.cpp.
AckLinkFrame::~AckLinkFrame | ( | ) | [virtual] |
Definition at line 84 of file AckLinkFrame.cpp.
std::string AckLinkFrame::getFrameAsNetworkString | ( | ) |
Definition at line 89 of file AckLinkFrame.cpp.
void AckLinkFrame::print_frame | ( | ) |
Definition at line 139 of file AckLinkFrame.cpp.
uint16_t AckLinkFrame::buffer_str_len_ |
Definition at line 63 of file AckLinkFrame.h.
Definition at line 61 of file AckLinkFrame.h.
Definition at line 57 of file AckLinkFrame.h.
uint32_t AckLinkFrame::HEADER_FIXED_LEN = sizeof(eh_header) + sizeof(ack_lf_header) [static] |
Definition at line 65 of file AckLinkFrame.h.
std::string AckLinkFrame::hostname_source_ |
Definition at line 58 of file AckLinkFrame.h.
Definition at line 60 of file AckLinkFrame.h.