Kea
1.5.0
dns/exceptions.cc
Go to the documentation of this file.
1
// Copyright (C) 2010-2015 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#include <config.h>
8
9
#include <
dns/exceptions.h
>
10
#include <
dns/rcode.h
>
11
12
namespace
isc
{
13
namespace
dns {
14
15
const
Rcode&
16
DNSMessageFORMERR::getRcode
()
const
{
17
return
(
Rcode::FORMERR
());
18
}
19
20
const
Rcode
&
21
DNSMessageBADVERS::getRcode
()
const
{
22
return
(
Rcode::BADVERS
());
23
}
24
25
}
// end of namespace dns
26
}
// end of namespace isc
isc::dns::Rcode::BADVERS
static const Rcode & BADVERS()
A constant object for the BADVERS Rcode (see Rcode::BADVERS_CODE).
Definition:
rcode.h:316
isc::dns::DNSMessageFORMERR::getRcode
virtual const Rcode & getRcode() const
Definition:
dns/exceptions.cc:16
exceptions.h
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::dns::Rcode::FORMERR
static const Rcode & FORMERR()
A constant object for the FORMERR Rcode (see Rcode::FORMERR_CODE).
Definition:
rcode.h:226
rcode.h
isc::dns::DNSMessageBADVERS::getRcode
virtual const Rcode & getRcode() const
Definition:
dns/exceptions.cc:21
isc::dns::Rcode
DNS Response Codes (RCODEs) class.
Definition:
rcode.h:40
src
lib
dns
exceptions.cc
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18