Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/tcp_transport/test/
Dtest_transport_connect.c21 … { .level = SOL_SOCKET, .optname = SO_KEEPALIVE, .optval = 1, .opttype = SOCK_OPT_TYPE_BOOL }, in tcp_transport_keepalive_test()
28 expected_opts[1].optval = config->keep_alive_idle; in tcp_transport_keepalive_test()
30 expected_opts[2].optval = config->keep_alive_interval; in tcp_transport_keepalive_test()
32 expected_opts[3].optval = config->keep_alive_count; in tcp_transport_keepalive_test()
Dtcp_transport_fixtures.h14 int optval; member
Dtest_transport_fixtures.c299 TEST_ASSERT_EQUAL((bool)value, (bool) expected_opts[i].optval); in tcp_transport_test_socket_options()
301 TEST_ASSERT_EQUAL(value, expected_opts[i].optval); in tcp_transport_test_socket_options()
/hal_espressif-3.4.0/components/esp_wifi/src/
Dsmartconfig_ack.c79 int optval = 1; in sc_ack_send_task() local
124 if (setsockopt(send_sock, SOL_SOCKET, SO_BROADCAST, &optval, sizeof(int)) < 0) { in sc_ack_send_task()
129 if (setsockopt(send_sock, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(int)) < 0) { in sc_ack_send_task()
/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c394 int optval = 1; in vMBTCPPortSetKeepAlive() local
395 setsockopt(pxInfo->xSockId, SOL_SOCKET, SO_KEEPALIVE, &optval, sizeof(optval)); in vMBTCPPortSetKeepAlive()
/hal_espressif-3.4.0/docs/en/api-guides/
Dlwip.rst120 …d *optval, socklen_t *optlen)``. Its function is to get the current value of the option of any typ…