Searched refs:listen_seqpacket (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/test/ |
D | test-socket-util.c | 421 …_cleanup_close_ int listen_stream = -1, listen_dgram = -1, listen_seqpacket = 1, connect_stream = … in TEST() local 432 listen_seqpacket = socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST() 433 assert_se(listen_seqpacket >= 0); in TEST() 437 assert_se(flush_accept(listen_seqpacket) < 0); in TEST() 441 assert_se(bind(listen_seqpacket, &sa.sa, sizeof(sa_family_t)) >= 0); in TEST() 445 assert_se(flush_accept(listen_seqpacket) < 0); in TEST() 449 assert_se(listen(listen_seqpacket, SOMAXCONN) >= 0); in TEST() 453 assert_se(flush_accept(listen_seqpacket) >= 0); in TEST() 473 assert_se(getsockname(listen_seqpacket, &lsa.sa, &l) >= 0); in TEST() 478 assert_se(flush_accept(listen_seqpacket) >= 0); in TEST()
|