X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/12ec364a504c247dd1ef41ab40687ad4aad6ccc4..12c9e87e0b64091e2d35f5abcb5007ecb8a0d115:/latester/latester.c diff --git a/latester/latester.c b/latester/latester.c index 0329f48..6b5c7ed 100644 --- a/latester/latester.c +++ b/latester/latester.c @@ -21,7 +21,7 @@ #include #include #include -#include +//#include #include #include #include @@ -302,10 +302,10 @@ void *measure_thread(void *arg) ×tamp_on, sizeof(timestamp_on)) < 0) error(1, errno, "setsockopt SO_TIMESTAMP"); - const int dropmonitor_on = 1; - if (setsockopt(s, SOL_SOCKET, SO_RXQ_OVFL, - &dropmonitor_on, sizeof(dropmonitor_on)) < 0) - error(1, errno, "setsockopt SO_RXQ_OVFL not supported by your Linux Kernel"); +// const int dropmonitor_on = 1; +// if (setsockopt(s, SOL_SOCKET, SO_RXQ_OVFL, +// &dropmonitor_on, sizeof(dropmonitor_on)) < 0) +// error(1, errno, "setsockopt SO_RXQ_OVFL not supported by your Linux Kernel"); pfd[i].fd = s; pfd[i].events = (i == 0) ? POLLERR : POLLIN;