Lines Matching refs:addr_hash
119 const coap_addr_hash_t *addr_hash, const coap_address_t *local_addr, in coap_make_session() argument
128 if (addr_hash) in coap_make_session()
129 memcpy(&session->addr_hash, addr_hash, sizeof(session->addr_hash)); in coap_make_session()
131 memset(&session->addr_hash, 0, sizeof(session->addr_hash)); in coap_make_session()
611 coap_make_addr_hash(coap_addr_hash_t *addr_hash, coap_proto_t proto, in coap_make_addr_hash() argument
613 memset(addr_hash, 0, sizeof(coap_addr_hash_t)); in coap_make_addr_hash()
614 coap_address_copy(&addr_hash->remote, &addr_info->remote); in coap_make_addr_hash()
615 addr_hash->lport = coap_address_get_port(&addr_info->local); in coap_make_addr_hash()
616 addr_hash->proto = proto; in coap_make_addr_hash()
628 coap_addr_hash_t addr_hash; in coap_endpoint_get_session() local
635 coap_make_addr_hash(&addr_hash, endpoint->proto, &packet->addr_info); in coap_endpoint_get_session()
636 SESSIONS_FIND(endpoint->sessions, addr_hash, session); in coap_endpoint_get_session()
744 &addr_hash, &packet->addr_info.local, in coap_endpoint_get_session()
1192 coap_make_addr_hash(&session->addr_hash, session->proto, &session->addr_info); in coap_new_server_session()