|
CNDP
22.08.0
|
#include <sys/queue.h>#include <pthread.h>#include <cne_atomic.h>#include <stddef.h>#include <stdint.h>#include <sys/select.h>#include <unistd.h>#include <bsd/sys/bitstring.h>#include <cne_system.h>#include <cne_vec.h>#include <hmap.h>#include <cne_timer.h>#include "cne_common.h"#include "cne_per_thread.h"#include "cnet.h"#include "cnet_const.h"#include "mempool.h"#include "pktmbuf.h"Go to the source code of this file.
Enumerations | |
| enum | { TCP_TIMEOUT_ENABLED = 0x00000001 , RFC1323_TSTAMP_ENABLED = 0x00004000 , RFC1323_SCALE_ENABLED = 0x00008000 } |
Functions | |
| CNDP_API int | cnet_stk_initialize (struct cnet *cnet) |
| Initialize the stack instance. More... | |
| CNDP_API int | cnet_stk_stop (void) |
| Stop the stack instance and free resources. More... | |
CNET Stack instance routines and constants.
Definition in file cnet_stk.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TCP_TIMEOUT_ENABLED | Enable TCP Timeouts |
| RFC1323_TSTAMP_ENABLED | Enable RFC1323 Timestamp |
| RFC1323_SCALE_ENABLED | Enable RFC1323 window scaling |
Definition at line 74 of file cnet_stk.h.
| CNDP_API int cnet_stk_initialize | ( | struct cnet * | cnet | ) |
Initialize the stack instance.
| cnet | The pointer to the cnet structure. |
| CNDP_API int cnet_stk_stop | ( | void | ) |
Stop the stack instance and free resources.