lsquic_sizes.h revision 5392f7a3
15392f7a3SLiteSpeed Tech/* Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc. See LICENSE. */ 25392f7a3SLiteSpeed Tech#ifndef LSQUIC_SIZES_H 35392f7a3SLiteSpeed Tech#define LSQUIC_SIZES_H 1 45392f7a3SLiteSpeed Tech 55392f7a3SLiteSpeed Tech#define IQUIC_SRESET_TOKEN_SZ 16u 65392f7a3SLiteSpeed Tech 75392f7a3SLiteSpeed Tech#define IQUIC_MIN_SRST_RANDOM_BYTES (1 /* First byte: 01XX XXXX */ \ 85392f7a3SLiteSpeed Tech + 24 /* Random bytes */) 95392f7a3SLiteSpeed Tech 105392f7a3SLiteSpeed Tech#define IQUIC_MIN_SRST_SIZE (IQUIC_MIN_SRST_RANDOM_BYTES \ 115392f7a3SLiteSpeed Tech + IQUIC_SRESET_TOKEN_SZ /* Token */) 125392f7a3SLiteSpeed Tech 135392f7a3SLiteSpeed Tech#endif 14