namespace {
template <isc::util::DhcpSpace D>
-struct adapter_Pkt {};
+struct AdapterPkt {};
template <>
-struct adapter_Pkt<isc::util::DHCPv4> {
+struct AdapterPkt<isc::util::DHCPv4> {
using type = Pkt4;
};
template <>
-struct adapter_Pkt<isc::util::DHCPv6> {
+struct AdapterPkt<isc::util::DHCPv6> {
using type = Pkt6;
};
} // namespace
template <isc::util::DhcpSpace D>
-using PktT = typename adapter_Pkt<D>::type;
+using PktT = typename AdapterPkt<D>::type;
template <isc::util::DhcpSpace D>
using PktTPtr = boost::shared_ptr<PktT<D>>;
namespace {
template <isc::util::DhcpSpace D>
-struct adapter_Lease {};
+struct AdapterLease {};
template <>
-struct adapter_Lease<isc::util::DHCPv4> {
+struct AdapterLease<isc::util::DHCPv4> {
using type = Lease4;
};
template <>
-struct adapter_Lease<isc::util::DHCPv6> {
+struct AdapterLease<isc::util::DHCPv6> {
using type = Lease6;
};
} // namespace
template <isc::util::DhcpSpace D>
-using LeaseT = typename adapter_Lease<D>::type;
+using LeaseT = typename AdapterLease<D>::type;
template <isc::util::DhcpSpace D>
using LeaseTPtr = boost::shared_ptr<LeaseT<D>>;
namespace {
template <isc::util::DhcpSpace D>
-struct adapter_Subnet {};
+struct AdapterSubnet {};
template <>
-struct adapter_Subnet<isc::util::DHCPv4> {
+struct AdapterSubnet<isc::util::DHCPv4> {
using type = Subnet4;
};
template <>
-struct adapter_Subnet<isc::util::DHCPv6> {
+struct AdapterSubnet<isc::util::DHCPv6> {
using type = Subnet6;
};
} // namespace
template <isc::util::DhcpSpace D>
-using SubnetT = typename adapter_Subnet<D>::type;
+using SubnetT = typename AdapterSubnet<D>::type;
template <isc::util::DhcpSpace D>
using SubnetTPtr = boost::shared_ptr<SubnetT<D>>;