Home
last modified time | relevance | path

Searched refs:listen_dgram (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
429 listen_dgram = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
430 assert_se(listen_dgram >= 0); in TEST()
436 assert_se(flush_accept(listen_dgram) < 0); in TEST()
440 assert_se(bind(listen_dgram, &sa.sa, sizeof(sa_family_t)) >= 0); in TEST()
444 assert_se(flush_accept(listen_dgram) < 0); in TEST()
448 assert_se(listen(listen_dgram, SOMAXCONN) < 0); in TEST()
452 assert_se(flush_accept(listen_dgram) < 0); in TEST()
469 assert_se(getsockname(listen_dgram, &lsa.sa, &l) >= 0); in TEST()
477 assert_se(flush_accept(listen_dgram) < 0); in TEST()