RDK Documentation (Open Sourced RDK Components)

Description

deviceClient -interface is a platform agnostic IARM communication interface. It allows ds client applications to communicate by sending Get and Set operation

dsClient -interface is a platform agnostic IARM communication interface. It allows ds client applications to communicate by sending Get and Set operation

It allows moca client applications to communicate by sending Get operation from Ethernet library.

It allows ip client applications to communicate by sending Get operation from IP library.

Json-interface is a platform agnostic http server communication interface. It allows json client applications to communicate by sending Get operation

It allows moca client applications to communicate by sending Get operation from MoCA library.

HOST-IF is a platform agnostic Inter-process communication (IPC) interface. It allows applications to communicate with each other by sending Events or invoking Remote Procedure Calls. The common programming APIs offered by the RDK IARM-Bus interface is independent of the operating system or the underlying IPC mechanism.

HOST-IF is a platform agnostic Inter-process communication (IPC) interface. It allows applications to communicate with each other by sending Events or invoking Remote Procedure Calls. This is rbus interface to provide TR181 data through rbus.

It allows moca client applications to communicate by sending Get operation from Time library.

Modules

 Hostif
 
 Tr69BusAgent
 

Functions

static void hostIf_EthernetInterface::closeInstance (hostIf_EthernetInterface *)
 
static GList * hostIf_EthernetInterface::getAllInstances ()
 
static void hostIf_EthernetInterface::closeAllInstances ()
 
static void hostIf_EthernetInterface::getLock ()
 
static void hostIf_EthernetInterface::releaseLock ()
 
static GHashTable * hostIf_EthernetInterface::getNotifyHash ()
 
static int hostIf_EthernetInterface::get_Device_Ethernet_InterfaceNumberOfEntries (HOSTIF_MsgData_t *, bool *pChanged=NULL)
 Get the number of entries in the Interface table. More...
 
static hostIf_EthernetInterfaceStatshostIf_EthernetInterfaceStats::getInstance (int dev_id)
 
static void hostIf_EthernetInterfaceStats::closeInstance (hostIf_EthernetInterfaceStats *)
 
static GList * hostIf_EthernetInterfaceStats::getAllInstances ()
 
static void hostIf_EthernetInterfaceStats::closeAllInstances ()
 
static void hostIf_EthernetInterfaceStats::getLock ()
 
static void hostIf_EthernetInterfaceStats::releaseLock ()
 
static unsigned int hostIf_IP::getPhysicalInterfaceNumberOfEntries (struct if_nameindex *phy_if_list)
 
static hostIf_IPhostIf_IP::getInstance (int dev_id)
 
static void hostIf_IP::closeInstance (hostIf_IP *)
 
static GList * hostIf_IP::getAllInstances ()
 
static void hostIf_IP::closeAllInstances ()
 
static void hostIf_IP::getLock ()
 
static void hostIf_IP::releaseLock ()
 
static int hostIf_IP::get_Device_IP_Fields (EIPMembers ipMem)
 
static GHashTable * hostIf_IP::getNotifyHash ()
 
int hostIf_IP::handleGetMsg (HOSTIF_MsgData_t *stMsgData)
 
int hostIf_IP::handleSetMsg (HOSTIF_MsgData_t *stMsgData)
 
static int hostIf_IP::get_Device_IP_InterfaceNumberOfEntries (HOSTIF_MsgData_t *)
 Get the number of entries in the Interface table. More...
 
static int hostIf_IP::get_Device_IP_ActivePortNumberOfEntries (HOSTIF_MsgData_t *)
 Get the number of entries in the ActivePort table. More...
 
int hostIf_IPActivePort::getActivePortsFields (unsigned int activePortNo)
 
static hostIf_IPActivePorthostIf_IPActivePort::getInstance (int dev_id)
 
static void hostIf_IPActivePort::closeInstance (hostIf_IPActivePort *)
 
static GList * hostIf_IPActivePort::getAllInstances ()
 
static void hostIf_IPActivePort::closeAllInstances ()
 
