Searched refs:optsize (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 711 socklen_t optsize = sizeof(optval); in ZTEST() local 716 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 719 zassert_equal(optsize, sizeof(optval), "getsockopt got invalid size"); in ZTEST() 721 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 724 zassert_equal(optsize, sizeof(optval), "getsockopt got invalid size"); in ZTEST() 881 socklen_t optsize = sizeof(optval); in ZTEST() local 886 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_PROTOCOL, &optval, &optsize); in ZTEST() 889 zassert_equal(optsize, sizeof(optval), "getsockopt got invalid size"); in ZTEST() 891 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_PROTOCOL, &optval, &optsize); in ZTEST() 894 zassert_equal(optsize, sizeof(optval), "getsockopt got invalid size"); in ZTEST()
|