Distributed Virtual Router Support
[vpp.git] / src / vnet.am
index 1d52ae1..aa3ada1 100644 (file)
@@ -52,6 +52,8 @@ nobase_include_HEADERS +=                     \
   vnet/interface.h                             \
   vnet/interface.api.h                         \
   vnet/interface_funcs.h                       \
+  vnet/ip/ip4_to_ip6.h                         \
+  vnet/ip/ip6_to_ip4.h                         \
   vnet/l3_types.h                              \
   vnet/pipeline.h                              \
   vnet/replication.h                           \
@@ -111,7 +113,10 @@ libvnet_la_SOURCES +=                              \
  vnet/ethernet/interface.c                     \
  vnet/ethernet/node.c                          \
  vnet/ethernet/pg.c                            \
- vnet/ethernet/sfp.c
+ vnet/ethernet/sfp.c                           \
+ vnet/ethernet/p2p_ethernet.c                  \
+ vnet/ethernet/p2p_ethernet_input.c            \
+ vnet/ethernet/p2p_ethernet_api.c
 
 nobase_include_HEADERS +=                      \
  vnet/ethernet/arp_packet.h                    \
@@ -119,7 +124,11 @@ nobase_include_HEADERS +=                  \
  vnet/ethernet/ethernet.h                      \
  vnet/ethernet/packet.h                                \
  vnet/ethernet/types.def                       \
- vnet/ethernet/sfp.h
+ vnet/ethernet/sfp.h                           \
+ vnet/ethernet/p2p_ethernet.api.h              \
+ vnet/ethernet/p2p_ethernet.h
+
+API_FILES += vnet/ethernet/p2p_ethernet.api
 
 ########################################
 # Layer 2 protocol: Ethernet bridging
@@ -261,10 +270,15 @@ libvnet_la_SOURCES +=                             \
   vnet/lldp/lldp_input.c                       \
   vnet/lldp/lldp_node.c                                \
   vnet/lldp/lldp_output.c                      \
-  vnet/lldp/lldp_cli.c
+  vnet/lldp/lldp_cli.c                          \
+  vnet/lldp/lldp_api.c
 
 nobase_include_HEADERS +=                      \
-  vnet/lldp/lldp_protocol.h
+  vnet/lldp/lldp_protocol.h                     \
+  vnet/lldp/lldp.h                              \
+  vnet/lldp/lldp.api.h
+
+API_FILES += vnet/lldp/lldp.api
 
 ########################################
 # Layer 2/3 "classify"
@@ -452,6 +466,7 @@ endif
 # Layer 4 protocol: tcp
 ########################################
 libvnet_la_SOURCES +=                          \
+ vnet/tcp/tcp_api.c                            \
  vnet/tcp/tcp_format.c                         \
  vnet/tcp/tcp_pg.c                             \
  vnet/tcp/tcp_syn_filter4.c                    \
@@ -460,6 +475,8 @@ libvnet_la_SOURCES +=                               \
  vnet/tcp/tcp_newreno.c                                \
  vnet/tcp/builtin_client.c                     \
  vnet/tcp/builtin_server.c                     \
+ vnet/tcp/builtin_http_server.c                        \
+ vnet/tcp/builtin_proxy.c                      \
  vnet/tcp/tcp_test.c                           \
  vnet/tcp/tcp.c
 
@@ -467,7 +484,10 @@ nobase_include_HEADERS +=                  \
  vnet/tcp/tcp_packet.h                         \
  vnet/tcp/tcp_timer.h                          \
  vnet/tcp/tcp_debug.h                          \
- vnet/tcp/tcp.h
+ vnet/tcp/tcp.h                                        \
+ vnet/tcp/tcp.api.h
+
+API_FILES += vnet/tcp/tcp.api
 
 ########################################
 # Layer 4 protocol: udp
@@ -662,19 +682,6 @@ nobase_include_HEADERS +=                  \
 
 API_FILES += vnet/lisp-gpe/lisp_gpe.api
 
-if ENABLE_TESTS
-TESTS += test_test
-
-test_test_SOURCES = tests/vnet/lisp-gpe/test.c
-
-test_test_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
-
-test_test_LDADD = $(LIBOBJS)
-
-noinst_PROGRAMS += $(TESTS)
-check_PROGRAMS += $(TESTS)
-endif
-
 ########################################
 # DHCP client
 ########################################
