"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/liblsquic/lsquic_rechist.h" between
lsquic-2.22.1.tar.gz and lsquic-2.23.1.tar.gz

About: LSQUIC is LiteSpeed’s QUIC and HTTP/3 Library. A hint: HTTP/3 uses QUIC as the underlying transport protocol instead of TCP.

lsquic_rechist.h  (lsquic-2.22.1):lsquic_rechist.h  (lsquic-2.23.1)
/* Copyright (c) 2017 - 2020 LiteSpeed Technologies Inc. See LICENSE. */ /* Copyright (c) 2017 - 2020 LiteSpeed Technologies Inc. See LICENSE. */
/* /*
* lsquic_rechist.h -- History of received packets. * lsquic_rechist.h -- History of received packets.
* *
* The purpose of received packet history is to generate ACK frames. * The purpose of received packet history is to generate ACK frames.
*/ */
#ifndef LSQUIC_RECHIST_H #ifndef LSQUIC_RECHIST_H
#define LSQUIC_RECHIST_H 1 #define LSQUIC_RECHIST_H 1
#ifndef LSQUIC_TEST
#define LSQUIC_TEST 0
#endif
/* Structure is exposed to facilitate some manipulations in unit tests. */ /* Structure is exposed to facilitate some manipulations in unit tests. */
struct rechist_elem { struct rechist_elem {
lsquic_packno_t re_low; lsquic_packno_t re_low;
unsigned re_count; unsigned re_count;
unsigned re_next; /* UINT_MAX means no next element */ unsigned re_next; /* UINT_MAX means no next element */
}; };
struct lsquic_rechist { struct lsquic_rechist {
/* elems and masks are allocated in contiguous memory */ /* elems and masks are allocated in contiguous memory */
struct rechist_elem *rh_elems; struct rechist_elem *rh_elems;
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)