Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c28 static bool timeout_expired(struct coap_client_internal_request *internal_req);
89 struct coap_client_internal_request *internal_req) in coap_client_schedule_poll() argument
92 memcpy(&internal_req->coap_request, req, sizeof(struct coap_client_request)); in coap_client_schedule_poll()
93 internal_req->request_ongoing = true; in coap_client_schedule_poll()
100 static bool exchange_lifetime_exceeded(struct coap_client_internal_request *internal_req) in exchange_lifetime_exceeded() argument
104 if (coap_header_get_type(&internal_req->request) == COAP_TYPE_NON_CON) { in exchange_lifetime_exceeded()
108 if (internal_req->pending.t0 == 0) { in exchange_lifetime_exceeded()
112 time_since_t0 = k_uptime_get() - internal_req->pending.t0; in exchange_lifetime_exceeded()
114 (internal_req->pending.params.ack_timeout * COAP_EXCHANGE_LIFETIME_FACTOR); in exchange_lifetime_exceeded()
199 struct coap_client_internal_request *internal_req, in coap_client_init_request() argument
[all …]