|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
58 #ifndef DEVICE_ETHERNET_INTERFACE_STATS_H_
59 #define DEVICE_ETHERNET_INTERFACE_STATS_H_
66 #include "hostIf_tr69ReqHandler.h"
67 #include "hostIf_utils.h"
68 #include "hostIf_updateHandler.h"
72 #define LENGTH_PARAMETER 64
91 eUnicastPacketsReceived,
93 eDiscardPacketsReceived,
94 eMulticastPacketsSent,
95 eMulticastPacketsReceived,
96 eBroadcastPacketsSent,
97 eBroadcastPacketsReceived,
98 eUnknownProtoPacketsReceived
108 unsigned long bytesSent;
109 unsigned long bytesReceived;
110 unsigned long packetsSent;
111 unsigned long packetsReceived;
112 unsigned int errorsSent;
113 unsigned int errorsReceived;
114 unsigned long unicastPacketsSent;
115 unsigned long unicastPacketsReceived;
116 unsigned int discardPacketsSent;
117 unsigned int discardPacketsReceived;
118 unsigned long multicastPacketsSent;
119 unsigned long multicastPacketsReceived;
120 unsigned long broadcastPacketsSent;
121 unsigned long broadcastPacketsReceived;
122 unsigned int unknownProtoPacketsReceived;
176 static GHashTable *ifHash;
178 static GMutex *m_mutex;
188 int backupBytesReceived;
189 int backupPacketsSent;
190 int backupPacketsReceived;
191 int backupUnicastPacketsSent;
192 int backupUnicastPacketsReceived;
193 int backupMulticastPacketsReceived;
194 int backupBroadcastPacketsSent;
195 int backupBroadcastPacketsReceived;
196 int backupMulticastPacketsSent;
198 int backupErrorsReceived;
199 int backupErrorsSent;
200 int backupDiscardPacketsReceived;
202 bool bCalledBytesSent ;
203 bool bCalledBytesReceived ;
204 bool bCalledPacketsSent ;
205 bool bCalledPacketsReceived ;
206 bool bCalledErrorSent ;
207 bool bCalledErrorsReceived ;
208 bool bCalledErrorsSent ;
209 bool bCalledUnicastPacketsSent ;
210 bool bCalledDiscardPacketsReceived ;
211 bool bCalledDiscardPacketsSent;
212 bool bCalledUnicastPacketsReceived ;
213 bool bCalledMulticastPacketsReceived ;
214 bool bCalledBroadcastPacketsSent ;
215 bool bCalledBroadcastPacketsReceived ;
216 bool bCalledMulticastPacketsSent ;
217 bool bCalledUnknownProtoPacketsReceived;
224 static GList* getAllInstances();
226 static void closeAllInstances();
228 static void getLock();
230 static void releaseLock();
int get_Device_Ethernet_Interface_Stats_UnicastPacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of unicast packets received on an Ethernet Interface.
It contains the members variables of the EthernetInterfaceStats structure.
int get_Device_Ethernet_Interface_Stats_UnknownProtoPacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function get the number of Packets of unidentified protocol received on an Ethernet Interface....
This class provides the interface for getting Device ethernet interface status information.
int get_Device_Ethernet_Interface_Stats_BytesReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of bytes received on this Ethernet interface,...
int get_Device_Ethernet_Interface_Stats_MulticastPacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of Multicast Packets received on an Ethernet Interface.
int get_Device_Ethernet_Interface_Stats_ErrorsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of outbound packets that could not be transmitted because of ...
int get_Device_Ethernet_Interface_Stats_ErrorsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of inbound packets that contained errors preventing them from...
int get_Device_Ethernet_Interface_Stats_BroadcastPacketsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function get the number of Broadcast Packets sent on an Ethernet Interface. This function provid...
int get_Device_Ethernet_Interface_Stats_DiscardPacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of discarded inbound packets on an Ethernet Interface.
int get_Device_Ethernet_Interface_Stats_UnicastPacketsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function get the number of unicast packets for which a request is send on the IP Interface was r...
int get_Device_Ethernet_Interface_Stats_BroadcastPacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function get the number of Broadcast Packets received on an Ethernet Interface....
int get_Device_Ethernet_Interface_Stats_BytesSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of bytes transmitted out of this Ethernet interface,...
int get_Device_Ethernet_Interface_Stats_DiscardPacketsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function get the number of discarded outbound packets on an Ethernet Interface....
int get_Device_Ethernet_Interface_Stats_MulticastPacketsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of Multicast Packets sent on an Ethernet Interface.
hostIf_EthernetInterfaceStats(int dev_id)
Class Constructor of the class hostIf_EthernetInterfaceStats.
int get_Device_Ethernet_Interface_Stats_PacketsSent(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of packets transmitted out of this Ethernet interface.
EEthInterfaceStatsMembers
These values are the members of the EEthInterfaceStatsMembers enum.
int get_Device_Ethernet_Interface_Stats_PacketsReceived(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the total number of packets received on this Ethernet interface.