|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
79 #include "hostIf_tr69ReqHandler.h"
80 #include "hostIf_utils.h"
81 #include "hostIf_updateHandler.h"
102 eIpInterfaceNumberOfEntries,
103 eIpActivePortNumberOfEntries
114 char iPv4Status[LENGTH];
115 char uLAPrefix[LENGTH];
116 unsigned int interfaceNumberOfEntries;
117 unsigned int activePortNumberOfEntries;
164 static GHashTable *ifHash;
166 static GMutex *m_mutex;
168 static IP stIPInstance;
170 static char* cmd_NumOfActivePorts;
172 static GHashTable *m_notifyHash;
180 bool bCalledIPv4Capable;
181 bool bCalledIPv4Enable;
182 bool bCalledIPv4Status;
183 bool bCalledInterfaceNumberOfEntries;
184 bool bCalledActivePortNumberOfEntries;
186 bool backupIPv4Capable;
187 bool backupIPv4Enable;
188 int backupInterfaceNumberOfEntries;
189 int backupActivePortNumberOfEntries;
190 char backupIPv4Status[_BUF_LEN_16];
193 static unsigned int getPhysicalInterfaceNumberOfEntries (
struct if_nameindex* phy_if_list);
195 static char*
getVirtualInterfaceName (
struct if_nameindex *phy_if_list,
unsigned int virtual_if_index,
char* virtual_if_name);
199 static hostIf_IP* getInstance(
int dev_id);
203 static GList* getAllInstances();
205 static void closeAllInstances();
207 static void getLock();
209 static void releaseLock();
215 static int get_Device_IP_Fields(
EIPMembers ipMem);
217 static GHashTable* getNotifyHash();
int set_Device_IP_IPv4Enable(HOSTIF_MsgData_t *)
Set the status (enabled/disabled) of the IPv4 stack on a device.
int get_Device_IP_ULAPrefix(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the ULA(Unique Local Address)/48 prefix for a device. This function provides the ULA /48 prefix o...
static unsigned int getNumOfActivePorts(void)
int set_Device_IP_ULAPrefix(HOSTIF_MsgData_t *)
This function sets the ULA /48 prefix of the device. This is the IPv6 address prefix and can be any I...
This class provides the hostIf IP interface for getting IP interface information.
static int get_Device_IP_InterfaceNumberOfEntries(HOSTIF_MsgData_t *)
Get the number of entries in the Interface table.
hostIf_IP(int dev_id)
Class Constructor of the class hostIf_IP.
It contains the members variables of the IP structure.
static unsigned int getInterfaceNumberOfEntries(void)
static char * getInterfaceName(int if_index, char *if_name)
int get_Device_IP_IPv4Capable(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the IPv4 capability of a device.
struct Device_IP IP
It contains the members variables of the IP structure.
int get_Device_IP_IPv4Enable(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the status (enabled/disabled) of the IPv4 stack on a device.
static unsigned int getVirtualInterfaceNumberOfEntries(struct if_nameindex *phy_if_list)
static char * getVirtualInterfaceName(struct if_nameindex *phy_if_list, unsigned int virtual_if_index, char *virtual_if_name)
EIPMembers
These values are the members of the EIPMembers.
static int get_Device_IP_ActivePortNumberOfEntries(HOSTIF_MsgData_t *)
Get the number of entries in the ActivePort table.
int get_Device_IP_IPv4Status(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function gets the status of the IPv4 stack on a device. It indicates the status of the IPv4 stac...