Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/landlock/
H A Dnet_test.c364 bool has_remote_port; in test_sendmsg() local
380 has_remote_port = (getpeername(client_fd, (struct sockaddr *)&peer_addr, in test_sendmsg()
389 if (sock_type == SOCK_STREAM && !has_remote_port) { in test_sendmsg()
409 if (sock_type == SOCK_STREAM && !has_remote_port) { in test_sendmsg()
420 } else if (srv == NULL && !has_remote_port) { in test_sendmsg()