![Logo](../../RDK-Logo.png) |
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
38 #ifdef USE_WIFI_PROFILE
39 #include "Device_WiFi_SSID_Stats.h"
41 GHashTable* hostIf_WiFi_SSID_Stats::ifHash = NULL;
53 ifHash = g_hash_table_new(NULL,NULL);
62 RDK_LOG(RDK_LOG_WARN,LOG_TR69HOSTIF,
"Caught exception, not able create hostIf_WiFi_SSID_Stats instance..\n");
64 g_hash_table_insert(ifHash, (gpointer)dev_id, pRet);
69 GList* hostIf_WiFi_SSID_Stats::getAllInstances()
72 return g_hash_table_get_keys(ifHash);
80 g_hash_table_remove(ifHash, (gconstpointer)pDev->dev_id);
85 void hostIf_WiFi_SSID_Stats::closeAllInstances()
89 GList* tmp_list = g_hash_table_get_values (ifHash);
94 tmp_list = tmp_list->next;
101 hostIf_WiFi_SSID_Stats::hostIf_WiFi_SSID_Stats(
int dev_id):
108 UnicastPacketsSent(0),
109 UnicastPacketsReceived(0),
110 DiscardPacketsSent(0),
111 DiscardPacketsReceived(0),
112 MulticastPacketsSent(0),
113 MulticastPacketsReceived(0),
114 BroadcastPacketsSent(0),
115 BroadcastPacketsReceived(0),
116 UnknownProtoPacketsReceived(0)
int get_Device_WiFi_SSID_Stats_DiscardPacketsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of outbound packets which were chosen to be discarded even though no errors had ...
int get_Device_WiFi_SSID_Stats_MulticastPacketsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets that higher-level protocols requested for transmission and which were...
int get_Device_WiFi_SSID_Stats_DiscardPacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of inbound packets which were chosen to be discarded even though no errors had b...
int get_Device_WiFi_SSID_Stats_MulticastPacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of received packets, delivered by this layer to a higher layer,...
int get_Device_WiFi_SSID_Stats_BytesSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of bytes transmitted out of the interface, including framing characters.
int get_Device_WiFi_SSID_Stats_PacketsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets transmitted out of the interface.
int get_Device_WiFi_SSID_Stats_UnicastPacketsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets requested for transmission which were not addressed to a multicast or...
int get_Device_WiFi_SSID_Stats_ErrorsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of inbound packets that contained errors preventing them from being delivered to...
int get_Device_WiFi_SSID_Stats_BroadcastPacketsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets that higher-level protocols requested for transmission and which were...
int get_Device_WiFi_SSID_Stats_ErrorsSent(HOSTIF_MsgData_t *stMsgData)
Get the total number of outbound packets that could not be transmitted because of errors.
int get_Device_WiFi_SSID_Stats_BytesReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of bytes received on the interface, including framing characters.
int get_Device_WiFi_SSID_Stats_UnknownProtoPacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets received via the interface which were discarded because of an unknown...
int get_Device_WiFi_SSID_Stats_PacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of packets received on the interface.
int get_Device_WiFi_SSID_Stats_UnicastPacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of received packets, delivered by this layer to a higher layer,...
int get_Device_WiFi_SSID_Stats_BroadcastPacketsReceived(HOSTIF_MsgData_t *stMsgData)
Get the total number of received packets, delivered by this layer to a higher layer,...