Kea: bootp_messages.cc Source File

| Kea 2.2.0

bootp_messages.cc
Go to the documentation of this file.
1// File created from ../../../../src/hooks/dhcp/bootp/bootp_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7extern const isc::log::MessageID BOOTP_BOOTP_QUERY = "BOOTP_BOOTP_QUERY";
8extern const isc::log::MessageID BOOTP_LOAD = "BOOTP_LOAD";
9extern const isc::log::MessageID BOOTP_PACKET_OPTIONS_SKIPPED = "BOOTP_PACKET_OPTIONS_SKIPPED";
10extern const isc::log::MessageID BOOTP_PACKET_PACK = "BOOTP_PACKET_PACK";
11extern const isc::log::MessageID BOOTP_PACKET_PACK_FAIL = "BOOTP_PACKET_PACK_FAIL";
12extern const isc::log::MessageID BOOTP_PACKET_UNPACK_FAILED = "BOOTP_PACKET_UNPACK_FAILED";
13extern const isc::log::MessageID BOOTP_UNLOAD = "BOOTP_UNLOAD";
14
15namespace {
16
17const char* values[] = {
18 "BOOTP_BOOTP_QUERY", "recognized a BOOTP query: %1",
19 "BOOTP_LOAD", "Bootp hooks library has been loaded",
20 "BOOTP_PACKET_OPTIONS_SKIPPED", "an error unpacking an option, caused subsequent options to be skipped: %1",
21 "BOOTP_PACKET_PACK", "%1: preparing on-wire format of the packet to be sent",
22 "BOOTP_PACKET_PACK_FAIL", "%1: preparing on-wire-format of the packet to be sent failed %2",
23 "BOOTP_PACKET_UNPACK_FAILED", "failed to parse query from %1 to %2, received over interface %3, reason: %4",
24 "BOOTP_UNLOAD", "Bootp hooks library has been unloaded",
25 NULL
26};
27
28const isc::log::MessageInitializer initializer(values);
29
30} // Anonymous namespace
31
BOOTP_LOAD
const isc::log::MessageID BOOTP_LOAD
BOOTP_PACKET_UNPACK_FAILED
const isc::log::MessageID BOOTP_PACKET_UNPACK_FAILED
BOOTP_PACKET_PACK
const isc::log::MessageID BOOTP_PACKET_PACK
BOOTP_UNLOAD
const isc::log::MessageID BOOTP_UNLOAD
BOOTP_PACKET_OPTIONS_SKIPPED
const isc::log::MessageID BOOTP_PACKET_OPTIONS_SKIPPED
BOOTP_BOOTP_QUERY
const isc::log::MessageID BOOTP_BOOTP_QUERY
BOOTP_PACKET_PACK_FAIL
const isc::log::MessageID BOOTP_PACKET_PACK_FAIL
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition: message_initializer.h:72
message_initializer.h
message_types.h
isc::log::MessageID
const char * MessageID
Definition: message_types.h:15