EpcTools
An event based multi-threaded C++ development framework.
Static Public Member Functions | List of all members
EPCDNS::Utility Class Reference

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

Detailed Description

Provides several utilities for manipulating names, services and protocols.

Member Function Documentation

◆ apn() [1/2]

EString Utility::apn ( const char *  apn,
const char *  mnc,
const char *  mcc 
)
static

Constructs the APN.

Parameters
apnthe APN.
mncthe mobile network code.
mccthe mobile country code.
Returns
the APN.

◆ apn() [2/2]

EString Utility::apn ( const char *  apn,
const unsigned char *  plmnid 
)
static

Constructs the APN.

Parameters
apnthe APN.
plmnidthe public land mobile network ID.
Returns
the APN.

◆ apn_fqdn() [1/2]

EString Utility::apn_fqdn ( const char *  apn,
const char *  mnc,
const char *  mcc 
)
static

Constructs the APN FQDN.

Parameters
apnAPN.
mncthe mobile network code.
mccthe mcc mobile country code.
Returns
the APN FQDN.

◆ apn_fqdn() [2/2]

EString Utility::apn_fqdn ( const char *  apn,
const unsigned char *  plmnid 
)
static

Constructs the APN FQDN.

Parameters
apnthe APN.
plmnidthe public land mobile network ID.
Returns
the APN FQDN.

◆ diameter_fqdn() [1/2]

EString Utility::diameter_fqdn ( const char *  mnc,
const char *  mcc 
)
static

Constructs the Diameter FQDN.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the Diameter FQDN.

◆ diameter_fqdn() [2/2]

EString Utility::diameter_fqdn ( const unsigned char *  plmnid)
static

Constructs the Diameter FQDN.

Parameters
plmnidthe public land mobile network ID.
Returns
the Diameter FQDN.

◆ emergency_epdg_lac_fqdn() [1/2]

EString Utility::emergency_epdg_lac_fqdn ( const char *  lac,
const char *  mnc,
const char *  mcc 
)
static

Constructs the location area code based emergency ePDG FQDN.

Parameters
laclocation area code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the location area code based emergency ePDG FQDN.

◆ emergency_epdg_lac_fqdn() [2/2]

EString Utility::emergency_epdg_lac_fqdn ( const char *  lac,
const unsigned char *  plmnid 
)
static

Constructs the location area code based emergency ePDG FQDN.

Parameters
laclocation area code.
plmnidthe public land mobile network ID.
Returns
the location area code based emergency ePDG FQDN.

◆ emergency_epdg_oi_fqdn() [1/2]

EString Utility::emergency_epdg_oi_fqdn ( const char *  mnc,
const char *  mcc 
)
static

Constructs the operator identifier (OI) based emergency ePDG FQDN.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the operator identifier (OI) based emergency ePDG FQDN.

◆ emergency_epdg_oi_fqdn() [2/2]

EString Utility::emergency_epdg_oi_fqdn ( const unsigned char *  plmnid)
static

Constructs the operator identifier (OI) based emergency ePDG FQDN.

Parameters
plmnidthe public land mobile network ID.
Returns
the operator identifier (OI) based emergency ePDG FQDN.

◆ emergency_epdg_tai_fqdn() [1/2]

EString Utility::emergency_epdg_tai_fqdn ( const char *  lb,
const char *  hb,
const char *  mnc,
const char *  mcc 
)
static

Constructs the tracking area identity based emergency ePDG FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the tracking area identity based emergency ePDG FQDN.

◆ emergency_epdg_tai_fqdn() [2/2]

EString Utility::emergency_epdg_tai_fqdn ( const char *  lb,
const char *  hb,
const unsigned char *  plmnid 
)
static

Constructs the tracking area identity based emergency ePDG FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
plmnidthe public land mobile network ID.
Returns
the tracking area identity based emergency ePDG FQDN.

◆ emergency_epdg_visitedcountry_fqdn() [1/2]

EString Utility::emergency_epdg_visitedcountry_fqdn ( const char *  mcc)
static

Constructs the visited country emergency FQDN.

Parameters
mccthe mobile country code.
Returns
the visited country emergency FQDN.

◆ emergency_epdg_visitedcountry_fqdn() [2/2]

EString Utility::emergency_epdg_visitedcountry_fqdn ( const unsigned char *  plmnid)
static

Constructs the visited country emergency FQDN.

Parameters
plmnidthe public land mobile network ID.
Returns
the visited country emergency FQDN.

◆ epc() [1/2]

EString Utility::epc ( const char *  mnc,
const char *  mcc 
)
static

Constructs the home network realm/domain name.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the home network realm/domain name.

◆ epc() [2/2]

