Searched refs:oldest_hs (Results 1 – 1 of 1) sorted by relevance
1115 coap_session_t *oldest_hs = NULL; in coap_endpoint_get_session() local1145 if (oldest_hs == NULL || in coap_endpoint_get_session()1146 session->last_rx_tx < oldest_hs->last_rx_tx) in coap_endpoint_get_session()1147 oldest_hs = session; in coap_endpoint_get_session()1155 if (oldest_hs == NULL || in coap_endpoint_get_session()1156 session->last_rx_tx < oldest_hs->last_rx_tx) in coap_endpoint_get_session()1157 oldest_hs = session; in coap_endpoint_get_session()1167 } else if (oldest_hs) { in coap_endpoint_get_session()1169 coap_session_str(oldest_hs)); in coap_endpoint_get_session()1170 coap_handle_event(oldest_hs->context, COAP_EVENT_SERVER_SESSION_DEL, oldest_hs); in coap_endpoint_get_session()[all …]