mirror of https://github.com/openssl/openssl.git
				
				
				
			QUIC ACKM: Allow largest acked PN to be queried
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21029)
This commit is contained in:
		
							parent
							
								
									dfd8176f25
								
							
						
					
					
						commit
						81b400cf90
					
				|  | @ -263,6 +263,9 @@ int ossl_ackm_mark_packet_pseudo_lost(OSSL_ACKM *ackm, | ||||||
|  */ |  */ | ||||||
| OSSL_TIME ossl_ackm_get_pto_duration(OSSL_ACKM *ackm); | OSSL_TIME ossl_ackm_get_pto_duration(OSSL_ACKM *ackm); | ||||||
| 
 | 
 | ||||||
|  | /* Returns the largest acked PN in the given PN space. */ | ||||||
|  | QUIC_PN ossl_ackm_get_largest_acked(OSSL_ACKM *ackm, int pkt_space); | ||||||
|  | 
 | ||||||
| # endif | # endif | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -1677,3 +1677,8 @@ OSSL_TIME ossl_ackm_get_pto_duration(OSSL_ACKM *ackm) | ||||||
| 
 | 
 | ||||||
|     return duration; |     return duration; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | QUIC_PN ossl_ackm_get_largest_acked(OSSL_ACKM *ackm, int pkt_space) | ||||||
|  | { | ||||||
|  |     return ackm->largest_acked_pkt[pkt_space]; | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue