FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
pneum_wrap.c File Reference
+ Include dependency graph for pneum_wrap.c:

Go to the source code of this file.

Functions

static void wrap_pneum_callback (unsigned char *data, int len)
 
static PyObject * wrap_connect (PyObject *self, PyObject *args)
 
static PyObject * wrap_disconnect (PyObject *self, PyObject *args)
 
static PyObject * wrap_write (PyObject *self, PyObject *args)
 
static PyObject * wrap_read (PyObject *self, PyObject *args)
 
static PyObject * wrap_msg_table (PyObject *self, PyObject *args)
 
void initvpp_api (void)
 

Variables

static PyObject * pneum_callback = NULL
 
static PyMethodDef vpp_api_Methods []
 

Function Documentation

void initvpp_api ( void  )

Definition at line 163 of file pneum_wrap.c.

static PyObject* wrap_connect ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 45 of file pneum_wrap.c.

+ Here is the call graph for this function:

static PyObject* wrap_disconnect ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 76 of file pneum_wrap.c.

+ Here is the call graph for this function:

static PyObject* wrap_msg_table ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 122 of file pneum_wrap.c.

+ Here is the call graph for this function:

static void wrap_pneum_callback ( unsigned char *  data,
int  len 
)
static

Definition at line 23 of file pneum_wrap.c.

+ Here is the caller graph for this function:

static PyObject* wrap_read ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 100 of file pneum_wrap.c.

+ Here is the call graph for this function:

static PyObject* wrap_write ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 85 of file pneum_wrap.c.

+ Here is the call graph for this function:

Variable Documentation

PyObject* pneum_callback = NULL
static

Definition at line 20 of file pneum_wrap.c.

PyMethodDef vpp_api_Methods[]
static
Initial value:
= {
{"connect", wrap_connect, METH_VARARGS, "Connect to the VPP API."},
{"disconnect", wrap_disconnect, METH_VARARGS, "Disconnect from the VPP API."},
{"write", wrap_write, METH_VARARGS, "Write data to the VPP API."},
{"read", wrap_read, METH_VARARGS, "Read data from the VPP API."},
{"msg_table", wrap_msg_table, METH_VARARGS, "Get API dictionary."},
{NULL, NULL, 0, NULL}
}
#define NULL
Definition: clib.h:55
static PyObject * wrap_disconnect(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:76
static PyObject * wrap_write(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:85
static PyObject * wrap_read(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:100
static PyObject * wrap_msg_table(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:122
static PyObject * wrap_connect(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:45

Definition at line 149 of file pneum_wrap.c.