Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()