CNDP  22.08.0
cnet_tcp_chnl.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2016-2022 Intel Corporation
3  */
4 
5 #ifndef __CNET_TCP_CHNL
6 #define __CNET_TCP_CHNL
7 
13 #include <stdint.h> // for int32_t
14 
15 struct chnl;
16 struct chnl_buf;
17 struct tcb_entry;
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
32 CNDP_API void cnet_tcp_chnl_scale_set(struct tcb_entry *tcb, struct chnl *ch);
33 
44 CNDP_API void cnet_drop_acked_data(struct chnl_buf *cb, int32_t acked);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* __CNET_TCP_CHNL */
CNDP_API void cnet_tcp_chnl_scale_set(struct tcb_entry *tcb, struct chnl *ch)
CNDP_API void cnet_drop_acked_data(struct chnl_buf *cb, int32_t acked)