Lines Matching refs:request
100 coap_pdu_t *request UNUSED_PARAM, in hnd_get_resource()
128 coap_pdu_t *request UNUSED_PARAM, in hnd_put_resource()
138 int type = (request->hdr->type == COAP_MESSAGE_CON) in hnd_put_resource()
148 etag = coap_check_option(request, COAP_OPTION_ETAG, &opt_iter); in hnd_put_resource()
152 if (coap_get_data(request, &tmp.length, &data)) { in hnd_put_resource()
183 response = coap_pdu_init(type, code, request->hdr->id, size); in hnd_put_resource()
186 debug("cannot create response for message %d\n", request->hdr->id); in hnd_put_resource()
190 if (request->hdr->token_length) in hnd_put_resource()
191 coap_add_token(response, request->hdr->token_length, request->hdr->token); in hnd_put_resource()
195 request->hdr->id); in hnd_put_resource()
206 coap_pdu_t *request UNUSED_PARAM, in hnd_delete_resource()
228 coap_pdu_t *request UNUSED_PARAM, in hnd_get_rd()
392 coap_pdu_t *request, in hnd_post_rd() argument
415 query = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter); in hnd_post_rd()
441 "%x", request->hdr->id); in hnd_post_rd()
506 rd = make_rd(peer, request); in hnd_post_rd()