Kea 2.7.5
dhcp_space.h File Reference
#include <string>
#include <boost/algorithm/string/replace.hpp>
+ Include dependency graph for dhcp_space.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::util
 

Enumerations

enum  isc::util::DhcpSpace { isc::util::DHCPv4 , isc::util::DHCPv6 }
 

Functions

template<DhcpSpace D>
char const * isc::util::cStringDhcpSpace ()
 Provides the C string representation of the DHCP space.
 
template<DhcpSpace D>
std::string isc::util::formatDhcpSpace (char const *const format_string)
 Replaces all occurrences of {} with 4 or 6 based on the templated DHCP space.