Lines Matching refs:peer
496 coap_transaction_id(const coap_address_t *peer, const coap_pdu_t *pdu, in coap_transaction_id() argument
505 switch (peer->addr.sa.sa_family) { in coap_transaction_id()
507 coap_hash((const unsigned char *)&peer->addr.sin.sin_port, in coap_transaction_id()
508 sizeof(peer->addr.sin.sin_port), h); in coap_transaction_id()
509 coap_hash((const unsigned char *)&peer->addr.sin.sin_addr, in coap_transaction_id()
510 sizeof(peer->addr.sin.sin_addr), h); in coap_transaction_id()
513 coap_hash((const unsigned char *)&peer->addr.sin6.sin6_port, in coap_transaction_id()
514 sizeof(peer->addr.sin6.sin6_port), h); in coap_transaction_id()
515 coap_hash((const unsigned char *)&peer->addr.sin6.sin6_addr, in coap_transaction_id()
516 sizeof(peer->addr.sin6.sin6_addr), h); in coap_transaction_id()
524 coap_hash((const unsigned char *)&peer->port, sizeof(peer->port), h); in coap_transaction_id()
525 coap_hash((const unsigned char *)&peer->addr, sizeof(peer->addr), h); in coap_transaction_id()