|
CNDP
22.08.0
|
#include <pktdev.h>#include <net/ethernet.h>#include <cne_atomic.h>#include <stdint.h>#include <net/if.h>#include "cne_common.h"#include "cnet_const.h"Go to the source code of this file.
Functions | |
| int | cnet_drv_create (struct cnet *cnet) |
| Create the driver structure and initialize it. More... | |
| int | cnet_drv_destroy (struct cnet *cnet) |
| Destroy the driver structure and initialize it. More... | |
CNET Driver routines.
Definition in file cnet_drv.h.
| int cnet_drv_create | ( | struct cnet * | cnet | ) |
Create the driver structure and initialize it.
| cnet | The cnet structure pointer to attach the driver structure |
| int cnet_drv_destroy | ( | struct cnet * | cnet | ) |
Destroy the driver structure and initialize it.
| cnet | The cnet structure pointer to detach the driver structure |