Kea 2.7.4
|
structure that describes a single relay information More...
#include <pkt6.h>
Public Member Functions | |
RelayInfo () | |
default constructor | |
std::string | toText () const |
Returns printable representation of the relay information. | |
Public Attributes | |
uint8_t | hop_count_ |
number of traversed relays (up to 32) | |
isc::asiolink::IOAddress | linkaddr_ |
fixed field in relay-forw/relay-reply | |
uint8_t | msg_type_ |
message type (RELAY-FORW oro RELAY-REPL) | |
isc::dhcp::OptionCollection | options_ |
options received from a specified relay, except relay-msg option | |
isc::asiolink::IOAddress | peeraddr_ |
fixed field in relay-forw/relay-reply | |
uint16_t | relay_msg_len_ |
length of the relay_msg_len Used when calculating length during pack/unpack | |
structure that describes a single relay information
Client sends messages. Each relay along its way will encapsulate the message. This structure represents all information added by a single relay.
isc::dhcp::Pkt6::RelayInfo::RelayInfo | ( | ) |
std::string isc::dhcp::Pkt6::RelayInfo::toText | ( | ) | const |
Returns printable representation of the relay information.
Definition at line 40 of file pkt6.cc.
References isc::dhcp::Pkt6::getName(), isc::dhcp::Pkt6::msg_type_, and isc::dhcp::Pkt::options_.
uint8_t isc::dhcp::Pkt6::RelayInfo::hop_count_ |
isc::asiolink::IOAddress isc::dhcp::Pkt6::RelayInfo::linkaddr_ |
uint8_t isc::dhcp::Pkt6::RelayInfo::msg_type_ |
message type (RELAY-FORW oro RELAY-REPL)
Definition at line 94 of file pkt6.h.
Referenced by isc::dhcp::Pkt6::copyRelayInfo(), isc::perfdhcp::TestControl::setDefaults6(), and isc::dhcp::Pkt6::unpackRelayMsg().
isc::dhcp::OptionCollection isc::dhcp::Pkt6::RelayInfo::options_ |
isc::asiolink::IOAddress isc::dhcp::Pkt6::RelayInfo::peeraddr_ |
uint16_t isc::dhcp::Pkt6::RelayInfo::relay_msg_len_ |