/net-tools-3.7.0/tinydtls-0.8.2/ |
D | peer.h | 68 static inline dtls_security_parameters_t *dtls_security_params_epoch(dtls_peer_t *peer, uint16_t ep… in dtls_security_params_epoch() argument 70 if (peer->security_params[0] && peer->security_params[0]->epoch == epoch) { in dtls_security_params_epoch() 71 return peer->security_params[0]; in dtls_security_params_epoch() 72 } else if (peer->security_params[1] && peer->security_params[1]->epoch == epoch) { in dtls_security_params_epoch() 73 return peer->security_params[1]; in dtls_security_params_epoch() 79 static inline dtls_security_parameters_t *dtls_security_params(dtls_peer_t *peer) in dtls_security_params() argument 81 return peer->security_params[0]; in dtls_security_params() 84 static inline dtls_security_parameters_t *dtls_security_params_next(dtls_peer_t *peer) in dtls_security_params_next() argument 86 if (peer->security_params[1]) in dtls_security_params_next() 87 dtls_security_free(peer->security_params[1]); in dtls_security_params_next() [all …]
|
D | peer.c | 41 dtls_free_peer(dtls_peer_t *peer) { in dtls_free_peer() argument 42 dtls_handshake_free(peer->handshake_params); in dtls_free_peer() 43 dtls_security_free(peer->security_params[0]); in dtls_free_peer() 44 dtls_security_free(peer->security_params[1]); in dtls_free_peer() 45 free(peer); in dtls_free_peer() 63 dtls_free_peer(dtls_peer_t *peer) { in dtls_free_peer() argument 64 dtls_handshake_free(peer->handshake_params); in dtls_free_peer() 65 dtls_security_free(peer->security_params[0]); in dtls_free_peer() 66 dtls_security_free(peer->security_params[1]); in dtls_free_peer() 67 memb_free(&peer_storage, peer); in dtls_free_peer() [all …]
|
D | dtls.c | 180 dtls_send_multi(dtls_context_t *ctx, dtls_peer_t *peer, 200 dtls_send(dtls_context_t *ctx, dtls_peer_t *peer, unsigned char type, in dtls_send() argument 202 return dtls_send_multi(ctx, peer, dtls_security_params(peer), &peer->session, in dtls_send() 209 static void dtls_stop_retransmission(dtls_context_t *context, dtls_peer_t *peer); 227 dtls_add_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_add_peer() argument 229 HASH_ADD_PEER(ctx->peers, session, peer); in dtls_add_peer() 231 list_add(ctx->peers, peer); in dtls_add_peer() 239 dtls_peer_t *peer = dtls_get_peer(ctx, dst); in dtls_write() local 242 if (!peer) { /* no ==> create one */ in dtls_write() 252 if (peer->state != DTLS_STATE_CONNECTED) { in dtls_write() [all …]
|
D | netq.h | 44 dtls_peer_t *peer; /**< remote address */ member
|
D | Makefile.tinydtls | 24 tinydtls_src = dtls.c crypto.c hmac.c rijndael.c sha2.c ccm.c netq.c ecc.c dtls_time.c peer.c sessi…
|
D | Makefile.in | 45 SOURCES:= dtls.c crypto.c ccm.c hmac.c netq.c peer.c dtls_time.c session.c 52 netq.h t_list.h alert.h utlist.h prng.h peer.h state.h dtls_time.h session.h \
|
D | dtls.h | 288 int dtls_connect_peer(dtls_context_t *ctx, dtls_peer_t *peer);
|
/net-tools-3.7.0/libcoap/examples/ |
D | coap-rd.c | 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() [all …]
|
D | coap-server.c | 72 coap_address_t *peer UNUSED_PARAM, in hnd_get_index() 95 coap_address_t *peer, in hnd_get_time() argument 113 if (coap_find_observer(resource, peer, token)) { in hnd_get_time() 162 coap_address_t *peer UNUSED_PARAM, in hnd_put_time() 198 coap_address_t *peer UNUSED_PARAM, in hnd_delete_time() 213 coap_address_t *peer, in hnd_get_async() argument 241 peer, in hnd_get_async() 277 if (coap_send(ctx, local_if, &async->peer, response) == COAP_INVALID_TID) { in check_async()
|
D | etsi_iot_01.c | 130 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_index() argument 148 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_resource() argument 224 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_delete_resource() argument 240 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_post_test() argument 306 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_put_test() argument 357 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_delete_test() argument 373 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_query() argument 411 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_separate() argument 450 async = coap_register_async(ctx, peer, request, COAP_ASYNC_SEPARATE, in hnd_get_separate() 487 if (coap_send(ctx, &async->peer, response) == COAP_INVALID_TID) { in check_async()
|
/net-tools-3.7.0/libcoap/src/ |
D | async.c | 24 coap_register_async(coap_context_t *context, coap_address_t *peer, in coap_register_async() argument 29 coap_transaction_id(peer, request, &id); in coap_register_async() 56 memcpy(&s->peer, peer, sizeof(coap_address_t)); in coap_register_async()
|
D | resource.c | 523 coap_find_observer(coap_resource_t *resource, const coap_address_t *peer, argument 528 assert(peer); 531 if (coap_address_equals(&s->subscriber, peer) 708 const coap_address_t *peer, argument 713 if (coap_address_equals(peer, &obs->subscriber) && 748 const coap_address_t *peer, argument 752 coap_remove_failed_observers(context, r, peer, token);
|
D | net.c | 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() [all …]
|
/net-tools-3.7.0/libcoap/include/coap/ |
D | async.h | 49 coap_address_t peer; /**< the peer to notify */ member 86 coap_address_t *peer,
|
D | resource.h | 310 const coap_address_t *peer,
|
D | net.h | 390 void coap_transaction_id(const coap_address_t *peer,
|
/net-tools-3.7.0/libcoap/examples/contiki/ |
D | server.c | 94 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_time() argument 110 if (coap_find_observer(resource, peer, token)) { in hnd_get_time()
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ecjpake.function | 65 /* Load my private and public keys, and peer's public keys */
|
/net-tools-3.7.0/mbedtls-2.4.0/ |
D | ChangeLog | 1957 peer may cause xyssl to loop indefinitely by sending a certificate
|