Refactor the ARP throttle into a common type so it can be reused
[vpp.git] / src / vnet.am
index 040a4cd..b9402b1 100644 (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                                \
@@ -262,6 +260,9 @@ nobase_include_HEADERS +=                   \
   vnet/vxlan/vxlan_error.def                   \
   vnet/vxlan/vxlan.api.h
 
+libvnet_multiversioning_sources +=             \
+  vnet/vxlan/decap.c
+
 API_FILES += vnet/vxlan/vxlan.api
 
 ########################################
@@ -350,6 +351,7 @@ libvnet_la_SOURCES +=                               \
  vnet/ip/icmp4.c                               \
  vnet/ip/icmp6.c                               \
  vnet/ip/ip46_cli.c                            \
+ vnet/ip/ip_types_api.c                                \
  vnet/ip/ip4_format.c                          \
  vnet/ip/ip4_forward.c                         \
  vnet/ip/ip4_punt_drop.c                       \
@@ -418,8 +420,19 @@ API_FILES +=                                       \
  vnet/ip/punt.api
 
 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
 ########################################
@@ -500,7 +513,6 @@ libvnet_la_SOURCES +=                               \
  vnet/tcp/tcp_output.c                         \
  vnet/tcp/tcp_input.c                          \
  vnet/tcp/tcp_newreno.c                                \
- vnet/tcp/tcp_test.c                           \
  vnet/tcp/tcp.c
 
 nobase_include_HEADERS +=                      \
@@ -508,6 +520,7 @@ nobase_include_HEADERS +=                   \
  vnet/tcp/tcp_timer.h                          \
  vnet/tcp/tcp_debug.h                          \
  vnet/tcp/tcp.h                                        \
+ vnet/tcp/tcp_error.def                                \
  vnet/tcp/tcp.api.h
 
 API_FILES += vnet/tcp/tcp.api
@@ -959,7 +972,8 @@ libvnet_la_SOURCES +=                               \
   vnet/devices/pipe/pipe.c
 
 nobase_include_HEADERS +=                      \
-  vnet/devices/pipe/pipe.h
+  vnet/devices/pipe/pipe.h                     \
+  vnet/devices/pipe/pipe.api.h
 
 API_FILES += vnet/devices/pipe/pipe.api
 
@@ -1229,8 +1243,12 @@ nobase_include_HEADERS +=                        \
 libvnet_la_SOURCES +=                    \
   vnet/util/radix.c                         \
   vnet/util/refcount.c                  \
+  vnet/util/throttle.c                  \
   vnet/util/trajectory.c
 
+nobase_include_HEADERS +=                       \
+  vnet/util/throttle.h
+
 ########################################
 # QoS
 ########################################