Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/
Dtxtimestamp.c489 unsigned int sock_opt; in do_test() local
568 sock_opt = SOF_TIMESTAMPING_SOFTWARE | in do_test()
573 sock_opt |= report_opt; in do_test()
576 sock_opt |= SOF_TIMESTAMPING_OPT_TSONLY; in do_test()
579 (char *) &sock_opt, sizeof(sock_opt))) in do_test()
/linux-6.12.1/tools/testing/selftests/bpf/
Dxskxceiver.c242 int sock_opt; in enable_busy_poll() local
244 sock_opt = 1; in enable_busy_poll()
246 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()
249 sock_opt = 20; in enable_busy_poll()
251 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()
254 sock_opt = xsk->batch_size; in enable_busy_poll()
256 (void *)&sock_opt, sizeof(sock_opt)) < 0) in enable_busy_poll()