EString Utility::epc ( const unsigned char *  plmnid)
static

Constructs the home network realm/domain name.

Parameters
plmnidthe public land mobile network ID.
Returns
the home network realm/domain name.

◆ epc_node_fqdn() [1/2]

EString Utility::epc_node_fqdn ( const char *  node,
const char *  mnc,
const char *  mcc 
)
static

Constructs the EPC node FQDN.

Parameters
nodethe node name.
mncthe mobile network code.
mccthe mobile country code.
Returns
the EPC node FQDN.

◆ epc_node_fqdn() [2/2]

EString Utility::epc_node_fqdn ( const char *  node,
const unsigned char *  plmnid 
)
static

Constructs the EPC node FQDN.

Parameters
nodethe node name.
plmnidthe public land mobile network ID.
Returns
the EPC node FQDN.

◆ epc_nodes_domain_fqdn() [1/2]

EString Utility::epc_nodes_domain_fqdn ( const char *  mnc,
const char *  mcc 
)
static

Constructs the EPC nodes subdomain (DNS zone).

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the EPC nodes subdomain (DNS zone).

◆ epc_nodes_domain_fqdn() [2/2]

EString Utility::epc_nodes_domain_fqdn ( const unsigned char *  plmnid)
static

Constructs the EPC nodes subdomain (DNS zone).

Parameters
plmnidthe public land mobile network ID.
Returns
the EPC nodes subdomain (DNS zone).

◆ getAppProtocol() [1/10]

AppProtocolEnum Utility::getAppProtocol ( AMFAppProtocolEnum  proto)
static

Converts a AMFAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [2/10]

const char * Utility::getAppProtocol ( AppProtocolEnum  proto)
static

Retrieves the string representation of the specified AppProtocolEnum value.

Parameters
protothe AppProtocolEnum value.
Returns
the string representation of the specified AppProtocolEnum value.

◆ getAppProtocol() [3/10]

AppProtocolEnum Utility::getAppProtocol ( const std::string &  p)
static

Retrieves the AppProtocolEnum value for a given string.

Parameters
pthe string representation of the protocol.
Returns
the corresponding AppProtocolEnum value.

◆ getAppProtocol() [4/10]

AppProtocolEnum Utility::getAppProtocol ( GGSNAppProtocolEnum  proto)
static

Converts a GGSNAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [5/10]

AppProtocolEnum Utility::getAppProtocol ( MMEAppProtocolEnum  proto)
static

Converts a MMEAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [6/10]

AppProtocolEnum Utility::getAppProtocol ( MSCAppProtocolEnum  proto)
static

Converts a MSCAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [7/10]

AppProtocolEnum Utility::getAppProtocol ( PGWAppProtocolEnum  proto)
static

Converts a PGWAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [8/10]

AppProtocolEnum Utility::getAppProtocol ( SGSNAppProtocolEnum  proto)
static

Converts a SGSNAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [9/10]

AppProtocolEnum Utility::getAppProtocol ( SGWAppProtocolEnum  proto)
static

Converts a SGWAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppProtocol() [10/10]

AppProtocolEnum Utility::getAppProtocol ( UPFAppProtocolEnum  proto)
static

Converts a UPFAppProtocolEnum to an AppProtocolEnum value.

Parameters
protothe protocol to convert.
Returns
the resulting AppProtocolEnum.

◆ getAppService() [1/2]

const char * Utility::getAppService ( AppServiceEnum  s)
static

Retrieves the string representation of the specified AppServiceEnum value.

Parameters
sthe AppServiceEnum value.
Returns
the string representation of the specified AppServiceEnum value.

◆ getAppService() [2/2]

AppServiceEnum Utility::getAppService ( const std::string &  s)
static

Retrieves the AppServiceEnum value for a given string.

Parameters
sthe string representation of the application service.
Returns
the corresponding AppServiceEnum value.

◆ getDiameterApplication()

uint32_t Utility::getDiameterApplication ( DiameterApplicationEnum  app)
static

Converts a DiameterApplicationEnum to the corresponding Diameter application ID.

Parameters
appthe DiameterApplicationEnum to convert.
Returns
the corresponding Diameter application ID.

◆ getDiameterProtocol()

const char * Utility::getDiameterProtocol ( DiameterProtocolEnum  protocol)
static

Converts a DiameterProtocolEnum to the corresponding Diameter protocol string.

Parameters
protocolthe DiameterProtocolEnum to convert.
Returns
the corresponding Diameter protocol string.

◆ getDiameterService()

EString Utility::getDiameterService ( DiameterApplicationEnum  app,
DiameterProtocolEnum  protocol 
)
static

Constructs the Diameter service string.

