Lines Matching defs:session

228 release_resource_data(coap_session_t *session COAP_UNUSED,
265 coap_session_t *session,
271 coap_add_data_large_response(resource, session, request, response,
279 coap_session_t *session,
322 coap_add_data_large_response(resource, session, request, response,
334 coap_session_t *session COAP_UNUSED,
382 coap_session_t *session COAP_UNUSED,
398 coap_session_t *session,
411 async = coap_find_async(session, token);
434 async = coap_register_async(session,
450 coap_add_data_large_response(resource, session, request, response,
467 coap_session_t *session,
489 coap_add_data_large_response(resource, session, request, response,
508 coap_session_t *session,
534 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session,
543 * the session is deleted as session_based is set here.
545 cache_entry = coap_new_cache_entry(session, request,
596 release_resource_data(session, example_data_value);
620 coap_add_data_large_response(resource, session, request, response,
640 coap_session_t *ongoing; /* Ongoing session */
641 coap_session_t *incoming; /* Incoming session */
776 get_proxy_session(coap_session_t *session, coap_pdu_t *response,
785 if (proxy_list[i].incoming == session) {
798 proxy_list[i].incoming = session;
827 remove_proxy_association(coap_session_t *session, int send_failure) {
832 if (proxy_list[i].incoming == session) {
836 if (proxy_list[i].ongoing == session && send_failure) {
878 get_ongoing_proxy_session(coap_session_t *session,
891 coap_context_t *context = coap_session_get_context(session);
893 new_proxy_list = get_proxy_session(session, response, token, query, req_code,
919 remove_proxy_association(session, 0);
966 remove_proxy_association(session, 0);
973 release_proxy_body_data(coap_session_t *session COAP_UNUSED,
980 coap_session_t *session,
1061 if (!get_proxy_session(session, response, &token, query, req_code, req_type))
1076 /* Send data on (opening session if appropriate) */
1078 ongoing = get_ongoing_proxy_session(session, response, &token,
1101 /* Use Uri-Path and Uri-Query - direct session */
1200 coap_session_t *session COAP_UNUSED,
1217 release_resource_data(session, dynamic_entry[i].value);
1242 coap_session_t *session,
1276 coap_add_data_large_response(resource, session, request, response,
1290 coap_session_t *session,
1383 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session,
1389 cache_entry = coap_new_cache_entry(session, request,
1450 release_resource_data(session, resource_entry->value);
1495 coap_add_data_large_response(resource, session, request, response,
1514 coap_session_t *session,
1548 coap_add_resource(coap_session_get_context(session), r);
1551 hnd_put_post(r, session, request, query, response);
1556 proxy_event_handler(coap_session_t *session,
1572 remove_proxy_association(session, 0);
1596 proxy_response_handler(coap_session_t *session,
1620 if (proxy_list[i].ongoing == session) {
1627 coap_log_debug("Unknown proxy ongoing session response received\n");
1719 proxy_nack_handler(coap_session_t *session,
1733 remove_proxy_association(session, 1);
1820 coap_session_t *session COAP_UNUSED,