Kea  1.9.9-git
user_chk.h File Reference
#include <user_registry.h>
#include <fstream>
#include <string>
+ Include dependency graph for user_chk.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const char * default_user4_id_str
 Text id used to identify the default IPv4 user in the registry. More...
 
const char * default_user6_id_str
 Text id used to identify the default IPv6 user in the registry. More...
 
const char * query_user_id_label
 Text label of user id in the inbound query in callout context. More...
 
const char * registered_user_label
 Text label of registered user pointer in callout context. More...
 
const char * registry_fname
 User registry input file name. More...
 
std::fstream user_chk_output
 Output filestream for recording user check outcomes. More...
 
const char * user_chk_output_fname
 User check outcome file name. More...
 
user_chk::UserRegistryPtr user_registry
 Pointer to the registry instance. More...
 

Variable Documentation

const char* default_user4_id_str

Text id used to identify the default IPv4 user in the registry.

Text id used to identify the default IPv4 user in the registry.

This value is to look up the default IPv4 user in the user registry for the the purpose of retrieving default values for user options.

Definition at line 47 of file load_unload.cc.

Referenced by getDefaultUser4().

const char* default_user6_id_str

Text id used to identify the default IPv6 user in the registry.

Text id used to identify the default IPv6 user in the registry.

This value is to look up the default IPv6 user in the user registry for the the purpose of retrieving default values for user options.

Definition at line 53 of file load_unload.cc.

Referenced by getDefaultUser6().

const char* query_user_id_label

Text label of user id in the inbound query in callout context.

Definition at line 38 of file load_unload.cc.

Referenced by pkt4_receive(), pkt4_send(), pkt6_receive(), and pkt6_send().

const char* registered_user_label

Text label of registered user pointer in callout context.

Definition at line 41 of file load_unload.cc.

Referenced by pkt4_receive(), pkt4_send(), pkt6_receive(), pkt6_send(), subnet4_select(), and subnet6_select().

const char* registry_fname

User registry input file name.

Todo:
Hard-coded for now, this should be configurable.

Definition at line 31 of file load_unload.cc.

Referenced by load().

std::fstream user_chk_output

Output filestream for recording user check outcomes.

Definition at line 27 of file load_unload.cc.

Referenced by generate_output_record(), load(), and unload().

const char* user_chk_output_fname

User check outcome file name.

Todo:
Hard-coded for now, this should be configurable.

Definition at line 35 of file load_unload.cc.

Referenced by load().

Pointer to the registry instance.

Definition at line 24 of file load_unload.cc.

Referenced by getDefaultUser4(), getDefaultUser6(), load(), pkt4_receive(), pkt6_receive(), subnet4_select(), subnet6_select(), and unload().