Re: Unexpected PACKET_TX_TIMESTAMP Messages

2020-07-17 Thread Matt Sandy
xpect zero anyway. On Fri, Jul 17, 2020 at 3:51 PM Willem de Bruijn wrote: > > On Fri, Jul 17, 2020 at 1:52 PM Matt Sandy wrote: > > > > I've been playing around with raw sockets and timestamps, but seem to > > be getting strange timestamp data back on the errqueu

Unexpected PACKET_TX_TIMESTAMP Messages

2020-07-17 Thread Matt Sandy
I've been playing around with raw sockets and timestamps, but seem to be getting strange timestamp data back on the errqueue. Specifically, if I am creating a socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)) and requesting SO_TIMESTAMPING_NEW with options 0x4DF. I am not modifying the flags with contro