Kea 2.5.8
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
15namespace isc {
16namespace dhcp {
17
25
26
33
35
36
41
49 std::string iface_name_;
50
53
58 : ciaddr_(asiolink::IOAddress("0.0.0.0")),
59 giaddr_(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
Defines elements for storing the names of client classes.
Container for storing client class names.
Definition: classify.h:108
boost::shared_ptr< Option > OptionPtr
Definition: option.h:37
Defines the logger used by the top-level component of kea-lfc.
Subnet selector used to specify parameters used to select a subnet.
asiolink::IOAddress local_address_
Address on which the message was received.
bool dhcp4o6_
Specifies if the packet is DHCP4o6.
asiolink::IOAddress option_select_
RAI link select or subnet select option.
std::string iface_name_
Name of the interface on which the message was received.
SubnetSelector()
Default constructor.
asiolink::IOAddress ciaddr_
ciaddr from the client's message.
ClientClasses client_classes_
Classes that the client belongs to.
asiolink::IOAddress remote_address_
Source address of the message.
OptionPtr interface_id_
Interface id option.
asiolink::IOAddress first_relay_linkaddr_
First relay link address.
asiolink::IOAddress giaddr_
giaddr from the client's message.