Kea  1.9.9-git
classify.h File Reference

Defines elements for storing the names of client classes. More...

#include <string>
#include <iterator>
#include <list>
#include <unordered_set>
+ Include dependency graph for classify.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::dhcp::ClientClasses
 Container for storing client class names. More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-dhcp-ddns.
 
 isc::dhcp
 

Typedefs

typedef std::string isc::dhcp::ClientClass
 Defines a single class name. More...
 

Detailed Description

Defines elements for storing the names of client classes.

This file defines common elements used to track the client classes that may be associated with a given packet. In order to minimize the exposure of the DHCP library to server side concepts such as client classification the classes herein provide a mechanism to maintain lists of class names, rather than the classes they represent. It is the upper layers' prerogative to use these names as they see fit.

Todo:
This file should be moved to dhcpsrv eventually as the classification is server side concept. Client has no notion of classifying incoming server messages as it usually talks to only one server. That move is not possible yet, as the Pkt4 and Pkt6 classes have server-side implementation, even though they reside in the dhcp directory.

Definition in file classify.h.