Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/net/
Dtxtimestamp.c484 unsigned int sock_opt; in do_test() local
563 sock_opt = SOF_TIMESTAMPING_SOFTWARE | in do_test()
568 sock_opt |= report_opt; in do_test()
571 sock_opt |= SOF_TIMESTAMPING_OPT_TSONLY; in do_test()
574 (char *) &sock_opt, sizeof(sock_opt))) in do_test()
/Linux-v6.6/tools/testing/selftests/bpf/
Dxskxceiver.c227 int sock_opt; in enable_busy_poll() local
229 sock_opt = 1; in enable_busy_poll()
231 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()
234 sock_opt = 20; in enable_busy_poll()
236 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()
239 sock_opt = BATCH_SIZE; in enable_busy_poll()
241 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()