From 83243a0ff59f90eeed9da2da85b5bb5b3e0d5881 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 29 Feb 2016 13:09:30 +0100 Subject: Add vpp native linux kernel AF_PACKET interface support This is 1st drop of VPP native driver for linux AF_PACKET. New CLI: create host-interface name [hw-addr ] References: - Documentation/networking/packet_mmap.txt in the Linux kernel tree - man 7 packet Known issues: - attaching to linux bridge doesn't work - it is not expected to work in multicore setup Change-Id: I1cb1c3d305f349759e90e76e25696718b73bd73d Signed-off-by: Damjan Marion --- vnet/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'vnet/Makefile.am') diff --git a/vnet/Makefile.am b/vnet/Makefile.am index cf1fb1e0ab3..ff8a31dae26 100644 --- a/vnet/Makefile.am +++ b/vnet/Makefile.am @@ -606,6 +606,19 @@ libvnet_la_SOURCES += \ nobase_include_HEADERS += \ vnet/devices/ssvm/ssvm_eth.h +######################################## +# Linux packet interface +######################################## + +libvnet_la_SOURCES += \ + vnet/devices/af_packet/af_packet.c \ + vnet/devices/af_packet/device.c \ + vnet/devices/af_packet/node.c \ + vnet/devices/af_packet/cli.c + +nobase_include_HEADERS += \ + vnet/devices/af_packet/af_packet.h + ######################################## # Unix kernel related ######################################## -- cgit 1.2.3-korg