SO_TIMESTAMP
#elif defined(SO_TIMESTAMP) && defined(SCM_TIMESTAMP)
if (setsockopt(s, SOL_SOCKET, SO_TIMESTAMP, (void*)&on, (socklen_t)sizeof(on)) < 0) {
cmsg->cmsg_type == SO_TIMESTAMP) {
#elif defined(SO_TIMESTAMP) && defined(SCM_TIMESTAMP)
#ifndef SO_TIMESTAMP
case SO_TIMESTAMP:
case SO_TIMESTAMP:
case SO_TIMESTAMP:
if (ISSET(so->so_options, SO_TIMESTAMP)) {
if (inp->inp_socket->so_options & SO_TIMESTAMP) {
if (inp->inp_flags & INP_CONTROLOPTS || so->so_options & SO_TIMESTAMP)
so->so_options & SO_TIMESTAMP))
so->so_options & SO_TIMESTAMP))
if (inp->inp_socket->so_options & SO_TIMESTAMP) {
if (setsockopt(sock->fd, SOL_SOCKET, SO_TIMESTAMP,
if (setsockopt(p->query.fd, SOL_SOCKET, SO_TIMESTAMP,
#elif defined(SO_TIMESTAMP) && defined(SCM_TIMESTAMP)
if (setsockopt(s, SOL_SOCKET, SO_TIMESTAMP, (void*)&on, (socklen_t)sizeof(on)) < 0) {
cmsg->cmsg_type == SO_TIMESTAMP) {
#elif defined(SO_TIMESTAMP) && defined(SCM_TIMESTAMP)
#ifndef SO_TIMESTAMP