Lines Matching refs:PING_CHECK
36 #define PING_CHECK(a, str, goto_tag, ret_value, ...) \ macro
219 PING_CHECK(config, "ping config can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_new_session()
220 PING_CHECK(hdl_out, "ping handle can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_new_session()
223 PING_CHECK(ep, "no memory for esp_ping object", err, ESP_ERR_NO_MEM); in esp_ping_new_session()
231 PING_CHECK(xReturned == pdTRUE, "create ping task failed", err, ESP_ERR_NO_MEM); in esp_ping_new_session()
246 PING_CHECK(ep->packet_hdr, "no memory for echo packet", err, ESP_ERR_NO_MEM); in esp_ping_new_session()
270 PING_CHECK(ep->sock > 0, "create socket failed: %d", err, ESP_FAIL, ep->sock); in esp_ping_new_session()
330 PING_CHECK(ep, "ping handle can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_delete_session()
342 PING_CHECK(ep, "ping handle can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_start()
354 PING_CHECK(ep, "ping handle can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_stop()
367 PING_CHECK(ep, "ping handle can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_get_profile()
368 PING_CHECK(data, "profile data can't be null", err, ESP_ERR_INVALID_ARG); in esp_ping_get_profile()
403 PING_CHECK(false, "unknow profile: %d", err, ESP_ERR_INVALID_ARG, profile); in esp_ping_get_profile()
406 …PING_CHECK(size >= copy_size, "unmatched data size for profile %d", err, ESP_ERR_INVALID_SIZE, pro… in esp_ping_get_profile()