Searched refs:optval (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.4.0/components/tcp_transport/test/ |
D | test_transport_connect.c | 21 … { .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()
|
D | tcp_transport_fixtures.h | 14 int optval; member
|
D | test_transport_fixtures.c | 299 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/ |
D | smartconfig_ack.c | 79 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/ |
D | port_tcp_master.c | 394 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/ |
D | lwip.rst | 120 …d *optval, socklen_t *optlen)``. Its function is to get the current value of the option of any typ…
|