Home
last modified time | relevance | path

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

/systemd-251/src/test/ !
Dtest-socket-util.c421 …_cleanup_close_ int listen_stream = -1, listen_dgram = -1, listen_seqpacket = 1, connect_stream = … in TEST() local
426 listen_stream = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
427 assert_se(listen_stream >= 0); in TEST()
435 assert_se(flush_accept(listen_stream) < 0); in TEST()
439 assert_se(bind(listen_stream, &sa.sa, sizeof(sa_family_t)) >= 0); in TEST()
443 assert_se(flush_accept(listen_stream) < 0); in TEST()
447 assert_se(listen(listen_stream, SOMAXCONN) >= 0); in TEST()
451 assert_se(flush_accept(listen_stream) >= 0); in TEST()
465 assert_se(getsockname(listen_stream, &lsa.sa, &l) >= 0); in TEST()
476 assert_se(flush_accept(listen_stream) >= 0); in TEST()