SysEthernetInterfaceCounters (STRUCT)¶
TYPE SysEthernetInterfaceCounters : STRUCT
The “HC Interface Counters” and the “Interface Counters” of EIP plus a quality flag for each value and a struct version.
Quality Flags used in the runtime interface for reading the Ethernet interface settings.
These quality flags are not from the EIP specification, but were added by CODESYS. The idea behind this is to be able to say for each individual value of the respective STRUCT whether it has been filled correctly by the platform implementation.
Possible quality flags are: - ERR_OK: Value could be determined without errors - ERR_NOTIMPLEMENTED: Not implemented by this platform implementation - ERR_NOT_SUPPORTED: Not supported by this platform implementation - ERR_FAILED: Error: Value could not be determined
- InOut:
- Name - Type - Initial - Comment - structVersion- DWORD- 1 - Version number of this struct. This is version 1. To be increased on changes. - ifInNUcastPkts- DWORD- RFC 2863 InNUcastPackets:
- The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast or broadcast address at this sub-layer. 
 - ifInDiscards- DWORD- RFC 2863 InDiscards:
- The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. 
 - ifInErrors- DWORD- RFC 2863 InErrors:
- For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. 
 - ifInUnknownProtos- DWORD- RFC 2863 InUnknownProtos:
- For packet-oriented interfaces, the number of packets received via the interface which were discarded because of an unknown or unsupported protocol. For character-oriented or fixed-length interfaces that support protocol multiplexing the number of transmission units received via the interface which were discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter will always be 0. 
 - ifOutNUcastPkts- DWORD- RFC 2863 OutNUcastPkts:
- The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. 
 - ifOutDiscards- DWORD- RFC 2863 OutDiscards:
- The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. 
 - ifOutErrors- DWORD- RFC 2863 OutErrors:
- For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. 
 - hcInOctets- LWORD- The total number of octets received on the interface. This counter is a 64-bit version of In Octets. - hcInUcastPkts- LWORD- Unicast packets received on the interface. This counter is a 64-bit version of In Ucast Packets. - hcInMulticastPkts- LWORD- Multicast packets received on the interface. - hcInBroadcastPkts- LWORD- Broadcast packets received on the interface. - hcOutOctets- LWORD- Octets sent on the interface. This counter is a 64-bit version of Out Octets. - hcOutUcastPkts- LWORD- Unicast packets sent on the interface. This counter is a 64-bit version of Out Ucast Packets. - hcOutMulticastPkts- LWORD- Multicast packets sent on the interface. - hcOutBroadcastPkts- LWORD- Broadcast packets sent on the interface. - ifInNUcastPktsQuality- SysTypes.RTS_IEC_RESULT- ifInDiscardsQuality- SysTypes.RTS_IEC_RESULT- ifInErrorsQuality- SysTypes.RTS_IEC_RESULT- ifInUnknownProtosQuality- SysTypes.RTS_IEC_RESULT- ifOutNUcastPktsQuality- SysTypes.RTS_IEC_RESULT- ifOutDiscardsQuality- SysTypes.RTS_IEC_RESULT- ifOutErrorsQuality- SysTypes.RTS_IEC_RESULT- hcInOctetsQuality- SysTypes.RTS_IEC_RESULT- hcInUcastPktsQuality- SysTypes.RTS_IEC_RESULT- hcInMulticastPktsQuality- SysTypes.RTS_IEC_RESULT- hcInBroadcastPktsQuality- SysTypes.RTS_IEC_RESULT- hcOutOctetsQuality- SysTypes.RTS_IEC_RESULT- hcOutUcastPktsQuality- SysTypes.RTS_IEC_RESULT- hcOutMulticastPktsQuality- SysTypes.RTS_IEC_RESULT- hcOutBroadcastPktsQuality- SysTypes.RTS_IEC_RESULT
