Searched refs:dtls_peer_t (Results 1 – 5 of 5) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ |
D | peer.c | 35 static inline dtls_peer_t * 37 return (dtls_peer_t *)malloc(sizeof(dtls_peer_t)); in dtls_malloc_peer() 41 dtls_free_peer(dtls_peer_t *peer) { in dtls_free_peer() 50 MEMB(peer_storage, dtls_peer_t, DTLS_PEER_MAX); 57 static inline dtls_peer_t * 63 dtls_free_peer(dtls_peer_t *peer) { in dtls_free_peer() 71 dtls_peer_t * 73 dtls_peer_t *peer; in dtls_new_peer() 77 memset(peer, 0, sizeof(dtls_peer_t)); in dtls_new_peer()
|
D | peer.h | 52 typedef struct dtls_peer_t { struct 56 struct dtls_peer_t *next; argument 66 } dtls_peer_t; argument 68 static inline dtls_security_parameters_t *dtls_security_params_epoch(dtls_peer_t *peer, uint16_t ep… in dtls_security_params_epoch() 79 static inline dtls_security_parameters_t *dtls_security_params(dtls_peer_t *peer) in dtls_security_params() 84 static inline dtls_security_parameters_t *dtls_security_params_next(dtls_peer_t *peer) in dtls_security_params_next() 97 static inline void dtls_security_params_free_other(dtls_peer_t *peer) in dtls_security_params_free_other() 109 static inline void dtls_security_params_switch(dtls_peer_t *peer) in dtls_security_params_switch() 130 dtls_peer_t *dtls_new_peer(const session_t *session); 133 void dtls_free_peer(dtls_peer_t *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() 209 static void dtls_stop_retransmission(dtls_context_t *context, dtls_peer_t *peer); 211 dtls_peer_t * 213 dtls_peer_t *p = NULL; in dtls_get_peer() 227 dtls_add_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_add_peer() 239 dtls_peer_t *peer = dtls_get_peer(ctx, dst); in dtls_write() 424 dtls_set_handshake_header(uint8 type, dtls_peer_t *peer, in dtls_set_handshake_header() 601 dtls_peer_t *peer, in calculate_key_block() 777 dtls_check_tls_extension(dtls_peer_t *peer, in dtls_check_tls_extension() [all …]
|
D | dtls.h | 228 dtls_peer_t *peers; /**< peer hash map */ 288 int dtls_connect_peer(dtls_context_t *ctx, dtls_peer_t *peer); 415 dtls_peer_t *dtls_get_peer(const dtls_context_t *context,
|
D | netq.h | 44 dtls_peer_t *peer; /**< remote address */
|