Re: [PATCH glibc] hurd: define SO_TIMESTAMP in socket.h
Samuel Thibault <[email protected]>
| Newsgroups | gmane.os.hurd.bugs |
|---|---|
| Organization | I am not organized |
| Message-ID | <ahyHXTb3GQklaeLJ@end> |
Hello, [email protected], le dim. 31 mai 2026 15:57:49 -0300, a ecrit: > * sysdeps/mach/hurd/bits/socket.h: add SO_TIMESTAMP enum entry > and define corresponding preprocessor macro. We prefer to use the BSD values, that would be 0x400 according to freebsd. Samuel > --- > sysdeps/mach/hurd/bits/socket.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h > index fb73dea063..efdb05e769 100644 > --- a/sysdeps/mach/hurd/bits/socket.h > +++ b/sysdeps/mach/hurd/bits/socket.h > @@ -354,6 +354,8 @@ enum > SO_BROADCAST = 0x0020, /* Allow transmission of > broadcast messages. */ > #define SO_BROADCAST SO_BROADCAST > + SO_TIMESTAMP = 0x003f, /* Timestamp received messages. */ > +#define SO_TIMESTAMP SO_TIMESTAMP > SO_USELOOPBACK = 0x0040, /* Use the software loopback to avoid > hardware use when possible. */ > #define SO_USELOOPBACK SO_USELOOPBACK > -- > 2.53.0 > >