23 lines
625 B
C
23 lines
625 B
C
/* Copyright (c) 2017 LiteSpeed Technologies Inc. See LICENSE. */
|
|
#ifndef LSQUIC_INT_TYPES_H
|
|
#define LSQUIC_INT_TYPES_H 1
|
|
|
|
/* Types included in this file are only used internally. Types used in
|
|
* include/lsquic.h should be listed in include/lsquic_types.h
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef uint64_t lsquic_time_t; /* Microseconds since the epoch */
|
|
typedef uint64_t lsquic_packno_t;
|
|
typedef uint32_t lsquic_ver_tag_t; /* Opaque 4-byte value */
|
|
|
|
/* The `low' and `high' members are inclusive: if the range only has one
|
|
* member, low == high.
|
|
*/
|
|
struct lsquic_packno_range {
|
|
lsquic_packno_t low, high;
|
|
};
|
|
|
|
#endif
|