recvmsg() length report
Hal Murray
halmurray at sonic.net
Wed Feb 5 01:32:31 UTC 2025
> As Alice would say, "curiouser and curiouser". Just when I think I've
> figured out the reason for one bit of bizarreness, you find another. :-)
I think the current code works on all my systems.
> What's the breakdown in the 32-bit NetBSD case? One would hope that the
> payload is 64+32 and not vice versa.
#define NTP_SIZEOF_LONG 4 /* Size of long from <None> */
#define NTP_SIZEOF_STRUCT_TIMESPEC 12 /* Size of struct timespec from
<time.h> *
/
#define NTP_SIZEOF_STRUCT_TIMEVAL 12 /* Size of struct timeval from
<sys/time.h>
*/
#define NTP_SIZEOF_TIME_T 8 /* Size of time_t from <time.h> */
[This is an example of why I want that sizeof stuff.]
--
These are my opinions. I hate spam.
More information about the devel
mailing list