/Zephyr-latest/samples/net/sockets/socketpair/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-socketpair 2 :name: Socketpair 10 The sockets/socketpair sample application for Zephyr demonstrates a 13 socketpair(2), as you might have guessed. Such sockets are compatible 19 :zephyr_file:`samples/net/sockets/socketpair`. 32 :zephyr-app: samples/net/sockets/socketpair 44 Alpha: socketpair: 4 <=> 3 45 Bravo: socketpair: 6 <=> 5 46 Charlie: socketpair: 8 <=> 7 77 Alpha: socketpair: 3 <=> 4 [all …]
|
D | sample.yaml | 2 description: Socketpair sample 3 name: socketpair 14 sample.net.sockets.socketpair: {}
|
D | prj.conf | 4 # socketpair dependencies
|
/Zephyr-latest/tests/net/socket/socketpair/ |
D | testcase.yaml | 15 net.socket.socketpair: {} 16 net.socket.socketpair.newlib: 20 net.socket.socketpair.picolibc: 24 net.socket.socketpair.high_mem:
|
D | CMakeLists.txt | 5 project(socketpair) project
|
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | unsupported_calls.c | 21 "bind should fail on a socketpair endpoint"); in ZTEST_USER_F() 27 "connect should fail on a socketpair endpoint"); in ZTEST_USER_F() 33 "listen should fail on a socketpair endpoint"); in ZTEST_USER_F() 39 "accept should fail on a socketpair endpoint"); in ZTEST_USER_F()
|
D | expected_failures.c | 22 zassert_equal(res, -1, "socketpair should fail with bad address family"); in ZTEST_USER_F() 34 "socketpair should fail with unsupported socket type"); in ZTEST_USER_F() 46 "socketpair should fail with unsupported protocol"); in ZTEST_USER_F() 59 "socketpair should fail with invalid socket vector"); in ZTEST_USER_F()
|
D | happy_path.c | 18 const char *expected_msg = "Hello, socketpair(2) world!"; in happy_path() 51 "the wrong message was passed through the socketpair"); in happy_path() 76 "the wrong message was passed through the socketpair"); in happy_path() 104 "the wrong message was passed through the socketpair"); in happy_path()
|
D | closed_ends.c | 27 zassert_equal(res, 0, "socketpair() failed: %d", errno); in ZTEST_USER_F() 64 zassert_equal(res, 0, "socketpair() failed: %d", errno); in ZTEST_USER_F()
|
D | fcntl.c | 20 "socketpair should block by default"); in ZTEST_USER_F()
|
D | block.c | 12 /* the secondary-side socket of the socketpair */
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/ |
D | prj.conf | 45 # TFDServer.cpp for our server and socketpair() for our channel. We do not 53 # socketpair for channel: 2
|
D | overlay-tls.conf | 6 # Additionally, upstream Apache Thrift uses socketpair for cancellation rather
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | CMakeLists.txt | 39 zephyr_library_sources_ifdef(CONFIG_NET_SOCKETPAIR socketpair.c)
|
D | socketpair.c | 28 * Socketpair endpoint structure 30 * This structure represents one half of a socketpair (an 'endpoint'). 32 * The implementation strives for compatibility with socketpair(2). 35 * resources contained within the other half of the socketpair (or other 39 * - each end of a socketpair owns a @a recv_q 136 * This function deletes one endpoint of a socketpair. 139 * - we have a socketpair with two endpoints: A and B 210 * Create a @ref spair (1/2 of a socketpair) 286 SYS_PORT_TRACING_OBJ_FUNC_ENTER(socket, socketpair, family, type, proto, sv); in z_impl_zsock_socketpair() 329 SYS_PORT_TRACING_OBJ_FUNC_EXIT(socket, socketpair, sv[0], sv[1], 0); in z_impl_zsock_socketpair() [all …]
|
D | Kconfig | 326 bool "Support for socketpair" 339 Buffer size for socketpair(2) 342 prompt "Memory management for socketpair"
|
/Zephyr-latest/samples/net/sockets/socketpair/src/ |
D | main.c | 111 res = socketpair(AF_UNIX, SOCK_STREAM, 0, ctx[i].spair); in setup() 113 perror("socketpair"); in setup() 141 printf("%s: socketpair: %d <=> %d\n", in setup()
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/ |
D | main.cpp | 136 rv = socketpair(AF_UNIX, SOCK_STREAM, 0, &context.fds.front()); in thrift_test_before() 137 zassert_equal(0, rv, "socketpair failed: %d\n", rv); in thrift_test_before()
|
/Zephyr-latest/include/zephyr/posix/sys/ |
D | socket.h | 49 int socketpair(int family, int type, int proto, int sv[2]);
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLServerSocket.cpp | 71 GlobalOutput.perror("TServerSocket::listen() socketpair() interrupt", in listen() 82 GlobalOutput.perror("TServerSocket::listen() socketpair() childInterrupt", in listen()
|
/Zephyr-latest/modules/hostap/ |
D | Kconfig | 51 # z_wpa_event_sock - 1 socketpair = 2 55 # uses socketpair which pushes the stack usage causing overflow for 2048 bytes.
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.3.rst | 585 * Added support for socketpair() BSD socket API 694 * socketpair() function implemented. 731 * :github:`25960` - tests/net/socket/socketpair failed on mimxrt1050_evk and sam_e70_xplained. 735 * :github:`25925` - tests: net: socket: socketpair: fails due to empty message header name 750 …overity CID :210607] Uninitialized scalar variable in tests/net/socket/socketpair/src/test_socketp… 751 …overity CID :210579] Uninitialized scalar variable in tests/net/socket/socketpair/src/test_socketp… 753 * :github:`25793` - [Coverity CID :210561] Resource leak in tests/net/socket/socketpair/src/test_so… 756 …5788` - [Coverity CID :210581] Dereference before null check in subsys/net/lib/sockets/socketpair.c 759 …Coverity CID :210612] Negative array index read in samples/net/sockets/socketpair/src/socketpair_e… 785 * :github:`25737` - [Coverity CID :210585] Unchecked return value in samples/net/sockets/socketpair… [all …]
|
/Zephyr-latest/tests/posix/headers/src/ |
D | sys_socket_h.c | 120 zassert_not_null(socketpair); in ZTEST()
|
/Zephyr-latest/doc/connectivity/networking/ |
D | net_config_guide.rst | 96 This option is used by socketpair() function. It sets the size of the 98 messages can be passed between two socketpair endpoints.
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 397 int socketpair(int family, int type, int proto, int sv[2]) in socketpair() function
|