RDK Documentation (Open Sourced RDK Components)
|
Describe the details about classes used in TR069 Device DHCPv4 Client.
Data Structures | |
class | hostIf_DHCPv4Client |
This class provides the interface for getting device DHCPv4 Client information. More... | |
class hostIf_DHCPv4Client |
This class provides the interface for getting device DHCPv4 Client information.
Definition at line 151 of file Device_DHCPv4_Client.h.
Public Member Functions | |
int | get_Device_DHCPv4_Client_InterfaceReference (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This gets the interface information used by the DHCP(Dynamic Host Configuration Protocol) v4 client devices. More... | |
int | get_Device_DHCPv4_Client_DnsServer (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This gets the DNS server information used by the DHCP(Dynamic Host Configuration Protocol) v4 client devices. More... | |
int | get_Device_DHCPv4_Client_IPRouters (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL) |
This gets the IP Routers information used by the DHCP(Dynamic Host Configuration Protocol) v4 client devices. More... | |
Static Public Member Functions | |
static hostIf_DHCPv4Client * | getInstance (int dev_id) |
static GList * | getAllInstances () |
static void | closeInstance (hostIf_DHCPv4Client *pDev) |
static void | closeAllInstances () |
static int | get_Device_DHCPv4_ClientNumberOfEntries (HOSTIF_MsgData_t *stMsgData) |
static void | getLock () |
static void | releaseLock () |
static GHashTable * | getNotifyHash () |
Private Member Functions | |
hostIf_DHCPv4Client (int dev_id) | |
Class Constructor of the class hostIf_DHCPv4Client. More... | |
int | get_Device_DHCPv4_Client_Fields (DHCPv4ClientMembers dhclientMember) |
bool | isIfnameInroutetoDNSServer (char *dnsServer, char *ifName) |
bool | isValidIPAddr (char *addr) |
int | getInterfaceName (char *ifname) |
Private Attributes | |
int | dev_id |
DHCPv4Client | backupDhcpClient |
DHCPv4ClientParamBackUpFlag | bBackUpFlags |
Static Private Attributes | |
static GHashTable * | dhcpv4ClientHash = NULL |
static GMutex * | m_mutex = NULL |
static GHashTable * | m_notifyHash = NULL |
static DHCPv4Client | dhcpClient = {{'\0'}, {'\0'}, {'\0'}} |
|
private |
Class Constructor of the class hostIf_DHCPv4Client.
It will initialize the device id, interface, dns servers and ipRouters.
[in] | devid | Device identification Number. |
Definition at line 49 of file Device_DHCPv4_Client.cpp.