Lines Matching full:socket

12 #include <zephyr/net/socket.h>
424 zassert_true(test_sock >= 0, "Failed to create socket"); in test_socket_setup_udp()
426 "Socket should'nt have been dispatched yet"); in test_socket_setup_udp()
435 zassert_true(test_sock >= 0, "Failed to create socket"); in test_socket_setup_tls()
437 "Socket should'nt have been dispatched yet"); in test_socket_setup_tls()
451 /* Verify that socket is not dispatched when close() is called immediately after
452 * creating dispatcher socket.
462 "Socket should'nt have been dispatched"); in ZTEST()
467 /* Verify that socket is automatically dispatched to a default socket
477 "Socket should've been dispatched"); in ZTEST()
482 /* Verify that socket is automatically dispatched to a default socket
493 "Socket should've been dispatched"); in ZTEST()
498 /* Verify that socket is automatically dispatched to a default socket
511 "Socket should've been dispatched"); in ZTEST()
516 /* Verify that socket is automatically dispatched to a default socket
527 "Socket should've been dispatched"); in ZTEST()
532 /* Verify that socket is automatically dispatched to a default socket
542 "Socket should've been dispatched"); in ZTEST()
547 /* Verify that socket is automatically dispatched to a default socket
559 "Socket should've been dispatched"); in ZTEST()
564 /* Verify that socket is automatically dispatched to a default socket
577 "Socket should've been dispatched"); in ZTEST()
582 /* Verify that socket is automatically dispatched to a default socket
593 "Socket should've been dispatched"); in ZTEST()
598 /* Verify that socket is automatically dispatched to a default socket
611 "Socket should've been dispatched"); in ZTEST()
616 /* Verify that socket is automatically dispatched to a default socket
628 "Socket should've been dispatched"); in ZTEST()
633 /* Verify that socket is automatically dispatched to a default socket
644 "Socket should've been dispatched"); in ZTEST()
649 /* Verify that socket is automatically dispatched to a default socket
661 "Socket should've been dispatched"); in ZTEST()
666 /* Verify that socket is automatically dispatched to a default socket
678 "Socket should've been dispatched"); in ZTEST()
683 /* Verify that socket is dispatched to a proper offloaded socket implementation
684 * if the socket is bound to an offloaded interface.
705 "Socket dispatched to wrong iface"); in ZTEST()
707 "Socket should've been dispatched to offloaded iface 2"); in ZTEST()
718 /* Verify that socket is dispatched to a native socket implementation
719 * if the socket is bound to a native interface.
739 "Socket dispatched to wrong iface"); in ZTEST()
741 "Socket dispatched to wrong iface"); in ZTEST()
751 /* Verify that the underlying socket is dispatched to a proper offloaded socket
752 * implementation if native TLS is used and the socket is bound to an offloaded
774 "TLS socket dispatched to wrong iface"); in ZTEST()
776 "TLS socket dispatched to wrong iface"); in ZTEST()
780 zassert_true(net_socket_is_tls(obj), "Socket is not a native TLS sock"); in ZTEST()
786 "Underlying socket dispatched to wrong iface"); in ZTEST()
788 "Underlying socket dispatched to wrong iface"); in ZTEST()
798 /* Verify that the underlying socket is dispatched to a native socket
799 * implementation if native TLS is used and the socket is bound to a native
821 "TLS socket dispatched to wrong iface"); in ZTEST()
823 "TLS socket dispatched to wrong iface"); in ZTEST()
827 zassert_true(net_socket_is_tls(obj), "Socket is not a native TLS sock"); in ZTEST()
833 "Underlying socket dispatched to wrong iface"); in ZTEST()
835 "Underlying socket dispatched to wrong iface"); in ZTEST()