<div dir="ltr">Hello,<div><br></div><div>I use RTEMS5 on mvme3100.</div><div>I would like to read network statistics. I am interested in the transmitted and received bytes and packets.</div><div>There is a function call </div><div><b>rtems_bsdnet_show_if_stats (void)</b><br></div><div>in </div><div><b>./cpukit/libnetworking/rtems/rtems_showifstat.c</b><br></div><div>which uses the BSP specific call:</div><div><b>(*ifp->if_ioctl)(ifp, SIO_RTEMS_SHOW_STATS, NULL);</b><br></div><div>which calls the BSP related function:</div><div><b>BSP_tsec_dump_stats()</b></div><div>in</div><div><b>bsps/powerpc/mvme3100/net/tsec.c</b><br></div><div><br></div><div>Is there a way to retrieve the network statistics in the generic way BSP independent?</div><div>Thank you.</div><div><br></div><div>Best Regards</div><div>Mirek </div></div>