FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
pneum_wrap.c File Reference
+ Include dependency graph for pneum_wrap.c:

Go to the source code of this file.

Functions

int wrap_pneum_callback (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)
 
void vl_msg_api_free (void *)
 
static PyObject * wrap_read (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 130 of file pneum_wrap.c.

void vl_msg_api_free ( void *  )

Definition at line 188 of file memory_shared.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 70 of file pneum_wrap.c.

+ Here is the call graph for this function:

int wrap_pneum_callback ( char *  data,
int  len 
)

Definition at line 22 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 96 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 79 of file pneum_wrap.c.

+ Here is the call graph for this function:

Variable Documentation

PyObject* pneum_callback = NULL
static

Definition at line 19 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."},
{NULL, NULL, 0, NULL}
}
#define NULL
Definition: clib.h:55
static PyObject * wrap_disconnect(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:70
static PyObject * wrap_write(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:79
static PyObject * wrap_read(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:96
static PyObject * wrap_connect(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:45

Definition at line 117 of file pneum_wrap.c.