Lines Matching refs:peer

99                  coap_address_t *peer UNUSED_PARAM,  in hnd_get_resource()
127 coap_address_t *peer UNUSED_PARAM, in hnd_put_resource()
193 if (coap_send(ctx, peer, response) == COAP_INVALID_TID) { in hnd_put_resource()
205 coap_address_t *peer UNUSED_PARAM, in hnd_delete_resource()
227 coap_address_t *peer UNUSED_PARAM, in hnd_get_rd()
295 coap_address_t *peer) { in add_source_address() argument
306 switch(peer->addr.sa.sa_family) { in add_source_address()
316 peer->addr.sin6.sin6_addr.s6_addr[0], in add_source_address()
317 peer->addr.sin6.sin6_addr.s6_addr[1], in add_source_address()
318 peer->addr.sin6.sin6_addr.s6_addr[2], in add_source_address()
319 peer->addr.sin6.sin6_addr.s6_addr[3], in add_source_address()
320 peer->addr.sin6.sin6_addr.s6_addr[4], in add_source_address()
321 peer->addr.sin6.sin6_addr.s6_addr[5], in add_source_address()
322 peer->addr.sin6.sin6_addr.s6_addr[6], in add_source_address()
323 peer->addr.sin6.sin6_addr.s6_addr[7], in add_source_address()
324 peer->addr.sin6.sin6_addr.s6_addr[8], in add_source_address()
325 peer->addr.sin6.sin6_addr.s6_addr[9], in add_source_address()
326 peer->addr.sin6.sin6_addr.s6_addr[10], in add_source_address()
327 peer->addr.sin6.sin6_addr.s6_addr[11], in add_source_address()
328 peer->addr.sin6.sin6_addr.s6_addr[12], in add_source_address()
329 peer->addr.sin6.sin6_addr.s6_addr[13], in add_source_address()
330 peer->addr.sin6.sin6_addr.s6_addr[14], in add_source_address()
331 peer->addr.sin6.sin6_addr.s6_addr[15]); in add_source_address()
333 if (peer->addr.sin6.sin6_port != htons(COAP_DEFAULT_PORT)) { in add_source_address()
335 snprintf(buf + n, BUFSIZE - n, ":%d", peer->addr.sin6.sin6_port); in add_source_address()
355 make_rd(coap_address_t *peer UNUSED_PARAM, coap_pdu_t *pdu) { in make_rd()
391 coap_address_t *peer, in hnd_post_rd() argument
502 add_source_address(r, peer); in hnd_post_rd()
506 rd = make_rd(peer, request); in hnd_post_rd()