Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 11:31:04 +0000
From:      <>
To:        <>
Subject:   HW timestamping e1000
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi everybody,

Currently I am writing a piece of code to test HW timestamping on e1000 dur=
ing reception, which runs on FreeBSD 12, but unfortunately it seems that it=
 isn't working.

The socket is created and configured as follows:

sockfd =3D socket(AF_INET, SOCK_DGRAM, 0);
int on =3D 1;
setsockopt(sockfd, SOL_SOCKET, SO_TIMESTAMP, &on, sizeof(on));

After recvmsg() is called, cmsg_type of received control messages are print=
ed out with help of the control message routines (
gi/man.cgi?query=3DCMSG_DATA). SCM_TIME_INFO should be printed out but it's=

Is there any configuration missing? Does e1000 support HW timestamping righ=

I will appreciate any help.

Best regards,

Deutsches Zentrum f=FCr Luft- und Raumfahrt e.V. (DLR)
Institute for Software Technology | SC-OSS | Lilienthalplatz 7 | 38108 Brau=
nschweig  | Germany

Gabriel Moyano | Research Scientist in Onboard Software Systems group<><>;

Want to link to this message? Use this URL: <>