Kea 2.7.5
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.
 
const char * default_user6_id_str
 Text id used to identify the default IPv6 user in the registry.
 
const char * query_user_id_label
 Text label of user id in the inbound query in callout context.
 
const char * registered_user_label
 Text label of registered user pointer in callout context.
 
const char * registry_fname
 User registry input file name.
 
std::fstream user_chk_output
 Output filestream for recording user check outcomes.
 
const char * user_chk_output_fname
 User check outcome file name.
 
user_chk::UserRegistryPtr user_registry
 Pointer to the registry instance.
 

Variable Documentation

◆ default_user4_id_str

const char* default_user4_id_str
extern

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().

◆ default_user6_id_str

const char* default_user6_id_str
extern

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().

◆ query_user_id_label

const char* query_user_id_label
extern

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().

◆ registered_user_label

const char* registered_user_label
extern

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().

◆ registry_fname

const char* registry_fname
extern

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().

◆ user_chk_output

std::fstream user_chk_output
extern

Output filestream for recording user check outcomes.

Definition at line 27 of file load_unload.cc.

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

◆ user_chk_output_fname

const char* user_chk_output_fname
extern

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().

◆ user_registry

user_chk::UserRegistryPtr user_registry
extern

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().