CNDP  22.08.0
cnet_tcp_chnl.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

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)
 

Detailed Description

CNET TCP Channel routines and constants.

Definition in file cnet_tcp_chnl.h.

Function Documentation

◆ cnet_tcp_chnl_scale_set()

CNDP_API void cnet_tcp_chnl_scale_set ( struct tcb_entry *  tcb,
struct chnl *  ch 
)

Set the TCP connection to a new scaling value for the receiving channel.

Parameters
tcbThe TCP Control Block pointer.
chThe Chnl pointer.
Returns
N/A

◆ cnet_drop_acked_data()

CNDP_API void cnet_drop_acked_data ( struct chnl_buf *  cb,
int32_t  acked 
)

Drop the acked data in the given channel buffer.

Parameters
cbThe channel buffer pointer
ackedThe amount of data to be acked.
Returns
N/A