Kea  1.9.9-git
subnet_selector.h
Go to the documentation of this file.
1 // Copyright (C) 2014-2016 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 #ifndef SUBNET_SELECTOR_H
8 #define SUBNET_SELECTOR_H
9 
10 #include <asiolink/io_address.h>
11 #include <dhcp/classify.h>
12 #include <dhcp/option.h>
13 #include <string>
14 
15 namespace isc {
16 namespace dhcp {
17 
25 
33 
35 
41 
49  std::string iface_name_;
50 
52  bool dhcp4o6_;
53 
58  : ciaddr_(asiolink::IOAddress("0.0.0.0")),
59  giaddr_(asiolink::IOAddress("0.0.0.0")),
60  option_select_(asiolink::IOAddress("0.0.0.0")),
61  interface_id_(),
62  first_relay_linkaddr_(asiolink::IOAddress("::")),
63  local_address_(asiolink::IOAddress("0.0.0.0")),
64  remote_address_(asiolink::IOAddress("0.0.0.0")),
65  client_classes_(), iface_name_(std::string()),
66  dhcp4o6_(false) {
67  }
68 };
69 
70 
71 }
72 }
73 
74 #endif // SUBNET_SELECTOR_H
asiolink::IOAddress ciaddr_
ciaddr from the client's message.
asiolink::IOAddress remote_address_
Source address of the message.
asiolink::IOAddress option_select_
RAI link select or subnet select option.
Defines elements for storing the names of client classes.
OptionPtr interface_id_
Interface id option.
boost::shared_ptr< Option > OptionPtr
Definition: option.h:36
STL namespace.
asiolink::IOAddress giaddr_
giaddr from the client's message.
ClientClasses client_classes_
Classes that the client belongs to.
asiolink::IOAddress first_relay_linkaddr_
First relay link address.
Subnet selector used to specify parameters used to select a subnet.
asiolink::IOAddress local_address_
Address on which the message was received.
Defines the logger used by the top-level component of kea-dhcp-ddns.
SubnetSelector()
Default constructor.
std::string iface_name_
Name of the interface on which the message was received.
bool dhcp4o6_
Specifies if the packet is DHCP4o6.
Container for storing client class names.
Definition: classify.h:43