CNDP  22.08.0
cnet_ifshow.h File Reference
#include <sys/queue.h>
#include <stdint.h>
#include <stdio.h>
#include <net/if.h>
#include <cne_common.h>
#include <cnet_netif.h>

Go to the source code of this file.

Functions

CNDP_API int cnet_ifshow (char *ifname)
 Show the configuration information of a given interface or all if not given. More...
 

Detailed Description

CNET interface show routines.

Definition in file cnet_ifshow.h.

Function Documentation

◆ cnet_ifshow()

CNDP_API int cnet_ifshow ( char *  ifname)

Show the configuration information of a given interface or all if not given.

Parameters
ifnameInterface name to show or NULL to show all interfaces.
Returns
-1 on error or 0 on success