2016-05-18 02:18:30 +08:00
|
|
|
/*
|
2020-04-23 20:55:52 +08:00
|
|
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2015-01-31 01:29:41 +08:00
|
|
|
*
|
2018-12-06 20:08:51 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 02:18:30 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
2015-01-31 01:29:41 +08:00
|
|
|
*/
|
2015-02-04 23:44:12 +08:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* *
|
|
|
|
* The following macros/functions are PRIVATE to the record layer. They *
|
|
|
|
* should NOT be used outside of the record layer. *
|
|
|
|
* *
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2016-09-21 21:07:31 +08:00
|
|
|
#define MAX_WARN_ALERT_COUNT 5
|
|
|
|
|
2015-02-04 23:44:12 +08:00
|
|
|
/* Functions/macros provided by the RECORD_LAYER component */
|
|
|
|
|
|
|
|
#define DTLS_RECORD_LAYER_get_r_epoch(rl) ((rl)->d->r_epoch)
|