CNDP  22.08.0
cnet_rtshow.h File Reference
#include <sys/queue.h>

Go to the source code of this file.

Functions

CNDP_API int cnet_rtshow (stk_t *stk, int argc, char **argv)
 Show/modify routing information for a given stack instance. More...
 

Detailed Description

CNET route show routines.

Definition in file cnet_rtshow.h.

Function Documentation

◆ cnet_rtshow()

CNDP_API int cnet_rtshow ( stk_t *  stk,
int  argc,
char **  argv 
)

Show/modify routing information for a given stack instance.

Parameters
stkThe current stack instance.
argcThe number of arguments to be passed to the stack instance.
argvThe arguments to be passed to the stack instance.
Returns
-1 on error, 0 on success.