static void hostIf_IPActivePort::getLock ()
 
static void hostIf_IPActivePort::releaseLock ()
 
int hostIf_IPActivePort::handleGetMsg (const char *pSetting, HOSTIF_MsgData_t *stMsgData)
 
void hostIf_IPInterface::refreshInterfaceName ()
 
unsigned int hostIf_IPInterface::getIPAddressNumberOfEntries (sa_family_t address_family)
 
int hostIf_IPInterface::set_Interface_Reset (unsigned int value)
 
int hostIf_IPInterface::set_Interface_Enable (int value)
 
int hostIf_IPInterface::set_Interface_Mtu (unsigned int value)
 
static hostIf_IPInterfacehostIf_IPInterface::getInstance (int dev_id)
 
static void hostIf_IPInterface::closeInstance (hostIf_IPInterface *)
 
static GList * hostIf_IPInterface::getAllInstances ()
 
static void hostIf_IPInterface::closeAllInstances ()
 
int hostIf_IPInterface::handleGetMsg (const char *pSetting, HOSTIF_MsgData_t *stMsgData)
 
int hostIf_IPInterface::handleSetMsg (const char *pSetting, HOSTIF_MsgData_t *stMsgData)
 
static void hostIf_IPInterface::getActiveFlags (char *nameOfInterface, struct ifreq &ifr)
 
static bool hostIf_IPInterface::isLoopback (char *nameOfInterface)
 
static bool hostIf_IPInterface::isEnabled (char *nameOfInterface)
 
static int hostIf_IPInterface::getMTU (char *nameOfInterface)
 
void hostIf_IPInterface::getInterfaceOperationalState (char *operationalState)
 
unsigned int hostIf_IPInterface::getIPv6PrefixNumberOfEntries ()
 
