CLASSIC
Modul: eth
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_ETH_SECTION_8_4_10_Eth_GetRxStats
Wortlaut
8.4.10 Eth_GetRxStats
[SWS_Eth_00233] Definition of API function Eth_GetRxStats
Upstream requirements: SRS_Eth_00127
⌈
Service Name
Eth_GetRxStats
Syntax
Std_ReturnType Eth_GetRxStats (
uint8 CtrlIdx,
Eth_RxStatsType* RxStats
)
Service ID [hex]
0x15
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
CtrlIdx
Index of the controller within the context of the Driver
Parameters (inout)
None
Parameters (out)
RxStats
List of values according to IETF RFC 2819 (Remote Network
Monitoring Management Information Base)
Return value
Std_ReturnType
E_OK: success
E_NOT_OK: drop counter could not be obtained
Description
Returns the following list according to IETF RFC2819, where the maximal possible value shall
denote an invalid value, e.g. if this counter is not available: 1. etherStatsDropEvents 2. ether
StatsOctets 3. etherStatsPkts 4. etherStatsBroadcastPkts 5. etherStatsMulticastPkts 6. ether
StatsCrcAlignErrors 7. etherStatsUndersizePkts 8. etherStatsOversizePkts 9. etherStats
Fragments 10. etherStatsJabbers 11. etherStatsCollisions 12. etherStatsPkts64Octets 13.
etherStatsPkts65to127Octets 14. etherStatsPkts128to255Octets 15. etherStatsPkts256to511
Octets 16. etherStatsPkts512to1023Octets 17. etherStatsPkts1024to1518Octets
Available via
Eth.h
⌋
[SWS_Eth_00234] ⌈The function shall read a list of values from the indexed controller
according to [18].⌋
[SWS_Eth_00238] ⌈The function Eth_GetRxStats shall be pre compile time configurable On/Off by the configuration parameter: EthGetRxStatsApi.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_EthernetDriver.pdf |
|---|---|
| Dokumentseite | Seite 98 |
| Ziel-Modul | eth (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |