1 # Copyright (c) 2015 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
14 lib_LTLIBRARIES += libvnet.la
17 libvnet_la_DEPENDENCIES = \
24 libvnet_la_LIBADD = $(libvnet_la_DEPENDENCIES) -lm -lpthread -ldl -lrt
27 libvnet_la_LIBADD += -lcrypto
30 ########################################
32 ########################################
33 libvnet_la_SOURCES += \
35 vnet/devices/devices.c \
38 vnet/interface_api.c \
39 vnet/interface_cli.c \
40 vnet/interface_format.c \
41 vnet/interface_output.c \
45 nobase_include_HEADERS += \
49 vnet/devices/devices.h \
53 vnet/interface.api.h \
54 vnet/interface_funcs.h \
55 vnet/ip/ip4_to_ip6.h \
56 vnet/ip/ip6_to_ip4.h \
61 vnet/vnet_all_api_h.h \
62 vnet/vnet_msg_enum.h \
65 API_FILES += vnet/interface.api
67 ########################################
69 ########################################
71 libvnet_la_SOURCES += \
72 vnet/policer/node_funcs.c \
73 vnet/policer/policer.c \
74 vnet/policer/xlate.c \
75 vnet/policer/policer_api.c
77 nobase_include_HEADERS += \
78 vnet/policer/police.h \
79 vnet/policer/policer.h \
80 vnet/policer/xlate.h \
81 vnet/policer/policer.api.h
83 API_FILES += vnet/policer/policer.api
85 ########################################
87 ########################################
89 libvnet_la_SOURCES += \
92 vnet/cop/ip4_whitelist.c \
93 vnet/cop/ip6_whitelist.c \
96 nobase_include_HEADERS += \
100 API_FILES += vnet/cop/cop.api
102 ########################################
103 # Layer 2 protocols go here
104 ########################################
106 ########################################
107 # Layer 2 protocol: Ethernet
108 ########################################
109 libvnet_la_SOURCES += \
110 vnet/ethernet/arp.c \
111 vnet/ethernet/format.c \
112 vnet/ethernet/init.c \
113 vnet/ethernet/interface.c \
114 vnet/ethernet/node.c \
116 vnet/ethernet/sfp.c \
117 vnet/ethernet/p2p_ethernet.c \
118 vnet/ethernet/p2p_ethernet_input.c \
119 vnet/ethernet/p2p_ethernet_api.c
121 nobase_include_HEADERS += \
122 vnet/ethernet/arp_packet.h \
123 vnet/ethernet/error.def \
124 vnet/ethernet/ethernet.h \
125 vnet/ethernet/packet.h \
126 vnet/ethernet/types.def \
127 vnet/ethernet/sfp.h \
128 vnet/ethernet/p2p_ethernet.api.h \
129 vnet/ethernet/p2p_ethernet.h
131 API_FILES += vnet/ethernet/p2p_ethernet.api
133 ########################################
134 # Layer 2 protocol: Ethernet bridging
135 ########################################
136 libvnet_la_SOURCES += \
137 vnet/l2/feat_bitmap.c \
141 vnet/l2/l2_input_classify.c \
142 vnet/l2/l2_output_classify.c \
143 vnet/l2/l2_efp_filter.c \
147 vnet/l2/l2_input_acl.c \
149 vnet/l2/l2_input_vtr.c \
151 vnet/l2/l2_output_acl.c \
152 vnet/l2/l2_output.c \
158 nobase_include_HEADERS += \
159 vnet/l2/feat_bitmap.h \
161 vnet/l2/l2_output.h \
163 vnet/l2/l2_input_vtr.h \
164 vnet/l2/l2_efp_filter.h \
172 vnet/l2/l2_classify.h \
175 API_FILES += vnet/l2/l2.api
177 ########################################
178 # Layer 2 protocol: SRP
179 ########################################
180 libvnet_la_SOURCES += \
182 vnet/srp/interface.c \
186 nobase_include_HEADERS += \
190 ########################################
191 # Layer 2 protocol: PPP
192 ########################################
193 libvnet_la_SOURCES += \
198 nobase_include_HEADERS += \
203 ########################################
204 # Layer 2 protocol: HDLC
205 ########################################
206 libvnet_la_SOURCES += \
211 nobase_include_HEADERS += \
212 vnet/hdlc/error.def \
216 ########################################
217 # Layer 2 protocol: LLC
218 ########################################
219 libvnet_la_SOURCES += \
224 nobase_include_HEADERS += \
227 ########################################
228 # Layer 2 protocol: SNAP
229 ########################################
230 libvnet_la_SOURCES += \
235 nobase_include_HEADERS += \
238 ########################################
240 ########################################
241 libvnet_la_SOURCES += \
245 vnet/vxlan/vxlan_api.c
247 nobase_include_HEADERS += \
249 vnet/vxlan/vxlan_packet.h \
250 vnet/vxlan/vxlan_error.def \
251 vnet/vxlan/vxlan.api.h
253 API_FILES += vnet/vxlan/vxlan.api
255 ########################################
257 ########################################
258 libvnet_la_SOURCES += \
259 vnet/cdp/cdp_input.c \
260 vnet/cdp/cdp_node.c \
261 vnet/cdp/cdp_periodic.c
263 nobase_include_HEADERS += \
264 vnet/cdp/cdp_protocol.h
266 ########################################
268 ########################################
269 libvnet_la_SOURCES += \
270 vnet/lldp/lldp_input.c \
271 vnet/lldp/lldp_node.c \
272 vnet/lldp/lldp_output.c \
273 vnet/lldp/lldp_cli.c \
276 nobase_include_HEADERS += \
277 vnet/lldp/lldp_protocol.h \
281 API_FILES += vnet/lldp/lldp.api
283 ########################################
284 # Layer 2/3 "classify"
285 ########################################
286 libvnet_la_SOURCES += \
287 vnet/classify/vnet_classify.c \
288 vnet/classify/ip_classify.c \
289 vnet/classify/input_acl.c \
290 vnet/classify/policer_classify.c \
291 vnet/classify/flow_classify.c \
292 vnet/classify/flow_classify_node.c \
293 vnet/classify/vnet_classify.h \
294 vnet/classify/classify_api.c
296 nobase_include_HEADERS += \
297 vnet/classify/vnet_classify.h \
298 vnet/classify/input_acl.h \
299 vnet/classify/policer_classify.h \
300 vnet/classify/flow_classify.h \
301 vnet/classify/classify.api.h
303 API_FILES += vnet/classify/classify.api
305 ########################################
306 # Layer 3 protocols go here
307 ########################################
309 ########################################
310 # Layer 3 protocol: IP v4/v6
311 ########################################
312 libvnet_la_SOURCES += \
317 vnet/ip/ip4_format.c \
318 vnet/ip/ip4_forward.c \
319 vnet/ip/ip4_input.c \
320 vnet/ip/ip4_mtrie.c \
322 vnet/ip/ip4_source_and_port_range_check.c \
323 vnet/ip/ip4_source_check.c \
324 vnet/ip/ip6_format.c \
325 vnet/ip/ip6_forward.c \
326 vnet/ip/ip6_hop_by_hop.c \
327 vnet/ip/ip6_input.c \
328 vnet/ip/ip6_neighbor.c \
331 vnet/ip/ip_checksum.c \
335 vnet/ip/ip_input_acl.c \
340 nobase_include_HEADERS += \
342 vnet/ip/icmp46_packet.h \
345 vnet/ip/igmp_packet.h \
347 vnet/ip/ip4_error.h \
349 vnet/ip/ip4_mtrie.h \
350 vnet/ip/ip4_packet.h \
351 vnet/ip/ip6_error.h \
353 vnet/ip/ip6_hop_by_hop.h \
354 vnet/ip/ip6_hop_by_hop_packet.h \
355 vnet/ip/ip6_packet.h \
356 vnet/ip/ip6_neighbor.h \
358 vnet/ip/ip_packet.h \
359 vnet/ip/ip_source_and_port_range_check.h \
362 vnet/ip/protocols.def \
363 vnet/ip/punt_error.def \
366 API_FILES += vnet/ip/ip.api
368 ########################################
369 # Bidirectional Forwarding Detection
370 ########################################
372 nobase_include_HEADERS += \
373 vnet/bfd/bfd_protocol.h \
374 vnet/bfd/bfd_main.h \
379 libvnet_la_SOURCES += \
382 vnet/bfd/bfd_main.c \
383 vnet/bfd/bfd_protocol.c \
387 API_FILES += vnet/bfd/bfd.api
389 ########################################
390 # Layer 3 protocol: IPSec
391 ########################################
393 libvnet_la_SOURCES += \
395 vnet/ipsec/ipsec_cli.c \
396 vnet/ipsec/ipsec_format.c \
397 vnet/ipsec/ipsec_input.c \
398 vnet/ipsec/ipsec_if.c \
399 vnet/ipsec/ipsec_if_in.c \
400 vnet/ipsec/ipsec_if_out.c \
401 vnet/ipsec/esp_format.c \
402 vnet/ipsec/esp_encrypt.c \
403 vnet/ipsec/esp_decrypt.c \
405 vnet/ipsec/ikev2_crypto.c \
406 vnet/ipsec/ikev2_cli.c \
407 vnet/ipsec/ikev2_payload.c \
408 vnet/ipsec/ikev2_format.c \
409 vnet/ipsec/ipsec_api.c
411 API_FILES += vnet/ipsec/ipsec.api
414 libvnet_la_SOURCES += \
415 vnet/ipsec/ipsec_output.c
417 nobase_include_HEADERS += \
421 vnet/ipsec/ikev2_priv.h \
422 vnet/ipsec/ipsec.api.h
424 ########################################
425 # Layer 3 protocol: osi
426 ########################################
427 libvnet_la_SOURCES += \
432 nobase_include_HEADERS += \
435 ########################################
436 # Layer 3 protocol: MAP
437 ########################################
438 libvnet_la_SOURCES += \
443 vnet/map/ip4_map_t.c \
444 vnet/map/ip6_map_t.c \
447 nobase_include_HEADERS += \
452 API_FILES += vnet/map/map.api
458 test_map_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
460 test_map_LDADD = libvnet.la libvppinfra.la libvlib.la \
461 -lpthread -lvlibmemory -ldl -lsvm -lrt
463 test_map_LDFLAGS = -static
466 ########################################
467 # Layer 4 protocol: tcp
468 ########################################
469 libvnet_la_SOURCES += \
471 vnet/tcp/tcp_format.c \
473 vnet/tcp/tcp_syn_filter4.c \
474 vnet/tcp/tcp_output.c \
475 vnet/tcp/tcp_input.c \
476 vnet/tcp/tcp_newreno.c \
477 vnet/tcp/builtin_client.c \
478 vnet/tcp/builtin_server.c \
479 vnet/tcp/builtin_http_server.c \
480 vnet/tcp/builtin_proxy.c \
481 vnet/tcp/tcp_test.c \
484 nobase_include_HEADERS += \
485 vnet/tcp/tcp_packet.h \
486 vnet/tcp/tcp_timer.h \
487 vnet/tcp/tcp_debug.h \
491 API_FILES += vnet/tcp/tcp.api
493 ########################################
494 # Layer 4 protocol: udp
495 ########################################
496 libvnet_la_SOURCES += \
498 vnet/udp/udp_input.c \
499 vnet/udp/builtin_server.c \
500 vnet/udp/udp_format.c \
501 vnet/udp/udp_local.c \
504 nobase_include_HEADERS += \
505 vnet/udp/udp_error.def \
507 vnet/udp/udp_packet.h
509 ########################################
510 # Tunnel protocol: gre
511 ########################################
512 libvnet_la_SOURCES += \
515 vnet/gre/interface.c \
519 nobase_include_HEADERS += \
525 API_FILES += vnet/gre/gre.api
527 ########################################
528 # Tunnel protocol: l2tpv3
529 ########################################
530 libvnet_la_SOURCES += \
537 nobase_include_HEADERS += \
542 API_FILES += vnet/l2tp/l2tp.api
544 ########################################
545 # Tunnel protocol: gre+mpls
546 ########################################
547 libvnet_la_SOURCES += \
549 vnet/mpls/mpls_lookup.c \
550 vnet/mpls/mpls_output.c \
551 vnet/mpls/mpls_features.c \
552 vnet/mpls/mpls_input.c \
553 vnet/mpls/interface.c \
554 vnet/mpls/mpls_tunnel.c \
558 nobase_include_HEADERS += \
560 vnet/mpls/mpls_types.h \
561 vnet/mpls/mpls_tunnel.h \
563 vnet/mpls/error.def \
566 API_FILES += vnet/mpls/mpls.api
568 ########################################
569 # Tunnel protocol: vxlan-gpe
570 ########################################
572 libvnet_la_SOURCES += \
573 vnet/vxlan-gpe/vxlan_gpe.c \
574 vnet/vxlan-gpe/encap.c \
575 vnet/vxlan-gpe/decap.c \
576 vnet/vxlan-gpe/vxlan_gpe_api.c
578 nobase_include_HEADERS += \
579 vnet/vxlan-gpe/vxlan_gpe.h \
580 vnet/vxlan-gpe/vxlan_gpe_packet.h \
581 vnet/vxlan-gpe/vxlan_gpe_error.def \
582 vnet/vxlan-gpe/vxlan_gpe.api.h
584 API_FILES += vnet/vxlan-gpe/vxlan_gpe.api
586 ########################################
587 # Tunnel protocol: ipsec+gre
588 ########################################
589 libvnet_la_SOURCES += \
590 vnet/ipsec-gre/ipsec_gre.c \
591 vnet/ipsec-gre/node.c \
592 vnet/ipsec-gre/interface.c \
593 vnet/ipsec-gre/ipsec_gre_api.c
595 nobase_include_HEADERS += \
596 vnet/ipsec-gre/ipsec_gre.h \
597 vnet/ipsec-gre/error.def \
598 vnet/ipsec-gre/ipsec_gre.api.h
600 API_FILES += vnet/ipsec-gre/ipsec_gre.api
602 ########################################
603 # LISP control plane: lisp-cp
604 ########################################
606 libvnet_la_SOURCES += \
607 vnet/lisp-cp/lisp_types.c \
608 vnet/lisp-cp/lisp_cp_dpo.c \
609 vnet/lisp-cp/control.c \
610 vnet/lisp-cp/gid_dictionary.c \
611 vnet/lisp-cp/lisp_msg_serdes.c \
612 vnet/lisp-cp/packets.c \
613 vnet/lisp-cp/one_cli.c \
614 vnet/lisp-cp/lisp_cli.c \
615 vnet/lisp-cp/one_api.c \
616 vnet/lisp-cp/lisp_api.c
618 nobase_include_HEADERS += \
619 vnet/lisp-cp/lisp_types.h \
620 vnet/lisp-cp/packets.h \
621 vnet/lisp-cp/gid_dictionary.h \
622 vnet/lisp-cp/lisp_cp_messages.h \
623 vnet/lisp-cp/lisp_msg_serdes.h \
624 vnet/lisp-cp/control.h \
625 vnet/lisp-cp/one.api.h \
626 vnet/lisp-cp/lisp.api.h
628 API_FILES += vnet/lisp-cp/lisp.api
629 API_FILES += vnet/lisp-cp/one.api
639 -lpthread -ldl -lrt -lm
641 TESTS += test_cp_serdes test_lisp_types
643 test_cp_serdes_SOURCES = \
644 tests/vnet/lisp-cp/test_cp_serdes.c \
645 vnet/lisp-cp/lisp_msg_serdes.c \
646 vnet/lisp-cp/lisp_types.c \
647 vnet/lisp-cp/packets.c \
648 vnet/ip/ip_checksum.c
650 test_lisp_types_SOURCES = \
651 tests/vnet/lisp-cp/test_lisp_types.c \
652 vnet/lisp-cp/lisp_types.c
654 test_cp_serdes_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
655 test_lisp_types_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
657 test_cp_serdes_LDADD = $(LDS)
658 test_lisp_types_LDADD = $(LDS)
661 ########################################
662 # Tunnel protocol: lisp-gpe
663 ########################################
665 libvnet_la_SOURCES += \
666 vnet/lisp-gpe/lisp_gpe.c \
667 vnet/lisp-gpe/lisp_gpe_sub_interface.c \
668 vnet/lisp-gpe/lisp_gpe_adjacency.c \
669 vnet/lisp-gpe/lisp_gpe_tunnel.c \
670 vnet/lisp-gpe/lisp_gpe_fwd_entry.c \
671 vnet/lisp-gpe/lisp_gpe_tenant.c \
672 vnet/lisp-gpe/interface.c \
673 vnet/lisp-gpe/decap.c \
674 vnet/lisp-gpe/lisp_gpe_api.c
676 nobase_include_HEADERS += \
677 vnet/lisp-gpe/lisp_gpe.h \
678 vnet/lisp-gpe/lisp_gpe_fwd_entry.h \
679 vnet/lisp-gpe/lisp_gpe_tenant.h \
680 vnet/lisp-gpe/lisp_gpe_packet.h \
681 vnet/lisp-gpe/lisp_gpe_error.def \
682 vnet/lisp-gpe/lisp_gpe.api.h
684 API_FILES += vnet/lisp-gpe/lisp_gpe.api
686 ########################################
688 ########################################
689 libvnet_la_SOURCES += \
694 nobase_include_HEADERS += \
698 API_FILES += vnet/dhcp/dhcp.api
700 ########################################
702 ########################################
703 libvnet_la_SOURCES += \
704 vnet/dhcp/dhcp6_proxy_node.c \
705 vnet/dhcp/dhcp4_proxy_node.c \
706 vnet/dhcp/dhcp_proxy.c
708 nobase_include_HEADERS += \
709 vnet/dhcp/dhcp4_packet.h \
710 vnet/dhcp/dhcp6_packet.h \
711 vnet/dhcp/dhcp_proxy.h \
712 vnet/dhcp/dhcp6_proxy_error.def \
713 vnet/dhcp/dhcp4_proxy_error.def
715 ########################################
716 # ipv6 segment routing
717 ########################################
719 libvnet_la_SOURCES += \
721 vnet/srv6/sr_localsid.c \
722 vnet/srv6/sr_policy_rewrite.c \
723 vnet/srv6/sr_steering.c \
726 nobase_include_HEADERS += \
727 vnet/srv6/sr_packet.h \
731 API_FILES += vnet/srv6/sr.api
733 ########################################
734 # mpls segment routing
735 ########################################
737 libvnet_la_SOURCES += \
738 vnet/srmpls/sr_mpls_policy.c \
739 vnet/srmpls/sr_mpls_steering.c
742 nobase_include_HEADERS += \
745 ########################################
746 # IPFIX / netflow v10
747 ########################################
748 libvnet_la_SOURCES += \
749 vnet/flow/flow_report.c \
752 nobase_include_HEADERS += \
753 vnet/flow/flow_report.h \
754 vnet/flow/ipfix_info_elements.h \
755 vnet/flow/ipfix_packet.h \
758 API_FILES += vnet/flow/flow.api
760 ########################################
761 # IPFIX classify code
762 ########################################
764 libvnet_la_SOURCES += \
765 vnet/flow/flow_report_classify.c
767 nobase_include_HEADERS += \
768 vnet/flow/flow_report_classify.h
770 ########################################
772 ########################################
774 libvnet_la_SOURCES += \
775 vnet/lawful-intercept/lawful_intercept.c \
776 vnet/lawful-intercept/node.c
778 nobase_include_HEADERS += \
779 vnet/lawful-intercept/lawful_intercept.h
781 ########################################
782 # SPAN (port mirroring)
783 ########################################
785 libvnet_la_SOURCES += \
786 vnet/span/span_api.c \
790 nobase_include_HEADERS += \
791 vnet/span/span.api.h \
794 API_FILES += vnet/span/span.api
796 ########################################
798 ########################################
800 libvnet_la_SOURCES += \
808 nobase_include_HEADERS += \
812 ########################################
814 ########################################
816 libvnet_la_SOURCES += \
817 vnet/devices/virtio/vhost-user.c \
818 vnet/devices/virtio/vhost_user_api.c
820 nobase_include_HEADERS += \
821 vnet/devices/virtio/vhost-user.h \
822 vnet/devices/virtio/vhost_user.api.h
824 API_FILES += vnet/devices/virtio/vhost_user.api
826 ########################################
828 ########################################
829 libvnet_la_SOURCES += \
830 vnet/devices/ssvm/ssvm_eth.c \
831 vnet/devices/ssvm/node.c
833 nobase_include_HEADERS += \
834 vnet/devices/ssvm/ssvm_eth.h
836 ########################################
838 ########################################
840 libvnet_la_SOURCES += \
841 vnet/session/session.c \
842 vnet/session/session_lookup.c \
843 vnet/session/session_node.c \
844 vnet/session/transport_interface.c \
845 vnet/session/application.c \
846 vnet/session/session_cli.c \
847 vnet/session/application_interface.c \
848 vnet/session/segment_manager.c \
849 vnet/session/session_api.c
851 nobase_include_HEADERS += \
852 vnet/session/session.h \
853 vnet/session/stream_session.h \
854 vnet/session/session_lookup.h \
855 vnet/session/application.h \
856 vnet/session/transport.h \
857 vnet/session/transport_interface.h \
858 vnet/session/application_interface.h \
859 vnet/session/session_debug.h \
860 vnet/session/segment_manager.h \
861 vnet/session/session.api.h
863 API_FILES += vnet/session/session.api
865 ########################################
866 # Linux packet interface
867 ########################################
869 libvnet_la_SOURCES += \
870 vnet/devices/af_packet/af_packet.c \
871 vnet/devices/af_packet/device.c \
872 vnet/devices/af_packet/node.c \
873 vnet/devices/af_packet/cli.c \
874 vnet/devices/af_packet/af_packet_api.c
876 nobase_include_HEADERS += \
877 vnet/devices/af_packet/af_packet.h \
878 vnet/devices/af_packet/af_packet.api.h
880 API_FILES += vnet/devices/af_packet/af_packet.api
882 ########################################
884 ########################################
886 libvnet_la_SOURCES += \
887 vnet/devices/netmap/netmap.c \
888 vnet/devices/netmap/device.c \
889 vnet/devices/netmap/node.c \
890 vnet/devices/netmap/cli.c \
891 vnet/devices/netmap/netmap_api.c
893 nobase_include_HEADERS += \
894 vnet/devices/netmap/netmap.h \
895 vnet/devices/netmap/netmap.api.h
897 API_FILES += vnet/devices/netmap/netmap.api
899 ########################################
900 # Driver feature graph arc support
901 ########################################
903 libvnet_la_SOURCES += \
904 vnet/feature/feature.c \
905 vnet/feature/registration.c
907 nobase_include_HEADERS += \
908 vnet/feature/feature.h
910 ########################################
911 # Unix kernel related
912 ########################################
914 # FIXME: vnet/unix/hgshm.c
916 libvnet_la_SOURCES += \
917 vnet/unix/gdb_funcs.c \
919 vnet/unix/tap_api.c \
923 nobase_include_HEADERS += \
926 vnet/unix/tap.api.h \
929 API_FILES += vnet/unix/tap.api
931 ########################################
933 ########################################
935 libvnet_la_SOURCES += \
937 vnet/fib/fib_test.c \
940 vnet/fib/mpls_fib.c \
941 vnet/fib/fib_table.c \
942 vnet/fib/fib_walk.c \
943 vnet/fib/fib_types.c \
944 vnet/fib/fib_node.c \
945 vnet/fib/fib_node_list.c \
946 vnet/fib/fib_entry.c \
947 vnet/fib/fib_entry_src.c \
948 vnet/fib/fib_entry_src_rr.c \
949 vnet/fib/fib_entry_src_interface.c \
950 vnet/fib/fib_entry_src_default_route.c \
951 vnet/fib/fib_entry_src_special.c \
952 vnet/fib/fib_entry_src_api.c \
953 vnet/fib/fib_entry_src_adj.c \
954 vnet/fib/fib_entry_src_mpls.c \
955 vnet/fib/fib_entry_src_lisp.c \
956 vnet/fib/fib_entry_cover.c \
957 vnet/fib/fib_entry_delegate.c \
958 vnet/fib/fib_path_list.c \
959 vnet/fib/fib_path.c \
960 vnet/fib/fib_path_ext.c \
961 vnet/fib/fib_urpf_list.c \
962 vnet/fib/fib_attached_export.c \
965 nobase_include_HEADERS += \
970 vnet/fib/fib_types.h \
971 vnet/fib/fib_table.h \
972 vnet/fib/fib_node.h \
973 vnet/fib/fib_node_list.h \
974 vnet/fib/fib_entry.h \
975 vnet/fib/fib_entry_delegate.h
977 ########################################
979 ########################################
981 libvnet_la_SOURCES += \
983 vnet/adj/adj_glean.c \
984 vnet/adj/adj_midchain.c \
985 vnet/adj/adj_mcast.c \
991 vnet/adj/adj_delegate.c
993 nobase_include_HEADERS += \
995 vnet/adj/adj_types.h \
996 vnet/adj/adj_glean.h \
1001 ########################################
1002 # Data-Plane Objects
1003 ########################################
1005 libvnet_la_SOURCES += \
1007 vnet/dpo/drop_dpo.c \
1008 vnet/dpo/ip_null_dpo.c \
1009 vnet/dpo/punt_dpo.c \
1010 vnet/dpo/receive_dpo.c \
1011 vnet/dpo/load_balance.c \
1012 vnet/dpo/load_balance_map.c \
1013 vnet/dpo/lookup_dpo.c \
1014 vnet/dpo/classify_dpo.c \
1015 vnet/dpo/replicate_dpo.c \
1016 vnet/dpo/interface_rx_dpo.c \
1017 vnet/dpo/interface_tx_dpo.c \
1018 vnet/dpo/mpls_disposition.c \
1019 vnet/dpo/mpls_label_dpo.c \
1020 vnet/dpo/l2_bridge_dpo.c
1022 nobase_include_HEADERS += \
1023 vnet/dpo/load_balance.h \
1024 vnet/dpo/drop_dpo.h \
1025 vnet/dpo/lookup_dpo.h \
1026 vnet/dpo/punt_dpo.h \
1027 vnet/dpo/classify_dpo.h \
1028 vnet/dpo/receive_dpo.h \
1029 vnet/dpo/ip_null_dpo.h \
1032 ########################################
1034 ########################################
1036 libvnet_la_SOURCES += \
1037 vnet/mfib/mfib_test.c \
1038 vnet/mfib/mfib_forward.c \
1039 vnet/mfib/ip4_mfib.c \
1040 vnet/mfib/ip6_mfib.c \
1041 vnet/mfib/mfib_types.c \
1042 vnet/mfib/mfib_signal.c \
1043 vnet/mfib/mfib_itf.c \
1044 vnet/mfib/mfib_entry.c \
1045 vnet/mfib/mfib_table.c
1047 nobase_include_HEADERS += \
1048 vnet/mfib/ip4_mfib.h \
1049 vnet/mfib/mfib_types.h \
1050 vnet/mfib/mfib_table.h
1052 ########################################
1054 ########################################
1056 libvnet_la_SOURCES += \
1059 ########################################
1060 # Plugin client library
1061 ########################################
1063 nobase_include_HEADERS += \
1064 vnet/plugin/plugin.h
1067 vnet/unix/pcap2pg.c \
1070 pcap2pg_LDFLAGS = -static
1071 pcap2pg_LDADD = libvnet.la libvppinfra.la -lpthread libvlibmemory.la -lm -ldl
1073 noinst_PROGRAMS += pcap2pg
1075 # vi:syntax=automake