int hostIf_IPInterface::get_Interface_IPv6Enable (HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
 
void hostIf_IPv4Address::refreshInterfaceName ()
 
int hostIf_IPv4Address::getIPv4AddressAndMask (int instance, struct in_addr &in_address, struct in_addr &in_mask)
 
bool hostIf_IPv4Address::hasPhysicalInterfaceAs (char *phy_if_name)
 
int hostIf_IPv4Address::setIpOrMask (int interfaceNo, char *value, const char *ipOrMask)
 
static hostIf_IPv4AddresshostIf_IPv4Address::getInstance (int dev_id)
 
static GList * hostIf_IPv4Address::getAllInstances ()
 
static void hostIf_IPv4Address::closeInstance (hostIf_IPv4Address *)
 
static void hostIf_IPv4Address::closeAllInstances ()
 
static void hostIf_IPv4Address::getLock ()
 
static void hostIf_IPv4Address::releaseLock ()
 
int hostIf_IPv4Address::handleGetMsg (const char *pSubSetting, int subInstanceNumber, HOSTIF_MsgData_t *stMsgData)
 
int hostIf_IPv4Address::handleSetMsg (const char *pSubSetting, int subInstanceNumber, HOSTIF_MsgData_t *stMsgData)
 
static class MoCAInterfaceQoSFlowStatsMoCAInterfaceQoSFlowStats::getInstance ()
 

Variables

bool Device_Ethernet_Interface::enable
 
char Device_Ethernet_Interface::status [_BUF_LEN_16]
 
char Device_Ethernet_Interface::alias [64]
 
char Device_Ethernet_Interface::name [64]
 
unsigned int Device_Ethernet_Interface::lastChange
 
char Device_Ethernet_Interface::lowerLayers [1024]
 
bool Device_Ethernet_Interface::upStream
 
char Device_Ethernet_Interface::mACAddress [24]
 
int Device_Ethernet_Interface::maxBitRate
 
char Device_Ethernet_Interface::duplexMode [_BUF_LEN_16]
 
static GHashTable * hostIf_EthernetInterface::ifHash = NULL
 
static GHashTable * hostIf_EthernetInterface::m_notifyHash = NULL
 
static GMutex * hostIf_EthernetInterface::m_mutex = NULL
 
int hostIf_EthernetInterface::dev_id
 
bool hostIf_EthernetInterface::backupEnable
 
bool hostIf_EthernetInterface::backupUpstream
 
int hostIf_EthernetInterface::backupMaxBitRate
 
char hostIf_EthernetInterface::backupStatus [_BUF_LEN_16]
 
char hostIf_EthernetInterface::backupName [_BUF_LEN_16]
 
char hostIf_EthernetInterface::backupMACAddress [24]
 
char hostIf_EthernetInterface::backupDuplexMode [_BUF_LEN_16]
 
bool hostIf_EthernetInterface::bCalledEnable
 
bool hostIf_EthernetInterface::bCalledStatus
 
bool hostIf_EthernetInterface::bCalledName
 
bool hostIf_EthernetInterface::bCalledUpstream
 
bool hostIf_EthernetInterface::bCalledMACAddress
 
bool hostIf_EthernetInterface::bCalledMaxBitRate
 
bool hostIf_EthernetInterface::bCalledDuplexMode
 
static EthernetInterface hostIf_EthernetInterface::stEthInterface = {0,}
 
unsigned long Device_Ethernet_Interface_Stats::bytesSent
 
unsigned long Device_Ethernet_Interface_Stats::bytesReceived
 
unsigned long Device_Ethernet_Interface_Stats::packetsSent
 
unsigned long Device_Ethernet_Interface_Stats::packetsReceived
 
unsigned int Device_Ethernet_Interface_Stats::errorsSent
 
unsigned int Device_Ethernet_Interface_Stats::errorsReceived
 
unsigned long Device_Ethernet_Interface_Stats::unicastPacketsSent
 
unsigned long Device_Ethernet_Interface_Stats::unicastPacketsReceived
 
unsigned int Device_Ethernet_Interface_Stats::discardPacketsSent
 
unsigned int Device_Ethernet_Interface_Stats::discardPacketsReceived
 
unsigned long Device_Ethernet_Interface_Stats::multicastPacketsSent
 
unsigned long Device_Ethernet_Interface_Stats::multicastPacketsReceived
 
unsigned long Device_Ethernet_Interface_Stats::broadcastPacketsSent
 
unsigned long Device_Ethernet_Interface_Stats::broadcastPacketsReceived
 
unsigned int Device_Ethernet_Interface_Stats::unknownProtoPacketsReceived
 
static GHashTable * hostIf_EthernetInterfaceStats::ifHash = NULL
 
static GMutex * hostIf_EthernetInterfaceStats::m_mutex = NULL
 
int hostIf_EthernetInterfaceStats::dev_id
 
int hostIf_EthernetInterfaceStats::backupBytesSent
 
int hostIf_EthernetInterfaceStats::backupBytesReceived
 
int hostIf_EthernetInterfaceStats::backupPacketsSent
 
int hostIf_EthernetInterfaceStats::backupPacketsReceived
 
int hostIf_EthernetInterfaceStats::backupUnicastPacketsSent
 
int hostIf_EthernetInterfaceStats::backupUnicastPacketsReceived
 
int hostIf_EthernetInterfaceStats::backupMulticastPacketsReceived
 
int hostIf_EthernetInterfaceStats::backupBroadcastPacketsSent
 
int hostIf_EthernetInterfaceStats::backupBroadcastPacketsReceived
 
int hostIf_EthernetInterfaceStats::backupMulticastPacketsSent
 
int hostIf_EthernetInterfaceStats::backupErrorSent
 
int hostIf_EthernetInterfaceStats::backupErrorsReceived
 
int hostIf_EthernetInterfaceStats::backupErrorsSent
 
int hostIf_EthernetInterfaceStats::backupDiscardPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledBytesSent
 
bool hostIf_EthernetInterfaceStats::bCalledBytesReceived
 
bool hostIf_EthernetInterfaceStats::bCalledPacketsSent
 
bool hostIf_EthernetInterfaceStats::bCalledPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledErrorSent
 
bool hostIf_EthernetInterfaceStats::bCalledErrorsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledErrorsSent
 
bool hostIf_EthernetInterfaceStats::bCalledUnicastPacketsSent
 
bool hostIf_EthernetInterfaceStats::bCalledDiscardPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledDiscardPacketsSent
 
bool hostIf_EthernetInterfaceStats::bCalledUnicastPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledMulticastPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledBroadcastPacketsSent
 
bool hostIf_EthernetInterfaceStats::bCalledBroadcastPacketsReceived
 
bool hostIf_EthernetInterfaceStats::bCalledMulticastPacketsSent
 
bool hostIf_EthernetInterfaceStats::bCalledUnknownProtoPacketsReceived
 
static EthernetInterfaceStats hostIf_EthernetInterfaceStats::stEthInterfaceStats = {0,}
 
bool Device_IP::iPv4Capable
 
bool Device_IP::iPv4Enable
 
char Device_IP::iPv4Status [16]
 
char Device_IP::uLAPrefix [16]
 
unsigned int Device_IP::interfaceNumberOfEntries
 
unsigned int Device_IP::activePortNumberOfEntries
 
static GHashTable * hostIf_IP::ifHash = NULL
 
static GMutex * hostIf_IP::m_mutex = NULL
 
static IP hostIf_IP::stIPInstance = {TRUE,FALSE,{"Disabled"},FALSE,0,0}
 
static char * hostIf_IP::cmd_NumOfActivePorts = "cat /proc/net/tcp | awk '$4 == \"0A\" || $4 == \"01\" {print $2" "$3" "$4}' | wc -l"
 
static GHashTable * hostIf_IP::m_notifyHash = NULL
 
int hostIf_IP::dev_id
 
bool hostIf_IP::bCalledIPv4Capable
 
bool hostIf_IP::bCalledIPv4Enable
 
bool hostIf_IP::bCalledIPv4Status
 
bool hostIf_IP::bCalledInterfaceNumberOfEntries
 
bool hostIf_IP::bCalledActivePortNumberOfEntries
 
bool hostIf_IP::backupIPv4Capable
 
bool hostIf_IP::backupIPv4Enable
 
int hostIf_IP::backupInterfaceNumberOfEntries
 
int hostIf_IP::backupActivePortNumberOfEntries
 
char hostIf_IP::backupIPv4Status [_BUF_LEN_16]
 
char Device_IP_ActivePort::localIpAddress [16]
 
unsigned int Device_IP_ActivePort::localPort
 
char Device_IP_ActivePort::remoteIpAddress [16]
 
unsigned int Device_IP_ActivePort::remotePort
 
char Device_IP_ActivePort::status [12]
 
static GHashTable * hostIf_IPActivePort::ifHash = NULL
 
static GMutex * hostIf_IPActivePort::m_mutex = NULL
 
static struct Device_IP_ActivePort hostIf_IPActivePort::activePort
 
int hostIf_IPActivePort::dev_id
 
bool hostIf_IPActivePort::bCalledLocalIPAddress
 
bool hostIf_IPActivePort::bCalledLocalPort
 
bool hostIf_IPActivePort::bCalledRemoteIPAddress
 
bool hostIf_IPActivePort::bCalledRemotePort
 
bool hostIf_IPActivePort::bCalledStatus
 
char hostIf_IPActivePort::backupLocalIPAddress [16]
 
char hostIf_IPActivePort::backupRemoteIPAddress [16]
 
char hostIf_IPActivePort::backupStatus [16]
 
unsigned int hostIf_IPActivePort::backupLocalPort
 
unsigned int hostIf_IPActivePort::backupRemotePort
 
bool Device_IP_Interface::enable
 
bool Device_IP_Interface::iPv4Enable
 
bool Device_IP_Interface::iPv6Enable
 
bool Device_IP_Interface::uLAEnable
 
char Device_IP_Interface::status [24]
 
char Device_IP_Interface::alias [70]
 
char Device_IP_Interface::name [70]
 
unsigned int Device_IP_Interface::lastChange
 
char Device_IP_Interface::lowerLayers [1024]
 
char Device_IP_Interface::router [256]
 
bool Device_IP_Interface::reset
 
unsigned int Device_IP_Interface::maxMTUSize
 
char Device_IP_Interface::type [24]
 
bool Device_IP_Interface::loopback
 
unsigned int Device_IP_Interface::iPv4AddressNumberOfEntries
 
bool Device_IP_Interface::autoIPEnable
 
static GHashTable * hostIf_IPInterface::ifHash = NULL
 
static IPInterface hostIf_IPInterface::stIPInterfaceInstance
 
int hostIf_IPInterface::dev_id
 
char hostIf_IPInterface::nameOfInterface [IF_NAMESIZE]
 
bool hostIf_IPInterface::bCalledEnable
 
bool hostIf_IPInterface::bCalledIPv4Enable
 
bool hostIf_IPInterface::bCalledIPv6Enable
 
bool hostIf_IPInterface::bCalledStatus
 
bool hostIf_IPInterface::bCalledName
 
bool hostIf_IPInterface::bCalledReset
 
bool hostIf_IPInterface::bCalledMaxMTUSize
 
bool hostIf_IPInterface::bCalledType
 
bool hostIf_IPInterface::bCalledLoopback
 
bool hostIf_IPInterface::bCalledIPv4AddressNumberOfEntries
 
unsigned int hostIf_IPInterface::backupIPv4AddressNumberOfEntries
 
unsigned int hostIf_IPInterface::backupMaxMTUSize
 
bool hostIf_IPInterface::backupLoopback
 
bool hostIf_IPInterface::backupReset
 
bool hostIf_IPInterface::backupIPv4Enable
 
bool hostIf_IPInterface::backupIPv6Enable
 
bool hostIf_IPInterface::backupEnable
 
char hostIf_IPInterface::backupType [_BUF_LEN_16]
 
char hostIf_IPInterface::backupName [_BUF_LEN_16]
 
char hostIf_IPInterface::backupStatus [_BUF_LEN_16]
 
static GHashTable * hostIf_IPv4Address::ifHash = NULL
 
static GMutex * hostIf_IPv4Address::m_mutex = NULL
 
int hostIf_IPv4Address::dev_id
 
char hostIf_IPv4Address::nameOfInterface [IF_NAMESIZE]
 
bool hostIf_IPv4Address::bCalledEnable
 
bool hostIf_IPv4Address::bCalledStatus
 
bool hostIf_IPv4Address::bCalledIPAddress
 
bool hostIf_IPv4Address::bCalledSubnetMask
 
bool hostIf_IPv4Address::bCalledAddressingType
 
bool hostIf_IPv4Address::backupEnable
 
char hostIf_IPv4Address::backupStatus [BUFF_LENGTH_16]
 
char hostIf_IPv4Address::backupIPAddress [BUFF_LENGTH_64]
 
char hostIf_IPv4Address::backupSubnetMask [BUFF_LENGTH_64]
 
char hostIf_IPv4Address::backupAddressingType [BUFF_LENGTH_16]
 
static class MoCAInterfaceQoSFlowStatsMoCAInterfaceQoSFlowStats::Instance = NULL
 
int MoCAInterfaceQoSFlowStats::get_PacketDA (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get the Destination Address (DA) for the packets in this flow. More...
 
int MoCAInterfaceQoSFlowStats::get_MaxRate (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get the maximum required rate in Kbps. More...
 
int MoCAInterfaceQoSFlowStats::get_MaxBurstSize (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get Maximum burst size of MoCA interface. More...
 
int MoCAInterfaceQoSFlowStats::get_LeaseTime (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get the flow lease time (expressed in seconds). A LeaseTime of 0 means unlimited lease time. More...
 
int MoCAInterfaceQoSFlowStats::get_LeaseTimeLeft (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get the Flow lease time remaining (expressed in seconds). More...
 
int MoCAInterfaceQoSFlowStats::get_FlowPackets (HOSTIF_MsgData_t *stMsgData, unsigned int entryNum, bool *pChanged=NULL)
 Get the number of packets transmitted for this flow. More...
 

Function Documentation

◆ get_Device_Ethernet_InterfaceNumberOfEntries()

int hostIf_EthernetInterface::get_Device_Ethernet_InterfaceNumberOfEntries ( HOSTIF_MsgData_t stMsgData,
bool *  pChanged = NULL 
)
static

Get the number of entries in the Interface table.

This function provides the number of entries in the Device.Ethernet.Interface.{i} table.

See TR-069 Device.Ethernet object Getter API

Definition at line 486 of file Device_Ethernet_Interface.cpp.

◆ get_Device_IP_InterfaceNumberOfEntries()

int hostIf_IP::get_Device_IP_InterfaceNumberOfEntries ( HOSTIF_MsgData_t stMsgData)
static

Get the number of entries in the Interface table.

This function provides the number of entries in the Interface table of the device.

See TR-069 Device.IP object Getter API

Definition at line 641 of file Device_IP.cpp.

◆ get_Device_IP_ActivePortNumberOfEntries()

int hostIf_IP::get_Device_IP_ActivePortNumberOfEntries ( HOSTIF_MsgData_t stMsgData)
static

Get the number of entries in the ActivePort table.

This function provides the number of entries in the ActivePort table of the device.

See TR-069 Device.IP object Getter API

Definition at line 652 of file Device_IP.cpp.

◆ get_PacketDA()

int MoCAInterfaceQoSFlowStats::get_PacketDA ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get the Destination Address (DA) for the packets in this flow.

This function provides the output as a string value available in Device.MoCA.Interface.{i}.QoS.FlowStats.PacketDA parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 67 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

◆ get_MaxRate()

int MoCAInterfaceQoSFlowStats::get_MaxRate ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get the maximum required rate in Kbps.

This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.QoS.FlowStats.MaxRate parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 76 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

◆ get_MaxBurstSize()

int MoCAInterfaceQoSFlowStats::get_MaxBurstSize ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get Maximum burst size of MoCA interface.

This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.QoS.FlowStats.MaxBurstSize parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 84 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

◆ get_LeaseTime()

int MoCAInterfaceQoSFlowStats::get_LeaseTime ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get the flow lease time (expressed in seconds). A LeaseTime of 0 means unlimited lease time.

This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.QoS.FlowStats.LeaseTime parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 91 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

◆ get_LeaseTimeLeft()

int MoCAInterfaceQoSFlowStats::get_LeaseTimeLeft ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get the Flow lease time remaining (expressed in seconds).

If LeaseTime is 0 then a LeaseTimeLeft of 0 means unlimited lease time; otherwise, a LeaseTimeLeft of 0 means expired.

This parameter is based on mocaIfLeaseTimeLeft from [MOCA11-MIB].

This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.QoS.FlowStats.LeaseTimeLeft parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 98 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

◆ get_FlowPackets()

int MoCAInterfaceQoSFlowStats::get_FlowPackets ( HOSTIF_MsgData_t stMsgData,
unsigned int  entryNum,
bool *  pChanged = NULL 
)

Get the number of packets transmitted for this flow.

This parameter is based on mocaIfTxPacketsFlow from [MOCA11-MIB].

This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.QoS.FlowStats.FlowPackets parameter.

Parameters
[out]stMsgDataTR-069 Host interface message request.
[in]entryNumEntry Number.
[out]pChangedpChange set to not NULL if the object value got changed.
Returns
Returns 0 on success, otherwise will return the appropriate error code.

Definition at line 105 of file Device_MoCA_Interface_QoS_FlowStats.cpp.

Variable Documentation

◆ enable [1/2]

bool Device_Ethernet_Interface::enable

Definition at line 122 of file Device_Ethernet_Interface.h.

◆ status [1/3]

char Device_Ethernet_Interface::status[_BUF_LEN_16]

Definition at line 123 of file Device_Ethernet_Interface.h.

◆ alias [1/2]

char Device_Ethernet_Interface::alias[64]

Definition at line 124 of file Device_Ethernet_Interface.h.

◆ name [1/2]

char Device_Ethernet_Interface::name[64]

Definition at line 125 of file Device_Ethernet_Interface.h.

◆ lastChange [1/2]

unsigned int Device_Ethernet_Interface::lastChange

Definition at line 126 of file Device_Ethernet_Interface.h.

◆ lowerLayers [1/2]

char Device_Ethernet_Interface::lowerLayers[1024]

Definition at line 127 of file Device_Ethernet_Interface.h.

◆ upStream

bool Device_Ethernet_Interface::upStream

Definition at line 128 of file Device_Ethernet_Interface.h.

◆ mACAddress

char Device_Ethernet_Interface::mACAddress[24]

Definition at line 129 of file Device_Ethernet_Interface.h.

◆ maxBitRate

int Device_Ethernet_Interface::maxBitRate

Definition at line 130 of file Device_Ethernet_Interface.h.

◆ duplexMode

char Device_Ethernet_Interface::duplexMode[_BUF_LEN_16]

Definition at line 131 of file Device_Ethernet_Interface.h.

◆ bytesSent

unsigned long Device_Ethernet_Interface_Stats::bytesSent

Definition at line 108 of file Device_Ethernet_Interface_Stats.h.

◆ bytesReceived

unsigned long Device_Ethernet_Interface_Stats::bytesReceived

Definition at line 109 of file Device_Ethernet_Interface_Stats.h.

◆ packetsSent

unsigned long Device_Ethernet_Interface_Stats::packetsSent

Definition at line 110 of file Device_Ethernet_Interface_Stats.h.

◆ packetsReceived

unsigned long Device_Ethernet_Interface_Stats::packetsReceived

Definition at line 111 of file Device_Ethernet_Interface_Stats.h.

◆ errorsSent

unsigned int Device_Ethernet_Interface_Stats::errorsSent

Definition at line 112 of file Device_Ethernet_Interface_Stats.h.

◆ errorsReceived

unsigned int Device_Ethernet_Interface_Stats::errorsReceived

Definition at line 113 of file Device_Ethernet_Interface_Stats.h.

◆ unicastPacketsSent

unsigned long Device_Ethernet_Interface_Stats::unicastPacketsSent

Definition at line 114 of file Device_Ethernet_Interface_Stats.h.

◆ unicastPacketsReceived

unsigned long Device_Ethernet_Interface_Stats::unicastPacketsReceived

Definition at line 115 of file Device_Ethernet_Interface_Stats.h.

◆ discardPacketsSent

unsigned int Device_Ethernet_Interface_Stats::discardPacketsSent

Definition at line 116 of file Device_Ethernet_Interface_Stats.h.

◆ discardPacketsReceived

unsigned int Device_Ethernet_Interface_Stats::discardPacketsReceived

Definition at line 117 of file Device_Ethernet_Interface_Stats.h.

◆ multicastPacketsSent

unsigned long Device_Ethernet_Interface_Stats::multicastPacketsSent

Definition at line 118 of file Device_Ethernet_Interface_Stats.h.

◆ multicastPacketsReceived

unsigned long Device_Ethernet_Interface_Stats::multicastPacketsReceived

Definition at line 119 of file Device_Ethernet_Interface_Stats.h.

◆ broadcastPacketsSent

unsigned long Device_Ethernet_Interface_Stats::broadcastPacketsSent

Definition at line 120 of file Device_Ethernet_Interface_Stats.h.

◆ broadcastPacketsReceived

unsigned long Device_Ethernet_Interface_Stats::broadcastPacketsReceived

Definition at line 121 of file Device_Ethernet_Interface_Stats.h.

◆ unknownProtoPacketsReceived

unsigned int Device_Ethernet_Interface_Stats::unknownProtoPacketsReceived

Definition at line 122 of file Device_Ethernet_Interface_Stats.h.

◆ iPv4Capable

bool Device_IP::iPv4Capable

Definition at line 112 of file Device_IP.h.

◆ iPv4Enable [1/2]

bool Device_IP::iPv4Enable

Definition at line 113 of file Device_IP.h.

◆ iPv4Status

char Device_IP::iPv4Status[16]

Definition at line 114 of file Device_IP.h.

◆ uLAPrefix

char Device_IP::uLAPrefix[16]

Definition at line 115 of file Device_IP.h.

◆ interfaceNumberOfEntries

unsigned int Device_IP::interfaceNumberOfEntries

Definition at line 116 of file Device_IP.h.

◆ activePortNumberOfEntries

unsigned int Device_IP::activePortNumberOfEntries

Definition at line 117 of file Device_IP.h.

◆ localIpAddress

char Device_IP_ActivePort::localIpAddress[16]

Definition at line 125 of file Device_IP_ActivePort.h.

◆ localPort

unsigned int Device_IP_ActivePort::localPort

Definition at line 126 of file Device_IP_ActivePort.h.

◆ remoteIpAddress

char Device_IP_ActivePort::remoteIpAddress[16]

Definition at line 127 of file Device_IP_ActivePort.h.

◆ remotePort

unsigned int Device_IP_ActivePort::remotePort

Definition at line 128 of file Device_IP_ActivePort.h.

◆ status [2/3]

char Device_IP_ActivePort::status[12]

Definition at line 129 of file Device_IP_ActivePort.h.

◆ enable [2/2]

bool Device_IP_Interface::enable

Definition at line 99 of file Device_IP_Interface.h.

◆ iPv4Enable [2/2]

bool Device_IP_Interface::iPv4Enable

Definition at line 100 of file Device_IP_Interface.h.

◆ iPv6Enable

bool Device_IP_Interface::iPv6Enable

Definition at line 101 of file Device_IP_Interface.h.

◆ uLAEnable

bool Device_IP_Interface::uLAEnable

Definition at line 102 of file Device_IP_Interface.h.

◆ status [3/3]

char Device_IP_Interface::status[24]

Definition at line 103 of file Device_IP_Interface.h.

◆ alias [2/2]

char Device_IP_Interface::alias[70]

Definition at line 104 of file Device_IP_Interface.h.

◆ name [2/2]

char Device_IP_Interface::name[70]

Definition at line 105 of file Device_IP_Interface.h.

◆ lastChange [2/2]

unsigned int Device_IP_Interface::lastChange

Definition at line 106 of file Device_IP_Interface.h.

◆ lowerLayers [2/2]

char Device_IP_Interface::lowerLayers[1024]

Definition at line 107 of file Device_IP_Interface.h.

◆ router

char Device_IP_Interface::router[256]

Definition at line 108 of file Device_IP_Interface.h.

◆ reset

bool Device_IP_Interface::reset

Definition at line 109 of file Device_IP_Interface.h.

◆ maxMTUSize

unsigned int Device_IP_Interface::maxMTUSize

Definition at line 110 of file Device_IP_Interface.h.

◆ type

char Device_IP_Interface::type[24]

Definition at line 111 of file Device_IP_Interface.h.

◆ loopback

bool Device_IP_Interface::loopback

Definition at line 112 of file Device_IP_Interface.h.

◆ iPv4AddressNumberOfEntries

unsigned int Device_IP_Interface::iPv4AddressNumberOfEntries

Definition at line 113 of file Device_IP_Interface.h.

◆ autoIPEnable

bool Device_IP_Interface::autoIPEnable

Definition at line 118 of file Device_IP_Interface.h.

◆ stIPInterfaceInstance

IPInterface hostIf_IPInterface::stIPInterfaceInstance
staticprivate
Initial value:
= {FALSE,FALSE,FALSE,FALSE,{"Down"},{'\0'},{'\0'},0,{'\0'},{'\0'},FALSE,0,{"Normal"},FALSE,0,
FALSE }

Definition at line 227 of file Device_IP_Interface.h.