RTEMS5 and network statistics

Miroslaw Dach miroslaw.dach at gmail.com
Wed Jan 11 22:57:55 UTC 2023


Hello,

I use RTEMS5 on mvme3100.
I would like to read network statistics. I am interested in the transmitted
and received bytes and packets.
There is a function call
*rtems_bsdnet_show_if_stats (void)*
in
*./cpukit/libnetworking/rtems/rtems_showifstat.c*
which uses the BSP specific call:
*(*ifp->if_ioctl)(ifp, SIO_RTEMS_SHOW_STATS, NULL);*
which calls the BSP related function:
*BSP_tsec_dump_stats()*
in
*bsps/powerpc/mvme3100/net/tsec.c*

Is there a way to retrieve the network statistics in the generic way BSP
independent?
Thank you.

Best Regards
Mirek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20230111/201cea33/attachment.htm>


More information about the users mailing list