EpcTools
An event based multi-threaded C++ development framework.
|
Provides several utilities for manipulating names, services and protocols. More...
#include <epcdns.h>
Static Public Member Functions | |
static EString | home_network (const char *mnc, const char *mcc) |
Constructs the home network domain name. More... | |
static EString | home_network (const unsigned char *plmnid) |
Constructs the home network domain name. More... | |
static EString | home_network_gprs (const char *mnc, const char *mcc) |
Constructs the APN operator identifier. More... | |
static EString | home_network_gprs (const unsigned char *plmnid) |
Constructs the APN operator identifier. More... | |
static EString | tai_fqdn (const char *lb, const char *hb, const char *mnc, const char *mcc) |
Constructs the tracking area identity FQDN. More... | |
static EString | tai_fqdn (const char *lb, const char *hb, const unsigned char *plmnid) |
Constructs the tracking area identity FQDN. More... | |
static EString | mme_fqdn (const char *mmec, const char *mmegi, const char *mnc, const char *mcc) |
Constructs the mobile management entity (MME) FQDN. More... | |
static EString | mme_fqdn (const char *mmec, const char *mmegi, const unsigned char *plmnid) |
Constructs the mobile management entity (MME) FQDN. More... | |
static EString | mme_pool_fqdn (const char *mmegi, const char *mnc, const char *mcc) |
Constructs the MME pool FQDN. More... | |
static EString | mme_pool_fqdn (const char *mmegi, const unsigned char *plmnid) |
Constructs the MME pool FQDN. More... | |
static EString | rai_fqdn (const char *rac, const char *lac, const char *mnc, const char *mcc) |
Constructs the routing area identity (RAI) FQDN. More... | |
static EString | rai_fqdn (const char *rac, const char *lac, const unsigned char *plmnid) |
Constructs the routing area identity (RAI) FQDN. More... | |
static EString | rnc_fqdn (const char *rnc, const char *mnc, const char *mcc) |
Constructs the radio network controller (RNC) FQDN. More... | |
static EString | rnc_fqdn (const char *rnc, const unsigned char *plmnid) |
Constructs the radio network controller (RNC) FQDN. More... | |
static EString | sgsn_fqdn (const char *nri, const char *rac, const char *lac, const char *mnc, const char *mcc) |
Constructs the serving GPRS support node (SGSN) FQDN. More... | |
static EString | sgsn_fqdn (const char *nri, const char *rac, const char *lac, const unsigned char *plmnid) |
Constructs the serving GPRS support node (SGSN) FQDN. More... | |
static EString | epc_nodes_domain_fqdn (const char *mnc, const char *mcc) |
Constructs the EPC nodes subdomain (DNS zone). More... | |
static EString | epc_nodes_domain_fqdn (const unsigned char *plmnid) |
Constructs the EPC nodes subdomain (DNS zone). More... | |
static EString | epc_node_fqdn (const char *node, const char *mnc, const char *mcc) |
Constructs the EPC node FQDN. More... | |
static EString | epc_node_fqdn (const char *node, const unsigned char *plmnid) |
Constructs the EPC node FQDN. More... | |
static EString | nonemergency_epdg_oi_fqdn (const char *mnc, const char *mcc) |
Constructs the operator identifier (OI) based ePDG FQDN. More... | |
static EString | nonemergency_epdg_oi_fqdn (const unsigned char *plmnid) |
Constructs the operator identifier (OI) based ePDG FQDN. More... | |
static EString | nonemergency_epdg_tai_fqdn (const char *lb, const char *hb, const char *mnc, const char *mcc) |
Constructs the tracking area identity based ePDG FQDN. More... | |
static EString | nonemergency_epdg_tai_fqdn (const char *lb, const char *hb, const unsigned char *plmnid) |
Constructs the tracking area identity based ePDG FQDN. More... | |
static EString | nonemergency_epdg_lac_fqdn (const char *lac, const char *mnc, const char *mcc) |
Constructs the location area code based ePDG FQDN. More... | |
static EString | nonemergency_epdg_lac_fqdn (const char *lac, const unsigned char *plmnid) |
Constructs the location area code based ePDG FQDN. More... | |
static EString | nonemergency_epdg_visitedcountry_fqdn (const char *mcc) |
Constructs the visited country FQDN. More... | |
static EString | nonemergency_epdg_visitedcountry_fqdn (const unsigned char *plmnid) |
Constructs the visited country FQDN. More... | |
static EString | emergency_epdg_oi_fqdn (const char *mnc, const char *mcc) |
Constructs the operator identifier (OI) based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_oi_fqdn (const unsigned char *plmnid) |
Constructs the operator identifier (OI) based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_tai_fqdn (const char *lb, const char *hb, const char *mnc, const char *mcc) |
Constructs the tracking area identity based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_tai_fqdn (const char *lb, const char *hb, const unsigned char *plmnid) |
Constructs the tracking area identity based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_lac_fqdn (const char *lac, const char *mnc, const char *mcc) |
Constructs the location area code based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_lac_fqdn (const char *lac, const unsigned char *plmnid) |
Constructs the location area code based emergency ePDG FQDN. More... | |
static EString | emergency_epdg_visitedcountry_fqdn (const char *mcc) |
Constructs the visited country emergency FQDN. More... | |
static EString | emergency_epdg_visitedcountry_fqdn (const unsigned char *plmnid) |
Constructs the visited country emergency FQDN. More... | |
static EString | global_enodeb_id_fqdn (const char *enb, const char *mnc, const char *mcc) |
Constructs the global eNodeB ID. More... | |
static EString | global_enodeb_id_fqdn (const char *enb, const unsigned char *plmnid) |
Constructs the global eNodeB ID. More... | |
static EString | local_homenetwork_fqdn (const char *lhn, const char *mcc) |
Constructs the local home network identifier. More... | |
static EString | local_homenetwork_fqdn (const char *lhn, const unsigned char *plmnid) |
Constructs the local home network identifier. More... | |
static EString | epc (const char *mnc, const char *mcc) |
Constructs the home network realm/domain name. More... | |
static EString | epc (const unsigned char *plmnid) |
Constructs the home network realm/domain name. More... | |
static EString | apn_fqdn (const char *apn, const char *mnc, const char *mcc) |
Constructs the APN FQDN. More... | |
static EString | apn_fqdn (const char *apn, const unsigned char *plmnid) |
Constructs the APN FQDN. More... | |
static EString | apn (const char *apn, const char *mnc, const char *mcc) |
Constructs the APN. More... | |
static EString | apn (const char *apn, const unsigned char *plmnid) |
Constructs the APN. More... | |
static AppServiceEnum | getAppService (const std::string &s) |
Retrieves the AppServiceEnum value for a given string. More... | |
static AppProtocolEnum | getAppProtocol (const std::string &p) |
Retrieves the AppProtocolEnum value for a given string. More... | |
static const char * | getAppService (AppServiceEnum s) |
Retrieves the string representation of the specified AppServiceEnum value. More... | |
static const char * | getAppProtocol (AppProtocolEnum proto) |
Retrieves the string representation of the specified AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (PGWAppProtocolEnum proto) |
Converts a PGWAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (SGWAppProtocolEnum proto) |
Converts a SGWAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (GGSNAppProtocolEnum proto) |
Converts a GGSNAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (SGSNAppProtocolEnum proto) |
Converts a SGSNAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (MMEAppProtocolEnum proto) |
Converts a MMEAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (MSCAppProtocolEnum proto) |
Converts a MSCAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (UPFAppProtocolEnum proto) |
Converts a UPFAppProtocolEnum to an AppProtocolEnum value. More... | |
static AppProtocolEnum | getAppProtocol (AMFAppProtocolEnum proto) |
Converts a AMFAppProtocolEnum to an AppProtocolEnum value. More... | |
static EString | diameter_fqdn (const char *mnc, const char *mcc) |
Constructs the Diameter FQDN. More... | |
static EString | diameter_fqdn (const unsigned char *plmnid) |
Constructs the Diameter FQDN. More... | |
static uint32_t | getDiameterApplication (DiameterApplicationEnum app) |
Converts a DiameterApplicationEnum to the corresponding Diameter application ID. More... | |
static const char * | getDiameterProtocol (DiameterProtocolEnum protocol) |
Converts a DiameterProtocolEnum to the corresponding Diameter protocol string. More... | |
static EString | getDiameterService (DiameterApplicationEnum app, DiameterProtocolEnum protocol) |
Constructs the Diameter service string. More... | |
Provides several utilities for manipulating names, services and protocols.
|
static |
Constructs the APN.
apn | the APN. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the APN.
apn | the APN. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the APN FQDN.
apn | APN. |
mnc | the mobile network code. |
mcc | the mcc mobile country code. |
|
static |
Constructs the APN FQDN.
apn | the APN. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the Diameter FQDN.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the Diameter FQDN.
plmnid | the public land mobile network ID. |
|
static |
Constructs the location area code based emergency ePDG FQDN.
lac | location area code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the location area code based emergency ePDG FQDN.
lac | location area code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the operator identifier (OI) based emergency ePDG FQDN.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the operator identifier (OI) based emergency ePDG FQDN.
plmnid | the public land mobile network ID. |
|
static |
Constructs the tracking area identity based emergency ePDG FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the tracking area identity based emergency ePDG FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the visited country emergency FQDN.
mcc | the mobile country code. |
|
static |
Constructs the visited country emergency FQDN.
plmnid | the public land mobile network ID. |
|
static |
Constructs the home network realm/domain name.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the home network realm/domain name.
plmnid | the public land mobile network ID. |
|
static |
Constructs the EPC node FQDN.
node | the node name. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the EPC node FQDN.
node | the node name. |
plmnid | the public land mobile network ID. |
|
static |
|
static |
|
static |
Converts a AMFAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Retrieves the string representation of the specified AppProtocolEnum value.
proto | the AppProtocolEnum value. |
|
static |
Retrieves the AppProtocolEnum value for a given string.
p | the string representation of the protocol. |
|
static |
Converts a GGSNAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a MMEAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a MSCAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a PGWAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a SGSNAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a SGWAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Converts a UPFAppProtocolEnum to an AppProtocolEnum value.
proto | the protocol to convert. |
|
static |
Retrieves the string representation of the specified AppServiceEnum value.
s | the AppServiceEnum value. |
|
static |
Retrieves the AppServiceEnum value for a given string.
s | the string representation of the application service. |
|
static |
Converts a DiameterApplicationEnum to the corresponding Diameter application ID.
app | the DiameterApplicationEnum to convert. |
|
static |
Converts a DiameterProtocolEnum to the corresponding Diameter protocol string.
protocol | the DiameterProtocolEnum to convert. |
|
static |
Constructs the Diameter service string.
app | the DiameterApplicationEnum value. |
protocol | the DiameterProtocolEnum value. |
|
static |
Constructs the global eNodeB ID.
enb | the eNodeB-ID. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the global eNodeB ID.
enb | the eNodeB-ID. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the home network domain name.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the home network domain name.
plmnid | the public land mobile network ID. |
|
static |
Constructs the APN operator identifier.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the APN operator identifier.
plmnid | the public land mobile network ID. |
|
static |
Constructs the local home network identifier.
lhn | local home network. |
mcc | the mobile country code. |
|
static |
Constructs the local home network identifier.
lhn | local home network. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the mobile management entity (MME) FQDN.
mmec | MME code. |
mmegi | MME Group ID. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the mobile management entity (MME) FQDN.
mmec | MME code. |
mmegi | MME Group ID. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the MME pool FQDN.
mmegi | MME Group ID. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the MME pool FQDN.
mmegi | MME Group ID. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the location area code based ePDG FQDN.
lac | location area code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the location area code based ePDG FQDN.
lac | location area code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the operator identifier (OI) based ePDG FQDN.
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the operator identifier (OI) based ePDG FQDN.
plmnid | the public land mobile network ID. |
|
static |
Constructs the tracking area identity based ePDG FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the tracking area identity based ePDG FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the visited country FQDN.
mcc | the mobile country code. |
|
static |
Constructs the visited country FQDN.
plmnid | the public land mobile network ID. |
|
static |
Constructs the routing area identity (RAI) FQDN.
rac | routing area code. |
lac | location area code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the routing area identity (RAI) FQDN.
rac | routing area code. |
lac | location area code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the radio network controller (RNC) FQDN.
rnc | radio network controller ID. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the radio network controller (RNC) FQDN.
rnc | radio network controller ID. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the serving GPRS support node (SGSN) FQDN.
nri | network resource identifier. |
rac | routing area code. |
lac | location area code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the serving GPRS support node (SGSN) FQDN.
nri | network resource identifier. |
rac | routing area code. |
lac | location area code. |
plmnid | the public land mobile network ID. |
|
static |
Constructs the tracking area identity FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
mnc | the mobile network code. |
mcc | the mobile country code. |
|
static |
Constructs the tracking area identity FQDN.
lb | low byte of the type allocation code. |
hb | high byte of the type allocation code. |
plmnid | the public land mobile network ID. |