Searched refs:dtls_context_t (Results 1 – 7 of 7) sorted by relevance
/net-tools-3.7.0/tinydtls-0.8.2/ |
D | dtls.h | 73 struct dtls_context_t; 99 int (*write)(struct dtls_context_t *ctx, 114 int (*read)(struct dtls_context_t *ctx, 129 int (*event)(struct dtls_context_t *ctx, session_t *session, 155 int (*get_psk_info)(struct dtls_context_t *ctx, 184 int (*get_ecdsa_key)(struct dtls_context_t *ctx, 214 int (*verify_ecdsa_key)(struct dtls_context_t *ctx, 223 typedef struct dtls_context_t { struct 242 } dtls_context_t; argument 253 dtls_context_t *dtls_new_context(void *app_data); [all …]
|
D | dtls.c | 138 static dtls_context_t the_dtls_context; 140 static inline dtls_context_t * 146 free_context(dtls_context_t *context) { in free_context() 151 static inline dtls_context_t * 153 return (dtls_context_t *)malloc(sizeof(dtls_context_t)); in malloc_context() 157 free_context(dtls_context_t *context) { in free_context() 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); 212 dtls_get_peer(const dtls_context_t *ctx, const session_t *session) { in dtls_get_peer() [all …]
|
/net-tools-3.7.0/tinydtls-0.8.2/examples/contiki/ |
D | dtls-client.c | 67 static dtls_context_t *dtls_context; 90 try_send(struct dtls_context_t *ctx, session_t *dst) { in try_send() 100 read_from_peer(struct dtls_context_t *ctx, in read_from_peer() 109 send_to_peer(struct dtls_context_t *ctx, in send_to_peer() 147 get_psk_info(struct dtls_context_t *ctx UNUSED_PARAM, in get_psk_info() 183 get_ecdsa_key(struct dtls_context_t *ctx, in get_ecdsa_key() 198 verify_ecdsa_key(struct dtls_context_t *ctx, in verify_ecdsa_key() 211 dtls_handle_read(dtls_context_t *ctx) { in dtls_handle_read()
|
D | dtls-server.c | 61 static dtls_context_t *dtls_context; 82 read_from_peer(struct dtls_context_t *ctx, in read_from_peer() 94 send_to_peer(struct dtls_context_t *ctx, in send_to_peer() 120 get_psk_info(struct dtls_context_t *ctx, const session_t *session, in get_psk_info() 164 get_ecdsa_key(struct dtls_context_t *ctx, in get_ecdsa_key() 179 verify_ecdsa_key(struct dtls_context_t *ctx, in verify_ecdsa_key() 192 dtls_handle_read(dtls_context_t *ctx) { in dtls_handle_read()
|
/net-tools-3.7.0/tinydtls-0.8.2/tests/ |
D | dtls-server.c | 54 get_psk_info(struct dtls_context_t *ctx, const session_t *session, in get_psk_info() 99 get_ecdsa_key(struct dtls_context_t *ctx, in get_ecdsa_key() 114 verify_ecdsa_key(struct dtls_context_t *ctx, in verify_ecdsa_key() 127 read_from_peer(struct dtls_context_t *ctx, in read_from_peer() 148 send_to_peer(struct dtls_context_t *ctx, in send_to_peer() 157 dtls_handle_read(struct dtls_context_t *ctx) { in dtls_handle_read() 244 static int handle_event(struct dtls_context_t *ctx, session_t *session, in handle_event() 275 dtls_context_t *the_context = NULL;
|
D | dtls-client.c | 45 static dtls_context_t *dtls_context = NULL; 105 get_psk_info(struct dtls_context_t *ctx UNUSED_PARAM, in get_psk_info() 145 get_ecdsa_key(struct dtls_context_t *ctx, in get_ecdsa_key() 160 verify_ecdsa_key(struct dtls_context_t *ctx, in verify_ecdsa_key() 170 try_send(struct dtls_context_t *ctx, session_t *dst) { in try_send() 186 read_from_peer(struct dtls_context_t *ctx, in read_from_peer() 195 send_to_peer(struct dtls_context_t *ctx, in send_to_peer() 204 dtls_handle_read(struct dtls_context_t *ctx) { in dtls_handle_read() 308 static int handle_event(struct dtls_context_t *ctx, session_t *session, in handle_event()
|
/net-tools-3.7.0/ |
D | coap-client.c | 496 static dtls_context_t *dtls_context; 528 static int get_psk_info(struct dtls_context_t *ctx UNUSED_PARAM, in get_psk_info() 570 static int get_ecdsa_key(struct dtls_context_t *ctx, in get_ecdsa_key() 585 static int verify_ecdsa_key(struct dtls_context_t *ctx, in verify_ecdsa_key() 830 static void try_send(struct dtls_context_t *ctx) in try_send() 936 static int read_from_peer(struct dtls_context_t *ctx, in read_from_peer() 989 static int send_to_peer(struct dtls_context_t *ctx, in send_to_peer() 1007 static int dtls_handle_read(struct dtls_context_t *ctx) in dtls_handle_read() 1033 static int handle_event(struct dtls_context_t *ctx, session_t *session, in handle_event()
|