Searched refs:DTLS_VERSION (Results 1 – 2 of 2) sorted by relevance
54 #define DTLS_VERSION 0xfeff /* DTLS v1.1 */ macro56 #define DTLS_VERSION 0xfefd /* DTLS v1.2 */ macro
267 if (dtls_uint16_to_int(msg + DTLS_HS_LENGTH) != DTLS_VERSION) in dtls_get_cookie()368 && msg[1] == HIGH(DTLS_VERSION) in is_record()369 && msg[2] == LOW(DTLS_VERSION)) in is_record()396 dtls_int_to_uint16(buf, DTLS_VERSION); in dtls_set_record_header()1586 dtls_int_to_uint16(p, DTLS_VERSION); in dtls_verify_peer()1756 dtls_int_to_uint16(p, DTLS_VERSION); in dtls_send_server_hello()2329 dtls_int_to_uint16(p, DTLS_VERSION); in dtls_send_client_hello()2487 if (dtls_uint16_to_int(data) != DTLS_VERSION) { in check_server_hello()