Parameters
appthe DiameterApplicationEnum value.
protocolthe DiameterProtocolEnum value.
Returns
the Diameter service string.

◆ global_enodeb_id_fqdn() [1/2]

EString Utility::global_enodeb_id_fqdn ( const char *  enb,
const char *  mnc,
const char *  mcc 
)
static

Constructs the global eNodeB ID.

Parameters
enbthe eNodeB-ID.
mncthe mobile network code.
mccthe mobile country code.
Returns
he global eNodeB ID.

◆ global_enodeb_id_fqdn() [2/2]

EString Utility::global_enodeb_id_fqdn ( const char *  enb,
const unsigned char *  plmnid 
)
static

Constructs the global eNodeB ID.

Parameters
enbthe eNodeB-ID.
plmnidthe public land mobile network ID.
Returns
he global eNodeB ID.

◆ home_network() [1/2]

EString Utility::home_network ( const char *  mnc,
const char *  mcc 
)
static

Constructs the home network domain name.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the home network domain name.

◆ home_network() [2/2]

EString Utility::home_network ( const unsigned char *  plmnid)
static

Constructs the home network domain name.

Parameters
plmnidthe public land mobile network ID.
Returns
the home network domain name.

◆ home_network_gprs() [1/2]

EString Utility::home_network_gprs ( const char *  mnc,
const char *  mcc 
)
static

Constructs the APN operator identifier.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the APN operator identifier.

◆ home_network_gprs() [2/2]

EString Utility::home_network_gprs ( const unsigned char *  plmnid)
static

Constructs the APN operator identifier.

Parameters
plmnidthe public land mobile network ID.
Returns
the APN operator identifier.

◆ local_homenetwork_fqdn() [1/2]

EString Utility::local_homenetwork_fqdn ( const char *  lhn,
const char *  mcc 
)
static

Constructs the local home network identifier.

Parameters
lhnlocal home network.
mccthe mobile country code.
Returns
the local home network identifier.

◆ local_homenetwork_fqdn() [2/2]

EString Utility::local_homenetwork_fqdn ( const char *  lhn,
const unsigned char *  plmnid 
)
static

Constructs the local home network identifier.

Parameters
lhnlocal home network.
plmnidthe public land mobile network ID.
Returns
the local home network identifier.

◆ mme_fqdn() [1/2]

EString Utility::mme_fqdn ( const char *  mmec,
const char *  mmegi,
const char *  mnc,
const char *  mcc 
)
static

Constructs the mobile management entity (MME) FQDN.

Parameters
mmecMME code.
mmegiMME Group ID.
mncthe mobile network code.
mccthe mobile country code.
Returns
the mobile management entity (MME) FQDN.

◆ mme_fqdn() [2/2]

EString Utility::mme_fqdn ( const char *  mmec,
const char *  mmegi,
const unsigned char *  plmnid 
)
static

Constructs the mobile management entity (MME) FQDN.

Parameters
mmecMME code.
mmegiMME Group ID.
plmnidthe public land mobile network ID.
Returns
the mobile management entity (MME) FQDN.

◆ mme_pool_fqdn() [1/2]

EString Utility::mme_pool_fqdn ( const char *  mmegi,
const char *  mnc,
const char *  mcc 
)
static

Constructs the MME pool FQDN.

Parameters
mmegiMME Group ID.
mncthe mobile network code.
mccthe mobile country code.
Returns
the MME pool FQDN.

◆ mme_pool_fqdn() [2/2]

EString Utility::mme_pool_fqdn ( const char *  mmegi,
const unsigned char *  plmnid 
)
static

Constructs the MME pool FQDN.

Parameters
mmegiMME Group ID.
plmnidthe public land mobile network ID.
Returns
the MME pool FQDN.

◆ nonemergency_epdg_lac_fqdn() [1/2]

EString Utility::nonemergency_epdg_lac_fqdn ( const char *  lac,
const char *  mnc,
const char *  mcc 
)
static

Constructs the location area code based ePDG FQDN.

Parameters
laclocation area code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the location area code based ePDG FQDN.

◆ nonemergency_epdg_lac_fqdn() [2/2]

EString Utility::nonemergency_epdg_lac_fqdn ( const char *  lac,
const unsigned char *  plmnid 
)
static

Constructs the location area code based ePDG FQDN.

Parameters
laclocation area code.
plmnidthe public land mobile network ID.
Returns
the location area code based ePDG FQDN.

◆ nonemergency_epdg_oi_fqdn() [1/2]

EString Utility::nonemergency_epdg_oi_fqdn ( const char *  mnc,
const char *  mcc 
)
static

Constructs the operator identifier (OI) based ePDG FQDN.

