3 Shared Memory Packet Interface (memif) Library
4 ==============================================
11 - ✅ Connect to VPP over memif
12 - ✅ ICMP responder example app
14 - ✅ Transmit/receive packets
15 - ✅ Interrupt mode support
16 - ✅ File descriptor event polling in libmemif (optional)
18 - ✅ Simplify file descriptor event polling (one handler for control
19 and interrupt channel)
21 - ✅ Multiple connections
24 - ✅ Multi-thread support
35 This setup will run libmemif ICMP responder example app in container.
36 Install `docker <https://docs.docker.com/engine/installation>`__ engine.
38 documentation <https://docs.docker.com/get-started>`__.
40 Build the docker image:
44 # docker build . -t libmemif
46 Now you should be able to see libmemif image on your local machine:
51 REPOSITORY TAG IMAGE ID CREATED SIZE
52 libmemif latest 32ecc2f9d013 About a minute ago 468MB
59 # docker run -it --rm --name icmp-responder --hostname icmp-responder --privileged -v "/run/vpp/:/run/vpp/" libmemif
61 The interface will by default connect to a master interface listening on
62 ``/run/vpp/master.sock``. The example will handle ARP requests and
63 respond to ICMPv4 requests to ``192.168.1.1``.
65 Continue with :ref:`libmemif_examples_doc` which contains instructions on
66 how to set up connection between icmp_responder example app and VPP-memif.