FD.io VPP  v16.06
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 115 of file pneum_wrap.c.

void vl_msg_api_free ( void )

Definition at line 146 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 30 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 55 of file pneum_wrap.c.

+ Here is the call graph for this function:

int wrap_pneum_callback ( char *  data,
int  len 
)

Definition at line 7 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 81 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 64 of file pneum_wrap.c.

+ Here is the call graph for this function:

Variable Documentation

PyObject* pneum_callback = NULL
static

Definition at line 4 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:55
static PyObject * wrap_write(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:64
static PyObject * wrap_read(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:81
static PyObject * wrap_connect(PyObject *self, PyObject *args)
Definition: pneum_wrap.c:30

Definition at line 102 of file pneum_wrap.c.