FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
Build Instructions

#### Install dependencies

1 # sudo apt-get install -y git cmake autoconf pkg_config libtool check

Libmemif is now part of VPP repository. Follow fd.io wiki to pull source code from VPP repository. https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pushing_Patches

Libmemif is located under extras/libmemif. From extras/libmemif:

1 # mkdir build
2 # cd build
3 # cmake ..
4 # make install

#### Verify installation:

1 build# ./examples/icmpr-epoll

Use help command to display build information and commands:

1 LIBMEMIF EXAMPLE APP: ICMP_Responder
2 ==============================
3 libmemif version: 3.0
4 memif version: 512
5  use CTRL+C to exit
6 MEMIF DETAILS
7 ==============================
8  interface name: memif_connection
9  app name: ICMP_Responder
10  remote interface name:
11  remote app name:
12  id: 0
13  secret: (null)
14  role: slave
15  mode: ethernet
16  socket filename: /run/vpp/memif.sock
17  socket filename: /run/vpp/memif.sock
18  rx queues:
19  tx queues:
20  link: down

Examples

Once the library is built/installed, refer to Examples and Getting started for additional information on basic use cases and API usage.