Home
last modified time | relevance | path

Searched refs:hwtstamp (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c33 bool hwtstamp; member
144 if (t->expected.swtstamp || t->expected.hwtstamp) { in print_test_case()
148 if (t->expected.swtstamp && t->expected.hwtstamp) in print_test_case()
150 if (t->expected.hwtstamp) in print_test_case()
219 actual.hwtstamp = !!ts->ts[2].tv_sec; in do_recv()
241 VALIDATE(hwtstamp); in do_recv()
Dtimestamping.c308 struct ifreq hwtstamp; in main() local
357 memset(&hwtstamp, 0, sizeof(hwtstamp)); in main()
358 strncpy(hwtstamp.ifr_name, interface, sizeof(hwtstamp.ifr_name)); in main()
359 hwtstamp.ifr_data = (void *)&hwconfig; in main()
368 if (ioctl(sock, SIOCSHWTSTAMP, &hwtstamp) < 0) { in main()