Home
last modified time | relevance | path

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

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_reconnect_test.py44 def _pick_and_bind_port(sock_opt): argument
53 s.setsockopt(socket.SOL_SOCKET, sock_opt, 1)
68 return port if port != 0 else _pick_and_bind_port(sock_opt)
81 sock_opt = _get_reuse_socket_option()
82 port = _pick_and_bind_port(sock_opt)
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c389 unsigned int sock_opt; in do_test() local
450 sock_opt = SOF_TIMESTAMPING_SOFTWARE | in do_test()
455 sock_opt |= report_opt; in do_test()
458 sock_opt |= SOF_TIMESTAMPING_OPT_TSONLY; in do_test()
461 (char *) &sock_opt, sizeof(sock_opt))) in do_test()
/external/curl/lib/vtls/
Dnss.c1811 static PRSocketOptionData sock_opt; in nss_set_blocking() local
1813 sock_opt.option = PR_SockOpt_Nonblocking; in nss_set_blocking()
1814 sock_opt.value.non_blocking = !blocking; in nss_set_blocking()
1816 if(PR_SetSocketOption(backend->handle, &sock_opt) != PR_SUCCESS) in nss_set_blocking()