|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
This file contains binary api to connect to the VPP. More...
#include <sysrepo.h>#include <sysrepo/values.h>#include <vapi/vapi.h>

Go to the source code of this file.
Macros | |
| #define | HICN_THIS_FUNC __func__ |
| #define | VPP_INTFC_NAME_LEN 64 |
| This macro is interface.c to communicate with vpp. | |
| #define | VPP_MAC_ADDRESS_LEN 8 |
| #define | VPP_IP6_ADDRESS_LEN 16 |
| #define | ARG_CHECK(retval, arg) |
| This macro checks the arg is NULL or not, if the arg is NULL it returns retval. More... | |
| #define | ARG_CHECK2(retval, arg1, arg2) |
| Please check ARG_CHECK. More... | |
| #define | ARG_CHECK5(retval, arg1, arg2, arg3, arg4, arg5) |
| This Macro is the multiple check of ARG_CHECK. More... | |
Functions | |
| int | hicn_connect_vpp () |
| This function is used to connect to the vpp. | |
| int | hicn_disconnect_vpp () |
| This function is used to close the connection of the vpp. | |
Variables | |
| vapi_ctx_t | g_vapi_ctx_instance |
| This is the context to connect to the vpp. | |
This file contains binary api to connect to the VPP.
| #define ARG_CHECK | ( | retval, | |
| arg | |||
| ) |
This macro checks the arg is NULL or not, if the arg is NULL it returns retval.
| #define ARG_CHECK2 | ( | retval, | |
| arg1, | |||
| arg2 | |||
| ) |
Please check ARG_CHECK.
| #define ARG_CHECK5 | ( | retval, | |
| arg1, | |||
| arg2, | |||
| arg3, | |||
| arg4, | |||
| arg5 | |||
| ) |
This Macro is the multiple check of ARG_CHECK.
1.8.17