21 #include <sys/types.h> 22 #include <sys/socket.h> 23 #include <sys/ioctl.h> 24 #include <linux/sockios.h> 35 if (::ioctl(
fd(), SIOCGSTAMP, &tv) < 0)
43 if (::ioctl(
fd(), SIOCGSTAMPNS, spec) < 0)
config::time_type clock_type
#define SENF_THROW_SYSTEM_EXCEPTION(desc)
int fd() const
Get file descriptor.
DatagramSocketProtocol public header.
ClockService::clock_type timestamp() const
Return packet timestamp of last packet.
static clock_type from_timeval(timeval const &time)