@@ -708,21 +715,31 @@ nobase_include_HEADERS +=                 \
 # ipv6 segment routing
 ########################################
 
-if WITH_LIBSSL
 libvnet_la_SOURCES +=                          \
- vnet/sr/sr.c                                          \
- vnet/sr/sr_localsid.c                         \
- vnet/sr/sr_policy_rewrite.c           \
- vnet/sr/sr_steering.c                         \
- vnet/sr/sr_api.c
-endif
+ vnet/srv6/sr.c                                                \
+ vnet/srv6/sr_localsid.c                       \
+ vnet/srv6/sr_policy_rewrite.c         \
+ vnet/srv6/sr_steering.c                       \
+ vnet/srv6/sr_api.c
 
 nobase_include_HEADERS +=                      \
- vnet/sr/sr_packet.h                           \
- vnet/sr/sr.h                                          \
- vnet/sr/sr.api.h
+ vnet/srv6/sr_packet.h                         \
+ vnet/srv6/sr.h                                        \
+ vnet/srv6/sr.api.h
+
+API_FILES += vnet/srv6/sr.api
+
+########################################
+# mpls segment routing
+########################################
+
+libvnet_la_SOURCES +=                          \
+ vnet/srmpls/sr_mpls_policy.c          \
+ vnet/srmpls/sr_mpls_steering.c
 
-API_FILES += vnet/sr/sr.api
+
+nobase_include_HEADERS +=                      \
+ vnet/srmpls/sr.h
 
 ########################################
 # IPFIX / netflow v10
@@ -821,20 +838,25 @@ nobase_include_HEADERS +=                 \
 
 libvnet_la_SOURCES +=                          \
   vnet/session/session.c                       \
-  vnet/session/node.c                          \
-  vnet/session/transport.c                     \
+  vnet/session/session_lookup.c                        \
+  vnet/session/session_node.c                  \
+  vnet/session/transport_interface.c           \
   vnet/session/application.c                   \
   vnet/session/session_cli.c                   \
-  vnet/session/hashes.c                                \
   vnet/session/application_interface.c         \
+  vnet/session/segment_manager.c               \
   vnet/session/session_api.c
 
 nobase_include_HEADERS +=                      \
   vnet/session/session.h                       \
+  vnet/session/stream_session.h                        \
+  vnet/session/session_lookup.h                        \
   vnet/session/application.h                   \
   vnet/session/transport.h                     \
+  vnet/session/transport_interface.h           \
   vnet/session/application_interface.h         \
   vnet/session/session_debug.h                 \
+  vnet/session/segment_manager.h               \
   vnet/session/session.api.h
 
 API_FILES += vnet/session/session.api
@@ -936,7 +958,8 @@ libvnet_la_SOURCES +=                               \
   vnet/fib/fib_path.c                          \
   vnet/fib/fib_path_ext.c                      \
   vnet/fib/fib_urpf_list.c                     \
-  vnet/fib/fib_attached_export.c
+  vnet/fib/fib_attached_export.c               \
+  vnet/fib/fib_bfd.c
 
 nobase_include_HEADERS +=                      \
   vnet/fib/fib.h                               \
@@ -962,7 +985,9 @@ libvnet_la_SOURCES +=                               \
   vnet/adj/adj_l2.c                            \
   vnet/adj/adj_nsh.c                           \
   vnet/adj/adj.c                               \
-  vnet/adj/rewrite.c
+  vnet/adj/rewrite.c                           \
+  vnet/adj/adj_bfd.c                           \
+  vnet/adj/adj_delegate.c
 
 nobase_include_HEADERS +=                      \
   vnet/adj/adj.h                               \
@@ -987,7 +1012,11 @@ libvnet_la_SOURCES +=                             \
   vnet/dpo/lookup_dpo.c                        \
   vnet/dpo/classify_dpo.c                      \
   vnet/dpo/replicate_dpo.c                     \
-  vnet/dpo/mpls_label_dpo.c
+  vnet/dpo/interface_rx_dpo.c                          \
+  vnet/dpo/interface_tx_dpo.c                          \
+  vnet/dpo/mpls_disposition.c                  \
+  vnet/dpo/mpls_label_dpo.c                    \
+  vnet/dpo/l2_bridge_dpo.c
 
 nobase_include_HEADERS +=                      \
   vnet/dpo/load_balance.h                      \