|
join 1.0
lightweight network framework library
|
dynamic host configuration protocol class. More...
#include <dhcp_protocol.hpp>
Public Types | |
| using | Transport = Raw |
| using | Endpoint = typename Transport::Endpoint |
| using | Socket = typename Transport::Socket |
| using | Client = BasicDhcpClient<Dhcp> |
| using | Server = BasicDhcpServer<Dhcp> |
Public Member Functions | |
| constexpr | Dhcp () noexcept=default |
| construct the DHCP protocol instance. | |
| constexpr int | family () const noexcept |
| get the protocol IP address family. | |
| constexpr int | type () const noexcept |
| get the protocol communication semantic. | |
| constexpr int | protocol () const noexcept |
| get the protocol type. | |
Static Public Attributes | |
| static constexpr uint16_t | clientPort = 68 |
| port a client listens on. | |
| static constexpr uint16_t | serverPort = 67 |
| port a server listens on. | |
| static constexpr size_t | maxMsgSize = 1472 |
| maximum DHCP message size. | |
dynamic host configuration protocol class.
| using join::Dhcp::Client = BasicDhcpClient<Dhcp> |
| using join::Dhcp::Endpoint = typename Transport::Endpoint |
| using join::Dhcp::Server = BasicDhcpServer<Dhcp> |
| using join::Dhcp::Socket = typename Transport::Socket |
| using join::Dhcp::Transport = Raw |
|
constexprdefaultnoexcept |
construct the DHCP protocol instance.
|
inlineconstexprnoexcept |
get the protocol IP address family.
|
inlineconstexprnoexcept |
get the protocol type.
|
inlineconstexprnoexcept |
get the protocol communication semantic.
|
staticconstexpr |
port a client listens on.
|
staticconstexpr |
maximum DHCP message size.
|
staticconstexpr |
port a server listens on.