Refactor vnet.am to expose arp feature

vppsb router plugin need include arp.h file.

Change-Id: Id8137948213f3f10a5390811052ed73f6112965e
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
This commit is contained in:
Hongjun Ni
2018-08-21 18:52:01 +08:00
committed by Damjan Marion
parent ffec786497
commit 0ad7011384

View File

@@ -117,7 +117,6 @@ API_FILES += vnet/cop/cop.api
# Layer 2 protocol: Ethernet
########################################
libvnet_la_SOURCES += \
vnet/ethernet/arp.c \
vnet/ethernet/format.c \
vnet/ethernet/init.c \
vnet/ethernet/interface.c \
@@ -132,7 +131,6 @@ libvnet_multiversioning_sources += \
vnet/l2/l2_output.c
nobase_include_HEADERS += \
vnet/ethernet/arp_packet.h \
vnet/ethernet/error.def \
vnet/ethernet/ethernet.h \
vnet/ethernet/packet.h \
@@ -422,6 +420,16 @@ libvnet_multiversioning_sources += \
vnet/ip/ip4_forward.c \
vnet/ip/ip4_input.c
########################################
# Layer 2/3 ARP
########################################
libvnet_la_SOURCES += \
vnet/ethernet/arp.c
nobase_include_HEADERS += \
vnet/ethernet/arp_packet.h \
vnet/ethernet/arp.h
########################################
# Bidirectional Forwarding Detection
########################################