Parameters
mncthe mobile network code.
mccthe mobile country code.
Returns
the operator identifier (OI) based ePDG FQDN.

◆ nonemergency_epdg_oi_fqdn() [2/2]

EString Utility::nonemergency_epdg_oi_fqdn ( const unsigned char *  plmnid)
static

Constructs the operator identifier (OI) based ePDG FQDN.

Parameters
plmnidthe public land mobile network ID.
Returns
the operator identifier (OI) based ePDG FQDN.

◆ nonemergency_epdg_tai_fqdn() [1/2]

EString Utility::nonemergency_epdg_tai_fqdn ( const char *  lb,
const char *  hb,
const char *  mnc,
const char *  mcc 
)
static

Constructs the tracking area identity based ePDG FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
mncthe mobile network code.
mccthe mobile country code.
Returns
he tracking area identity based ePDG FQDN.

◆ nonemergency_epdg_tai_fqdn() [2/2]

EString Utility::nonemergency_epdg_tai_fqdn ( const char *  lb,
const char *  hb,
const unsigned char *  plmnid 
)
static

Constructs the tracking area identity based ePDG FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
plmnidthe public land mobile network ID.
Returns
he tracking area identity based ePDG FQDN.

◆ nonemergency_epdg_visitedcountry_fqdn() [1/2]

EString Utility::nonemergency_epdg_visitedcountry_fqdn ( const char *  mcc)
static

Constructs the visited country FQDN.

Parameters
mccthe mobile country code.
Returns
the visited country FQDN.

◆ nonemergency_epdg_visitedcountry_fqdn() [2/2]

EString Utility::nonemergency_epdg_visitedcountry_fqdn ( const unsigned char *  plmnid)
static

Constructs the visited country FQDN.

Parameters
plmnidthe public land mobile network ID.
Returns
the visited country FQDN.

◆ rai_fqdn() [1/2]

EString Utility::rai_fqdn ( const char *  rac,
const char *  lac,
const char *  mnc,
const char *  mcc 
)
static

Constructs the routing area identity (RAI) FQDN.

Parameters
racrouting area code.
laclocation area code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the routing area identity (RAI) FQDN.

◆ rai_fqdn() [2/2]

EString Utility::rai_fqdn ( const char *  rac,
const char *  lac,
const unsigned char *  plmnid 
)
static

Constructs the routing area identity (RAI) FQDN.

Parameters
racrouting area code.
laclocation area code.
plmnidthe public land mobile network ID.
Returns
the routing area identity (RAI) FQDN.

◆ rnc_fqdn() [1/2]

EString Utility::rnc_fqdn ( const char *  rnc,
const char *  mnc,
const char *  mcc 
)
static

Constructs the radio network controller (RNC) FQDN.

Parameters
rncradio network controller ID.
mncthe mobile network code.
mccthe mobile country code.
Returns
the radio network controller (RNC) FQDN.

◆ rnc_fqdn() [2/2]

EString Utility::rnc_fqdn ( const char *  rnc,
const unsigned char *  plmnid 
)
static

Constructs the radio network controller (RNC) FQDN.

Parameters
rncradio network controller ID.
plmnidthe public land mobile network ID.
Returns
the radio network controller (RNC) FQDN.

◆ sgsn_fqdn() [1/2]

EString Utility::sgsn_fqdn ( const char *  nri,
const char *  rac,
const char *  lac,
const char *  mnc,
const char *  mcc 
)
static

Constructs the serving GPRS support node (SGSN) FQDN.

Parameters
nrinetwork resource identifier.
racrouting area code.
laclocation area code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the serving GPRS support node (SGSN) FQDN.

◆ sgsn_fqdn() [2/2]

EString Utility::sgsn_fqdn ( const char *  nri,
const char *  rac,
const char *  lac,
const unsigned char *  plmnid 
)
static

Constructs the serving GPRS support node (SGSN) FQDN.

Parameters
nrinetwork resource identifier.
racrouting area code.
laclocation area code.
plmnidthe public land mobile network ID.
Returns
the serving GPRS support node (SGSN) FQDN.

◆ tai_fqdn() [1/2]

EString Utility::tai_fqdn ( const char *  lb,
const char *  hb,
const char *  mnc,
const char *  mcc 
)
static

Constructs the tracking area identity FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
mncthe mobile network code.
mccthe mobile country code.
Returns
the tracking area identity FQDN.

◆ tai_fqdn() [2/2]

EString Utility::tai_fqdn ( const char *  lb,
const char *  hb,
const unsigned char *  plmnid 
)
static

Constructs the tracking area identity FQDN.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
plmnidthe public land mobile network ID.
Returns
the tracking area identity FQDN.

The documentation for this class was generated from the following files: