diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2018-08-21 18:52:01 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-22 10:20:37 +0000 |
commit | 0ad70113844e1700c58131ca80da31141096acae (patch) | |
tree | f2b49be13cfaf418a2243f25630f04d71263853b /src/vnet.am | |
parent | ffec78649735363778a192ad581020e7b73b472d (diff) |
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>
Diffstat (limited to 'src/vnet.am')
-rw-r--r-- | src/vnet.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/vnet.am b/src/vnet.am index ddde879d296..baddaf30544 100644 --- a/src/vnet.am +++ b/src/vnet.am @@ -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 \ @@ -423,6 +421,16 @@ libvnet_multiversioning_sources += \ 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 ######################################## |