On 26.06.2022 12:31:59, Oliver Hartkopp wrote: > > What I was thinking is that tools such as tcpdump are able to get TX > > packets of ethernet interfaces even if not normally visible (because > > contrary to CAN, there is no default loopback). I was wondering if the > > same could be done with error queues, but as you can guess my research > > did lead anywhere. I also guess there is no official support but then, > > I am wondering how hard it would be to hack the error queues to expose > > them to the privileged processes. > > I wonder whether error queues are the right mechanism or if control messages > needed to be extended here - like for (hardware) rx timestamps. I think error queues are the official way for TX timestamps. Nonetheless tcpdump support for TX timestamps would be interesting. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature