Home
last modified time | relevance | path

Searched refs:DTLS_RECORD_HEADER (Results 1 – 1 of 1) sorted by relevance

/net-tools-3.4.0/tinydtls-0.8.2/
Ddtls.c95 #define DTLS_RECORD_HEADER(M) ((dtls_record_header_t *)(M)) macro
372 dtls_uint16_to_int(DTLS_RECORD_HEADER(msg)->length); in is_record()
1269 memcpy(p, &DTLS_RECORD_HEADER(sendbuf)->epoch, 8); in dtls_prepare_record()
1299 memcpy(A_DATA, &DTLS_RECORD_HEADER(sendbuf)->epoch, 8); /* epoch and seq_num */ in dtls_prepare_record()
1300 memcpy(A_DATA + 8, &DTLS_RECORD_HEADER(sendbuf)->content_type, 3); /* type and version */ in dtls_prepare_record()
1390 (dtls_uint16_to_int(DTLS_RECORD_HEADER(Data)->epoch > 0) || \
2880 dtls_record_header_t *header = DTLS_RECORD_HEADER(packet); in decrypt_verify()
2926 memcpy(A_DATA, &DTLS_RECORD_HEADER(packet)->epoch, 8); /* epoch and seq_num */ in decrypt_verify()
2927 memcpy(A_DATA + 8, &DTLS_RECORD_HEADER(packet)->content_type, 3); /* type and version */ in decrypt_verify()
3686 dtls_uint16_to_int(DTLS_RECORD_HEADER(msg)->epoch); in dtls_handle_message()