Reorganize source tree to use single autotools instance 30/4430/19
authorDamjan Marion <damarion@cisco.com>
Mon, 19 Dec 2016 22:05:39 +0000 (23:05 +0100)
committerDamjan Marion <damarion@cisco.com>
Wed, 28 Dec 2016 11:25:14 +0000 (12:25 +0100)
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23
Signed-off-by: Damjan Marion <damarion@cisco.com>
1056 files changed:
Makefile
build-data/packages/cavium-dpdk.mk [deleted file]
build-data/packages/g2.mk
build-data/packages/gmod.mk
build-data/packages/perftool.mk
build-data/packages/plugins.mk
build-data/packages/src.mk [moved from vpp-api/python/README.rst with 100% similarity]
build-data/packages/svm.mk [deleted file]
build-data/packages/vlib-api-cavium-dpdk.mk [deleted file]
build-data/packages/vlib-api.mk [deleted file]
build-data/packages/vlib-cavium-dpdk.mk [deleted file]
build-data/packages/vlib.mk [deleted file]
build-data/packages/vnet-cavium-dpdk.mk [deleted file]
build-data/packages/vpp-api-test-cavium-dpdk.mk [deleted file]
build-data/packages/vpp-api-test.mk [deleted file]
build-data/packages/vpp-api.mk
build-data/packages/vpp-cavium-dpdk.mk [deleted file]
build-data/packages/vpp.mk
build-data/packages/vppinfra.mk [deleted file]
build-data/platforms.mk
build-data/platforms/vpp.mk
build-data/platforms/vpp_lite.mk
build-root/bootstrap.sh
build-root/packages/src.mk [new file with mode: 0644]
build-root/packages/tools.mk [new file with mode: 0644]
build-root/packages/vppapigen.mk [deleted file]
build-root/rpm/vpp.spec
build-root/scripts/find-plugins-contents
build-root/scripts/find-python-api-contents
gmod/gmod/mod_vpp.c
perftool/Makefile.am [deleted file]
plugins/Makefile.am
plugins/configure.ac
plugins/flowperpkt-plugin/Makefile.am [deleted file]
plugins/flowperpkt-plugin/configure.ac [deleted file]
plugins/ila-plugin/configure.ac [deleted file]
plugins/sixrd-plugin/configure.ac [deleted file]
src/Makefile.am [new file with mode: 0644]
src/configure.ac [new file with mode: 0644]
src/examples/vlib/dir.dox [moved from vlib/example/dir.dox with 100% similarity]
src/examples/vlib/main_stub.c [moved from vlib/example/main_stub.c with 100% similarity]
src/examples/vlib/mc_test.c [moved from vlib/example/mc_test.c with 100% similarity]
src/examples/vlib/plex_test.c [moved from vlib/example/plex_test.c with 100% similarity]
src/g2.am [moved from g2/Makefile.am with 62% similarity]
src/perftool.am [new file with mode: 0644]
src/plugins/Makefile.am [new file with mode: 0644]
src/plugins/flowperpkt.am [new file with mode: 0644]
src/plugins/flowperpkt/flowperpkt.api [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt.api with 100% similarity]
src/plugins/flowperpkt/flowperpkt.c [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt.c with 100% similarity]
src/plugins/flowperpkt/flowperpkt.h [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h with 100% similarity]
src/plugins/flowperpkt/flowperpkt_all_api_h.h [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt_all_api_h.h with 100% similarity]
src/plugins/flowperpkt/flowperpkt_msg_enum.h [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt_msg_enum.h with 100% similarity]
src/plugins/flowperpkt/flowperpkt_plugin_doc.md [moved from plugins/flowperpkt-plugin/flowperpkt_plugin_doc.md with 100% similarity]
src/plugins/flowperpkt/flowperpkt_test.c [moved from plugins/flowperpkt-plugin/flowperpkt/flowperpkt_test.c with 100% similarity]
src/plugins/flowperpkt/l2_node.c [moved from plugins/flowperpkt-plugin/flowperpkt/l2_node.c with 100% similarity]
src/plugins/flowperpkt/node.c [moved from plugins/flowperpkt-plugin/flowperpkt/node.c with 100% similarity]
src/plugins/ila.am [moved from plugins/ila-plugin/Makefile.am with 66% similarity]
src/plugins/ila/ila.c [moved from plugins/ila-plugin/ila/ila.c with 100% similarity]
src/plugins/ila/ila.h [moved from plugins/ila-plugin/ila/ila.h with 100% similarity]
src/plugins/sixrd.am [moved from plugins/sixrd-plugin/Makefile.am with 70% similarity]
src/plugins/sixrd/ip4_sixrd.c [moved from plugins/sixrd-plugin/sixrd/ip4_sixrd.c with 100% similarity]
src/plugins/sixrd/ip6_sixrd.c [moved from plugins/sixrd-plugin/sixrd/ip6_sixrd.c with 100% similarity]
src/plugins/sixrd/sixrd.c [moved from plugins/sixrd-plugin/sixrd/sixrd.c with 100% similarity]
src/plugins/sixrd/sixrd.h [moved from plugins/sixrd-plugin/sixrd/sixrd.h with 100% similarity]
src/plugins/sixrd/sixrd_dpo.c [moved from plugins/sixrd-plugin/sixrd/sixrd_dpo.c with 100% similarity]
src/plugins/sixrd/sixrd_dpo.h [moved from plugins/sixrd-plugin/sixrd/sixrd_dpo.h with 100% similarity]
src/scripts/vnet/arp4 [moved from vnet/etc/scripts/arp4 with 100% similarity]
src/scripts/vnet/arp4-mpls [moved from vnet/etc/scripts/arp4-mpls with 100% similarity]
src/scripts/vnet/arp6 [moved from vnet/etc/scripts/arp6 with 100% similarity]
src/scripts/vnet/bvi [moved from vnet/etc/scripts/bvi with 100% similarity]
src/scripts/vnet/dhcp/dhcpd.conf [moved from vnet/etc/scripts/dhcp/dhcpd.conf with 100% similarity]
src/scripts/vnet/dhcp/left-ping-target.sh [moved from vnet/etc/scripts/dhcp/left-ping-target.sh with 100% similarity]
src/scripts/vnet/dhcp/leftpeer.conf [moved from vnet/etc/scripts/dhcp/leftpeer.conf with 100% similarity]
src/scripts/vnet/icmp [moved from vnet/etc/scripts/icmp with 100% similarity]
src/scripts/vnet/icmp6 [moved from vnet/etc/scripts/icmp6 with 100% similarity]
src/scripts/vnet/ige [moved from vnet/etc/scripts/ige with 100% similarity]
src/scripts/vnet/ip6 [moved from vnet/etc/scripts/ip6 with 100% similarity]
src/scripts/vnet/ip6-hbh [moved from vnet/etc/scripts/ip6-hbh with 100% similarity]
src/scripts/vnet/ixge [moved from vnet/etc/scripts/ixge with 100% similarity]
src/scripts/vnet/l2efpfilter [moved from vnet/etc/scripts/l2efpfilter with 100% similarity]
src/scripts/vnet/l2efpfilter_perf [moved from vnet/etc/scripts/l2efpfilter_perf with 100% similarity]
src/scripts/vnet/l2fib [moved from vnet/etc/scripts/l2fib with 100% similarity]
src/scripts/vnet/l2fib_perf [moved from vnet/etc/scripts/l2fib_perf with 100% similarity]
src/scripts/vnet/l2fib_xc [moved from vnet/etc/scripts/l2fib_xc with 100% similarity]
src/scripts/vnet/l2flood [moved from vnet/etc/scripts/l2flood with 100% similarity]
src/scripts/vnet/l2tp [moved from vnet/etc/scripts/l2tp with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-classify [moved from vnet/etc/scripts/leftpeer/leftpeer-classify with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-classify6 [moved from vnet/etc/scripts/leftpeer/leftpeer-classify6 with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-classifyl2 [moved from vnet/etc/scripts/leftpeer/leftpeer-classifyl2 with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-dhcp [moved from vnet/etc/scripts/leftpeer/leftpeer-dhcp with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-ioam.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-ioam.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-l3vxlan.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-l3vxlan.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-lisp.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-lisp.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-mpls.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-mpls.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-sr.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-sr.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer-vxlan.conf [moved from vnet/etc/scripts/leftpeer/leftpeer-vxlan.conf with 100% similarity]
src/scripts/vnet/leftpeer/leftpeer.script [moved from vnet/etc/scripts/leftpeer/leftpeer.script with 100% similarity]
src/scripts/vnet/lfib/ip4-to-mpls [moved from vnet/etc/scripts/lfib/ip4-to-mpls with 100% similarity]
src/scripts/vnet/lfib/mpls-pop-to-mpls [moved from vnet/etc/scripts/lfib/mpls-pop-to-mpls with 100% similarity]
src/scripts/vnet/lfib/mpls-to-ip4 [moved from vnet/etc/scripts/lfib/mpls-to-ip4 with 100% similarity]
src/scripts/vnet/lfib/mpls-to-mpls [moved from vnet/etc/scripts/lfib/mpls-to-mpls with 100% similarity]
src/scripts/vnet/mpls-o-ethernet/leftpeer.conf [moved from vnet/etc/scripts/mpls-o-ethernet/leftpeer.conf with 100% similarity]
src/scripts/vnet/mpls-o-ethernet/pg [moved from vnet/etc/scripts/mpls-o-ethernet/pg with 100% similarity]
src/scripts/vnet/mpls-o-ethernet/rightpeer.conf [moved from vnet/etc/scripts/mpls-o-ethernet/rightpeer.conf with 100% similarity]
src/scripts/vnet/mpls-o-ethernet/single.conf [moved from vnet/etc/scripts/mpls-o-ethernet/single.conf with 100% similarity]
src/scripts/vnet/mpls-o-gre/dhcpd.conf [moved from vnet/etc/scripts/mpls-o-gre/dhcpd.conf with 100% similarity]
src/scripts/vnet/mpls-o-gre/leftpeer.conf [moved from vnet/etc/scripts/mpls-o-gre/leftpeer.conf with 100% similarity]
src/scripts/vnet/mpls-o-gre/rightpeer.conf [moved from vnet/etc/scripts/mpls-o-gre/rightpeer.conf with 100% similarity]
src/scripts/vnet/mpls-tunnel [moved from vnet/etc/scripts/mpls-tunnel with 100% similarity]
src/scripts/vnet/pcap [moved from vnet/etc/scripts/pcap with 100% similarity]
src/scripts/vnet/probe4 [moved from vnet/etc/scripts/probe4 with 100% similarity]
src/scripts/vnet/probe6 [moved from vnet/etc/scripts/probe6 with 100% similarity]
src/scripts/vnet/rewrite [moved from vnet/etc/scripts/rewrite with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-ioam.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-ioam.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-l3vxlan.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-l3vxlan.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-lisp.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-lisp.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-mpls-l2.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-mpls-l2.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-mpls.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-mpls.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-sr.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-sr.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer-vxlan.conf [moved from vnet/etc/scripts/rightpeer/rightpeer-vxlan.conf with 100% similarity]
src/scripts/vnet/rightpeer/rightpeer.script [moved from vnet/etc/scripts/rightpeer/rightpeer.script with 100% similarity]
src/scripts/vnet/rpf [moved from vnet/etc/scripts/rpf with 100% similarity]
src/scripts/vnet/rtt-test [moved from vnet/etc/scripts/rtt-test with 100% similarity]
src/scripts/vnet/snat [moved from vnet/etc/scripts/snat with 100% similarity]
src/scripts/vnet/snat_static [moved from vnet/etc/scripts/snat_static with 100% similarity]
src/scripts/vnet/snat_static_with_port [moved from vnet/etc/scripts/snat_static_with_port with 100% similarity]
src/scripts/vnet/source_and_port_range_check [moved from vnet/etc/scripts/source_and_port_range_check with 100% similarity]
src/scripts/vnet/speed [moved from vnet/etc/scripts/speed with 100% similarity]
src/scripts/vnet/sr/left-linux-ping.sh [moved from vnet/etc/scripts/sr/left-linux-ping.sh with 100% similarity]
src/scripts/vnet/sr/leftpeer.conf [moved from vnet/etc/scripts/sr/leftpeer.conf with 100% similarity]
src/scripts/vnet/sr/right-linux-ping.sh [moved from vnet/etc/scripts/sr/right-linux-ping.sh with 100% similarity]
src/scripts/vnet/sr/rightpeer.conf [moved from vnet/etc/scripts/sr/rightpeer.conf with 100% similarity]
src/scripts/vnet/sr/srlocal.sh [moved from vnet/etc/scripts/sr/srlocal.sh with 100% similarity]
src/scripts/vnet/srp [moved from vnet/etc/scripts/srp with 100% similarity]
src/scripts/vnet/tcp [moved from vnet/etc/scripts/tcp with 100% similarity]
src/scripts/vnet/tcp-test [moved from vnet/etc/scripts/tcp-test with 100% similarity]
src/scripts/vnet/tf-ucs-1 [moved from vnet/etc/scripts/tf-ucs-1 with 100% similarity]
src/scripts/vnet/urpf [moved from vnet/etc/scripts/urpf with 100% similarity]
src/scripts/vnet/virl/ip6sr.virl [moved from vnet/etc/scripts/virl/ip6sr.virl with 100% similarity]
src/scripts/vnet/virl/ip6sr_notes.txt [moved from vnet/etc/scripts/virl/ip6sr_notes.txt with 100% similarity]
src/scripts/vnet/virl/mplsogre.virl [moved from vnet/etc/scripts/virl/mplsogre.virl with 100% similarity]
src/scripts/vnet/virl/simple.virl [moved from vnet/etc/scripts/virl/simple.virl with 100% similarity]
src/scripts/vnet/vlan [moved from vnet/etc/scripts/vlan with 100% similarity]
src/scripts/vppctl [moved from vpp-api-test/scripts/vppctl with 100% similarity]
src/suffix-rules.mk [moved from build-data/suffix-rules.mk with 100% similarity]
src/svm.am [moved from svm/Makefile.am with 57% similarity]
src/svm/dir.dox [moved from svm/dir.dox with 100% similarity]
src/svm/persist.c [moved from svm/persist.c with 100% similarity]
src/svm/ssvm.c [moved from svm/ssvm.c with 100% similarity]
src/svm/ssvm.h [moved from svm/ssvm.h with 100% similarity]
src/svm/svm.c [moved from svm/svm.c with 100% similarity]
src/svm/svm.h [moved from svm/svm.h with 100% similarity]
src/svm/svm_test.c [moved from svm/svm_test.c with 100% similarity]
src/svm/svmdb.c [moved from svm/svmdb.c with 100% similarity]
src/svm/svmdb.h [moved from svm/svmdb.h with 100% similarity]
src/svm/svmdbtool.c [moved from svm/svmdbtool.c with 100% similarity]
src/svm/svmtool.c [moved from svm/svmtool.c with 100% similarity]
src/tests/vnet/README [moved from vnet/test/README with 100% similarity]
src/tests/vnet/lisp-cp/test_cp_serdes.c [moved from vnet/test/lisp-cp/test_cp_serdes.c with 99% similarity]
src/tests/vnet/lisp-cp/test_lisp_types.c [moved from vnet/test/lisp-cp/test_lisp_types.c with 99% similarity]
src/tests/vnet/lisp-gpe/test.c [moved from vnet/test/lisp-gpe/test.c with 100% similarity]
src/tools/elftool/dir.dox [moved from vppinfra/tools/dir.dox with 100% similarity]
src/tools/elftool/elftool.c [moved from vppinfra/tools/elftool.c with 100% similarity]
src/tools/g2/clib.c [moved from g2/clib.c with 98% similarity]
src/tools/g2/configure.ac [moved from g2/configure.ac with 100% similarity]
src/tools/g2/cpel.c [moved from g2/cpel.c with 100% similarity]
src/tools/g2/cpel.h [moved from g2/cpel.h with 100% similarity]
src/tools/g2/events.c [moved from g2/events.c with 100% similarity]
src/tools/g2/g2.h [moved from g2/g2.h with 100% similarity]
src/tools/g2/g2version.c [moved from g2/g2version.c with 100% similarity]
src/tools/g2/main.c [moved from g2/main.c with 100% similarity]
src/tools/g2/menu1.c [moved from g2/menu1.c with 100% similarity]
src/tools/g2/mkversion.c [moved from g2/mkversion.c with 100% similarity]
src/tools/g2/pointsel.c [moved from g2/pointsel.c with 100% similarity]
src/tools/g2/props.c [moved from g2/props.c with 100% similarity]
src/tools/g2/props.h [moved from g2/props.h with 100% similarity]
src/tools/g2/view1.c [moved from g2/view1.c with 100% similarity]
src/tools/perftool/c2cpel.c [moved from perftool/c2cpel.c with 100% similarity]
src/tools/perftool/configure.ac [moved from perftool/configure.ac with 100% similarity]
src/tools/perftool/cpel.h [moved from perftool/cpel.h with 100% similarity]
src/tools/perftool/cpel_util.c [moved from perftool/cpel_util.c with 100% similarity]
src/tools/perftool/cpel_util.h [moved from perftool/cpel_util.h with 100% similarity]
src/tools/perftool/cpelatency.c [moved from perftool/cpelatency.c with 99% similarity]
src/tools/perftool/cpeldump.c [moved from perftool/cpeldump.c with 100% similarity]
src/tools/perftool/cpelinreg.c [moved from perftool/cpelinreg.c with 100% similarity]
src/tools/perftool/cpelstate.c [moved from perftool/cpelstate.c with 100% similarity]
src/tools/perftool/delsvec.c [moved from perftool/delsvec.c with 100% similarity]
src/tools/perftool/linreg.c [moved from perftool/linreg.c with 100% similarity]
src/tools/perftool/new.cpel [moved from perftool/new.cpel with 100% similarity]
src/tools/perftool/new.elog [moved from perftool/new.elog with 100% similarity]
src/tools/perftool/props.c [moved from perftool/props.c with 100% similarity]
src/tools/vppapigen/configure.ac [moved from vppapigen/configure.ac with 100% similarity]
src/tools/vppapigen/gram.y [moved from vppapigen/gram.y with 100% similarity]
src/tools/vppapigen/lex.c [moved from vppapigen/lex.c with 99% similarity]
src/tools/vppapigen/lex.h [moved from vppapigen/lex.h with 97% similarity]
src/tools/vppapigen/node.c [moved from vppapigen/node.c with 99% similarity]
src/tools/vppapigen/node.h [moved from vppapigen/node.h with 100% similarity]
src/vat/api_format.c [moved from vpp-api-test/vat/api_format.c with 99% similarity]
src/vat/json_format.c [moved from vpp-api-test/vat/json_format.c with 100% similarity]
src/vat/json_format.h [moved from vpp-api-test/vat/json_format.h with 100% similarity]
src/vat/json_test.c [moved from vpp-api-test/vat/json_test.c with 100% similarity]
src/vat/main.c [moved from vpp-api-test/vat/main.c with 99% similarity]
src/vat/plugin.c [moved from vpp-api-test/vat/plugin.c with 100% similarity]
src/vat/plugin.h [moved from vpp-api-test/vat/plugin.h with 100% similarity]
src/vat/plugin_api.c [moved from vpp-api-test/vat/plugin_api.c with 100% similarity]
src/vat/restart.c [moved from vpp-api-test/vat/restart.c with 99% similarity]
src/vat/vat.h [moved from vpp-api-test/vat/vat.h with 99% similarity]
src/vlib-api.am [moved from vlib-api/Makefile.am with 73% similarity]
src/vlib.am [moved from vlib/Makefile.am with 84% similarity]
src/vlib/buffer.c [moved from vlib/vlib/buffer.c with 100% similarity]
src/vlib/buffer.h [moved from vlib/vlib/buffer.h with 100% similarity]
src/vlib/buffer_funcs.h [moved from vlib/vlib/buffer_funcs.h with 100% similarity]
src/vlib/buffer_node.h [moved from vlib/vlib/buffer_node.h with 100% similarity]
src/vlib/cli.c [moved from vlib/vlib/cli.c with 100% similarity]
src/vlib/cli.h [moved from vlib/vlib/cli.h with 100% similarity]
src/vlib/cli_funcs.h [moved from vlib/vlib/cli_funcs.h with 100% similarity]
src/vlib/counter.c [moved from vlib/vlib/counter.c with 100% similarity]
src/vlib/counter.h [moved from vlib/vlib/counter.h with 100% similarity]
src/vlib/defs.h [moved from vlib/vlib/defs.h with 100% similarity]
src/vlib/dir.dox [moved from vlib/vlib/dir.dox with 100% similarity]
src/vlib/elog_samples.c [moved from vlib/vlib/elog_samples.c with 100% similarity]
src/vlib/error.c [moved from vlib/vlib/error.c with 100% similarity]
src/vlib/error.h [moved from vlib/vlib/error.h with 100% similarity]
src/vlib/error_funcs.h [moved from vlib/vlib/error_funcs.h with 100% similarity]
src/vlib/format.c [moved from vlib/vlib/format.c with 100% similarity]
src/vlib/format_funcs.h [moved from vlib/vlib/format_funcs.h with 100% similarity]
src/vlib/global_funcs.h [moved from vlib/vlib/global_funcs.h with 100% similarity]
src/vlib/i2c.c [moved from vlib/vlib/i2c.c with 100% similarity]
src/vlib/i2c.h [moved from vlib/vlib/i2c.h with 100% similarity]
src/vlib/init.c [moved from vlib/vlib/init.c with 100% similarity]
src/vlib/init.h [moved from vlib/vlib/init.h with 100% similarity]
src/vlib/lex.c [moved from vlib/vlib/lex.c with 100% similarity]
src/vlib/lex.h [moved from vlib/vlib/lex.h with 100% similarity]
src/vlib/main.c [moved from vlib/vlib/main.c with 100% similarity]
src/vlib/main.h [moved from vlib/vlib/main.h with 100% similarity]
src/vlib/mc.c [moved from vlib/vlib/mc.c with 100% similarity]
src/vlib/mc.h [moved from vlib/vlib/mc.h with 100% similarity]
src/vlib/node.c [moved from vlib/vlib/node.c with 100% similarity]
src/vlib/node.h [moved from vlib/vlib/node.h with 100% similarity]
src/vlib/node_cli.c [moved from vlib/vlib/node_cli.c with 100% similarity]
src/vlib/node_format.c [moved from vlib/vlib/node_format.c with 100% similarity]
src/vlib/node_funcs.h [moved from vlib/vlib/node_funcs.h with 100% similarity]
src/vlib/parse.c [moved from vlib/vlib/parse.c with 100% similarity]
src/vlib/parse.h [moved from vlib/vlib/parse.h with 100% similarity]
src/vlib/parse_builtin.c [moved from vlib/vlib/parse_builtin.c with 100% similarity]
src/vlib/pci/linux_pci.c [moved from vlib/vlib/pci/linux_pci.c with 100% similarity]
src/vlib/pci/pci.c [moved from vlib/vlib/pci/pci.c with 100% similarity]
src/vlib/pci/pci.h [moved from vlib/vlib/pci/pci.h with 100% similarity]
src/vlib/pci/pci_config.h [moved from vlib/vlib/pci/pci_config.h with 100% similarity]
src/vlib/physmem.h [moved from vlib/vlib/physmem.h with 100% similarity]
src/vlib/threads.c [moved from vlib/vlib/threads.c with 100% similarity]
src/vlib/threads.h [moved from vlib/vlib/threads.h with 100% similarity]
src/vlib/threads_cli.c [moved from vlib/vlib/threads_cli.c with 100% similarity]
src/vlib/trace.c [moved from vlib/vlib/trace.c with 100% similarity]
src/vlib/trace.h [moved from vlib/vlib/trace.h with 100% similarity]
src/vlib/trace_funcs.h [moved from vlib/vlib/trace_funcs.h with 100% similarity]
src/vlib/unix/cj.c [moved from vlib/vlib/unix/cj.c with 100% similarity]
src/vlib/unix/cj.h [moved from vlib/vlib/unix/cj.h with 100% similarity]
src/vlib/unix/cli.c [moved from vlib/vlib/unix/cli.c with 100% similarity]
src/vlib/unix/dir.dox [moved from vlib/vlib/unix/dir.dox with 100% similarity]
src/vlib/unix/input.c [moved from vlib/vlib/unix/input.c with 100% similarity]
src/vlib/unix/main.c [moved from vlib/vlib/unix/main.c with 100% similarity]
src/vlib/unix/mc_socket.c [moved from vlib/vlib/unix/mc_socket.c with 100% similarity]
src/vlib/unix/mc_socket.h [moved from vlib/vlib/unix/mc_socket.h with 100% similarity]
src/vlib/unix/physmem.c [moved from vlib/vlib/unix/physmem.c with 100% similarity]
src/vlib/unix/physmem.h [moved from vlib/vlib/unix/physmem.h with 100% similarity]
src/vlib/unix/plugin.c [moved from vlib/vlib/unix/plugin.c with 100% similarity]
src/vlib/unix/plugin.h [moved from vlib/vlib/unix/plugin.h with 100% similarity]
src/vlib/unix/unix.h [moved from vlib/vlib/unix/unix.h with 100% similarity]
src/vlib/unix/util.c [moved from vlib/vlib/unix/util.c with 100% similarity]
src/vlib/vlib.h [moved from vlib/vlib/vlib.h with 100% similarity]
src/vlib/vlib_process_doc.h [moved from vlib/vlib/vlib_process_doc.h with 100% similarity]
src/vlibapi/api.h [moved from vlib-api/vlibapi/api.h with 99% similarity]
src/vlibapi/api_helper_macros.h [moved from vlib-api/vlibapi/api_helper_macros.h with 100% similarity]
src/vlibapi/api_shared.c [moved from vlib-api/vlibapi/api_shared.c with 100% similarity]
src/vlibapi/node_serialize.c [moved from vlib-api/vlibapi/node_serialize.c with 100% similarity]
src/vlibmemory/api.h [moved from vlib-api/vlibmemory/api.h with 99% similarity]
src/vlibmemory/memclnt.api [moved from vlib-api/vlibmemory/memclnt.api with 100% similarity]
src/vlibmemory/memory_client.c [moved from vlib-api/vlibmemory/memory_client.c with 100% similarity]
src/vlibmemory/memory_shared.c [moved from vlib-api/vlibmemory/memory_shared.c with 100% similarity]
src/vlibmemory/memory_vlib.c [moved from vlib-api/vlibmemory/memory_vlib.c with 100% similarity]
src/vlibmemory/unix_shared_memory_queue.c [moved from vlib-api/vlibmemory/unix_shared_memory_queue.c with 100% similarity]
src/vlibmemory/unix_shared_memory_queue.h [moved from vlib-api/vlibmemory/unix_shared_memory_queue.h with 100% similarity]
src/vlibmemory/vl_memory_api_h.h [moved from vlib-api/vlibmemory/vl_memory_api_h.h with 100% similarity]
src/vlibmemory/vl_memory_msg_enum.h [moved from vlib-api/vlibmemory/vl_memory_msg_enum.h with 100% similarity]
src/vlibsocket/api.h [moved from vlib-api/vlibsocket/api.h with 100% similarity]
src/vlibsocket/sock_test.c [moved from vlib-api/vlibsocket/sock_test.c with 100% similarity]
src/vlibsocket/sockclnt.api [moved from vlib-api/vlibsocket/sockclnt.api with 100% similarity]
src/vlibsocket/sockclnt_vlib.c [moved from vlib-api/vlibsocket/sockclnt_vlib.c with 100% similarity]
src/vlibsocket/socksvr_vlib.c [moved from vlib-api/vlibsocket/socksvr_vlib.c with 100% similarity]
src/vlibsocket/vl_socket_api_h.h [moved from vlib-api/vlibsocket/vl_socket_api_h.h with 100% similarity]
src/vlibsocket/vl_socket_msg_enum.h [moved from vlib-api/vlibsocket/vl_socket_msg_enum.h with 100% similarity]
src/vnet.am [moved from vnet/Makefile.am with 94% similarity]
src/vnet/adj/adj.c [moved from vnet/vnet/adj/adj.c with 100% similarity]
src/vnet/adj/adj.h [moved from vnet/vnet/adj/adj.h with 100% similarity]
src/vnet/adj/adj_glean.c [moved from vnet/vnet/adj/adj_glean.c with 100% similarity]
src/vnet/adj/adj_glean.h [moved from vnet/vnet/adj/adj_glean.h with 100% similarity]
src/vnet/adj/adj_internal.h [moved from vnet/vnet/adj/adj_internal.h with 100% similarity]
src/vnet/adj/adj_l2.c [moved from vnet/vnet/adj/adj_l2.c with 100% similarity]
src/vnet/adj/adj_l2.h [moved from vnet/vnet/adj/adj_l2.h with 100% similarity]
src/vnet/adj/adj_midchain.c [moved from vnet/vnet/adj/adj_midchain.c with 100% similarity]
src/vnet/adj/adj_midchain.h [moved from vnet/vnet/adj/adj_midchain.h with 100% similarity]
src/vnet/adj/adj_nbr.c [moved from vnet/vnet/adj/adj_nbr.c with 100% similarity]
src/vnet/adj/adj_nbr.h [moved from vnet/vnet/adj/adj_nbr.h with 100% similarity]
src/vnet/adj/adj_rewrite.c [moved from vnet/vnet/adj/adj_rewrite.c with 100% similarity]
src/vnet/adj/adj_rewrite.h [moved from vnet/vnet/adj/adj_rewrite.h with 100% similarity]
src/vnet/adj/adj_types.h [moved from vnet/vnet/adj/adj_types.h with 100% similarity]
src/vnet/api_errno.h [moved from vnet/vnet/api_errno.h with 100% similarity]
src/vnet/bfd/bfd.api [moved from vnet/vnet/bfd/bfd.api with 100% similarity]
src/vnet/bfd/bfd_api.c [moved from vnet/vnet/bfd/bfd_api.c with 100% similarity]
src/vnet/bfd/bfd_api.h [moved from vnet/vnet/bfd/bfd_api.h with 100% similarity]
src/vnet/bfd/bfd_debug.h [moved from vnet/vnet/bfd/bfd_debug.h with 100% similarity]
src/vnet/bfd/bfd_doc.md [moved from vnet/vnet/bfd/bfd_doc.md with 100% similarity]
src/vnet/bfd/bfd_main.c [moved from vnet/vnet/bfd/bfd_main.c with 100% similarity]
src/vnet/bfd/bfd_main.h [moved from vnet/vnet/bfd/bfd_main.h with 100% similarity]
src/vnet/bfd/bfd_protocol.c [moved from vnet/vnet/bfd/bfd_protocol.c with 100% similarity]
src/vnet/bfd/bfd_protocol.h [moved from vnet/vnet/bfd/bfd_protocol.h with 100% similarity]
src/vnet/bfd/bfd_udp.c [moved from vnet/vnet/bfd/bfd_udp.c with 100% similarity]
src/vnet/bfd/bfd_udp.h [moved from vnet/vnet/bfd/bfd_udp.h with 100% similarity]
src/vnet/bfd/dir.dox [moved from vnet/vnet/bfd/dir.dox with 100% similarity]
src/vnet/buffer.h [moved from vnet/vnet/buffer.h with 100% similarity]
src/vnet/cdp/cdp.pg [moved from vnet/vnet/cdp/cdp.pg with 100% similarity]
src/vnet/cdp/cdp_input.c [moved from vnet/vnet/cdp/cdp_input.c with 100% similarity]
src/vnet/cdp/cdp_node.c [moved from vnet/vnet/cdp/cdp_node.c with 100% similarity]
src/vnet/cdp/cdp_node.h [moved from vnet/vnet/cdp/cdp_node.h with 100% similarity]
src/vnet/cdp/cdp_periodic.c [moved from vnet/vnet/cdp/cdp_periodic.c with 100% similarity]
src/vnet/cdp/cdp_protocol.h [moved from vnet/vnet/cdp/cdp_protocol.h with 100% similarity]
src/vnet/classify/README [moved from vnet/vnet/classify/README with 100% similarity]
src/vnet/classify/flow_classify.c [moved from vnet/vnet/classify/flow_classify.c with 100% similarity]
src/vnet/classify/flow_classify.h [moved from vnet/vnet/classify/flow_classify.h with 100% similarity]
src/vnet/classify/flow_classify_node.c [moved from vnet/vnet/classify/flow_classify_node.c with 100% similarity]
src/vnet/classify/input_acl.c [moved from vnet/vnet/classify/input_acl.c with 100% similarity]
src/vnet/classify/input_acl.h [moved from vnet/vnet/classify/input_acl.h with 100% similarity]
src/vnet/classify/ip_classify.c [moved from vnet/vnet/classify/ip_classify.c with 100% similarity]
src/vnet/classify/policer_classify.c [moved from vnet/vnet/classify/policer_classify.c with 100% similarity]
src/vnet/classify/policer_classify.h [moved from vnet/vnet/classify/policer_classify.h with 100% similarity]
src/vnet/classify/vnet_classify.c [moved from vnet/vnet/classify/vnet_classify.c with 100% similarity]
src/vnet/classify/vnet_classify.h [moved from vnet/vnet/classify/vnet_classify.h with 100% similarity]
src/vnet/config.c [moved from vnet/vnet/config.c with 100% similarity]
src/vnet/config.h [moved from vnet/vnet/config.h with 100% similarity]
src/vnet/cop/cop.c [moved from vnet/vnet/cop/cop.c with 100% similarity]
src/vnet/cop/cop.h [moved from vnet/vnet/cop/cop.h with 100% similarity]
src/vnet/cop/ip4_whitelist.c [moved from vnet/vnet/cop/ip4_whitelist.c with 100% similarity]
src/vnet/cop/ip6_whitelist.c [moved from vnet/vnet/cop/ip6_whitelist.c with 100% similarity]
src/vnet/cop/node1.c [moved from vnet/vnet/cop/node1.c with 100% similarity]
src/vnet/devices/af_packet/af_packet.api [moved from vnet/vnet/devices/af_packet/af_packet.api with 100% similarity]
src/vnet/devices/af_packet/af_packet.c [moved from vnet/vnet/devices/af_packet/af_packet.c with 100% similarity]
src/vnet/devices/af_packet/af_packet.h [moved from vnet/vnet/devices/af_packet/af_packet.h with 100% similarity]
src/vnet/devices/af_packet/af_packet_api.c [moved from vnet/vnet/devices/af_packet/af_packet_api.c with 100% similarity]
src/vnet/devices/af_packet/cli.c [moved from vnet/vnet/devices/af_packet/cli.c with 100% similarity]
src/vnet/devices/af_packet/device.c [moved from vnet/vnet/devices/af_packet/device.c with 100% similarity]
src/vnet/devices/af_packet/node.c [moved from vnet/vnet/devices/af_packet/node.c with 100% similarity]
src/vnet/devices/devices.c [moved from vnet/vnet/devices/devices.c with 100% similarity]
src/vnet/devices/devices.h [moved from vnet/vnet/devices/devices.h with 100% similarity]
src/vnet/devices/dpdk/cli.c [moved from vnet/vnet/devices/dpdk/cli.c with 100% similarity]
src/vnet/devices/dpdk/device.c [moved from vnet/vnet/devices/dpdk/device.c with 100% similarity]
src/vnet/devices/dpdk/dpdk.h [moved from vnet/vnet/devices/dpdk/dpdk.h with 100% similarity]
src/vnet/devices/dpdk/dpdk_priv.h [moved from vnet/vnet/devices/dpdk/dpdk_priv.h with 100% similarity]
src/vnet/devices/dpdk/format.c [moved from vnet/vnet/devices/dpdk/format.c with 100% similarity]
src/vnet/devices/dpdk/hqos.c [moved from vnet/vnet/devices/dpdk/hqos.c with 100% similarity]
src/vnet/devices/dpdk/init.c [moved from vnet/vnet/devices/dpdk/init.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/cli.c [moved from vnet/vnet/devices/dpdk/ipsec/cli.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/crypto_node.c [moved from vnet/vnet/devices/dpdk/ipsec/crypto_node.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/dir.dox [moved from vnet/vnet/devices/dpdk/ipsec/dir.dox with 100% similarity]
src/vnet/devices/dpdk/ipsec/dpdk_crypto_ipsec_doc.md [moved from vnet/vnet/devices/dpdk/ipsec/dpdk_crypto_ipsec_doc.md with 100% similarity]
src/vnet/devices/dpdk/ipsec/esp.h [moved from vnet/vnet/devices/dpdk/ipsec/esp.h with 100% similarity]
src/vnet/devices/dpdk/ipsec/esp_decrypt.c [moved from vnet/vnet/devices/dpdk/ipsec/esp_decrypt.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/esp_encrypt.c [moved from vnet/vnet/devices/dpdk/ipsec/esp_encrypt.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/ipsec.c [moved from vnet/vnet/devices/dpdk/ipsec/ipsec.c with 100% similarity]
src/vnet/devices/dpdk/ipsec/ipsec.h [moved from vnet/vnet/devices/dpdk/ipsec/ipsec.h with 100% similarity]
src/vnet/devices/dpdk/node.c [moved from vnet/vnet/devices/dpdk/node.c with 100% similarity]
src/vnet/devices/dpdk/qos_doc.md [moved from vnet/vnet/devices/dpdk/qos_doc.md with 100% similarity]
src/vnet/devices/netmap/cli.c [moved from vnet/vnet/devices/netmap/cli.c with 100% similarity]
src/vnet/devices/netmap/device.c [moved from vnet/vnet/devices/netmap/device.c with 100% similarity]
src/vnet/devices/netmap/net_netmap.h [moved from vnet/vnet/devices/netmap/net_netmap.h with 100% similarity]
src/vnet/devices/netmap/netmap.api [moved from vnet/vnet/devices/netmap/netmap.api with 100% similarity]
src/vnet/devices/netmap/netmap.c [moved from vnet/vnet/devices/netmap/netmap.c with 100% similarity]
src/vnet/devices/netmap/netmap.h [moved from vnet/vnet/devices/netmap/netmap.h with 100% similarity]
src/vnet/devices/netmap/netmap_api.c [moved from vnet/vnet/devices/netmap/netmap_api.c with 100% similarity]
src/vnet/devices/netmap/node.c [moved from vnet/vnet/devices/netmap/node.c with 100% similarity]
src/vnet/devices/nic/ixge.c [moved from vnet/vnet/devices/nic/ixge.c with 100% similarity]
src/vnet/devices/nic/ixge.h [moved from vnet/vnet/devices/nic/ixge.h with 100% similarity]
src/vnet/devices/nic/sfp.c [moved from vnet/vnet/devices/nic/sfp.c with 100% similarity]
src/vnet/devices/nic/sfp.h [moved from vnet/vnet/devices/nic/sfp.h with 100% similarity]
src/vnet/devices/ssvm/node.c [moved from vnet/vnet/devices/ssvm/node.c with 100% similarity]
src/vnet/devices/ssvm/ssvm_eth.c [moved from vnet/vnet/devices/ssvm/ssvm_eth.c with 100% similarity]
src/vnet/devices/ssvm/ssvm_eth.h [moved from vnet/vnet/devices/ssvm/ssvm_eth.h with 99% similarity]
src/vnet/devices/virtio/dir.dox [moved from vnet/vnet/devices/virtio/dir.dox with 100% similarity]
src/vnet/devices/virtio/vhost-user.c [moved from vnet/vnet/devices/virtio/vhost-user.c with 100% similarity]
src/vnet/devices/virtio/vhost-user.h [moved from vnet/vnet/devices/virtio/vhost-user.h with 100% similarity]
src/vnet/devices/virtio/vhost_user.api [moved from vnet/vnet/devices/virtio/vhost_user.api with 100% similarity]
src/vnet/devices/virtio/vhost_user_api.c [moved from vnet/vnet/devices/virtio/vhost_user_api.c with 100% similarity]
src/vnet/dhcp/client.c [moved from vnet/vnet/dhcp/client.c with 100% similarity]
src/vnet/dhcp/client.h [moved from vnet/vnet/dhcp/client.h with 100% similarity]
src/vnet/dhcp/packet.h [moved from vnet/vnet/dhcp/packet.h with 100% similarity]
src/vnet/dhcp/proxy.h [moved from vnet/vnet/dhcp/proxy.h with 100% similarity]
src/vnet/dhcp/proxy_error.def [moved from vnet/vnet/dhcp/proxy_error.def with 100% similarity]
src/vnet/dhcp/proxy_node.c [moved from vnet/vnet/dhcp/proxy_node.c with 100% similarity]
src/vnet/dhcpv6/packet.h [moved from vnet/vnet/dhcpv6/packet.h with 100% similarity]
src/vnet/dhcpv6/proxy.h [moved from vnet/vnet/dhcpv6/proxy.h with 100% similarity]
src/vnet/dhcpv6/proxy_error.def [moved from vnet/vnet/dhcpv6/proxy_error.def with 100% similarity]
src/vnet/dhcpv6/proxy_node.c [moved from vnet/vnet/dhcpv6/proxy_node.c with 100% similarity]
src/vnet/dpo/classify_dpo.c [moved from vnet/vnet/dpo/classify_dpo.c with 100% similarity]
src/vnet/dpo/classify_dpo.h [moved from vnet/vnet/dpo/classify_dpo.h with 100% similarity]
src/vnet/dpo/dpo.c [moved from vnet/vnet/dpo/dpo.c with 100% similarity]
src/vnet/dpo/dpo.h [moved from vnet/vnet/dpo/dpo.h with 100% similarity]
src/vnet/dpo/drop_dpo.c [moved from vnet/vnet/dpo/drop_dpo.c with 100% similarity]
src/vnet/dpo/drop_dpo.h [moved from vnet/vnet/dpo/drop_dpo.h with 100% similarity]
src/vnet/dpo/ip_null_dpo.c [moved from vnet/vnet/dpo/ip_null_dpo.c with 100% similarity]
src/vnet/dpo/ip_null_dpo.h [moved from vnet/vnet/dpo/ip_null_dpo.h with 100% similarity]
src/vnet/dpo/load_balance.c [moved from vnet/vnet/dpo/load_balance.c with 100% similarity]
src/vnet/dpo/load_balance.h [moved from vnet/vnet/dpo/load_balance.h with 100% similarity]
src/vnet/dpo/load_balance_map.c [moved from vnet/vnet/dpo/load_balance_map.c with 100% similarity]
src/vnet/dpo/load_balance_map.h [moved from vnet/vnet/dpo/load_balance_map.h with 100% similarity]
src/vnet/dpo/lookup_dpo.c [moved from vnet/vnet/dpo/lookup_dpo.c with 100% similarity]
src/vnet/dpo/lookup_dpo.h [moved from vnet/vnet/dpo/lookup_dpo.h with 100% similarity]
src/vnet/dpo/mpls_label_dpo.c [moved from vnet/vnet/dpo/mpls_label_dpo.c with 100% similarity]
src/vnet/dpo/mpls_label_dpo.h [moved from vnet/vnet/dpo/mpls_label_dpo.h with 100% similarity]
src/vnet/dpo/punt_dpo.c [moved from vnet/vnet/dpo/punt_dpo.c with 100% similarity]
src/vnet/dpo/punt_dpo.h [moved from vnet/vnet/dpo/punt_dpo.h with 100% similarity]
src/vnet/dpo/receive_dpo.c [moved from vnet/vnet/dpo/receive_dpo.c with 100% similarity]
src/vnet/dpo/receive_dpo.h [moved from vnet/vnet/dpo/receive_dpo.h with 100% similarity]
src/vnet/ethernet/arp.c [moved from vnet/vnet/ethernet/arp.c with 100% similarity]
src/vnet/ethernet/arp_packet.h [moved from vnet/vnet/ethernet/arp_packet.h with 100% similarity]
src/vnet/ethernet/dir.dox [moved from vnet/vnet/ethernet/dir.dox with 100% similarity]
src/vnet/ethernet/error.def [moved from vnet/vnet/ethernet/error.def with 100% similarity]
src/vnet/ethernet/ethernet.h [moved from vnet/vnet/ethernet/ethernet.h with 100% similarity]
src/vnet/ethernet/format.c [moved from vnet/vnet/ethernet/format.c with 100% similarity]
src/vnet/ethernet/init.c [moved from vnet/vnet/ethernet/init.c with 100% similarity]
src/vnet/ethernet/interface.c [moved from vnet/vnet/ethernet/interface.c with 100% similarity]
src/vnet/ethernet/mac_swap.c [moved from vnet/vnet/ethernet/mac_swap.c with 100% similarity]
src/vnet/ethernet/node.c [moved from vnet/vnet/ethernet/node.c with 100% similarity]
src/vnet/ethernet/packet.h [moved from vnet/vnet/ethernet/packet.h with 100% similarity]
src/vnet/ethernet/pg.c [moved from vnet/vnet/ethernet/pg.c with 100% similarity]
src/vnet/ethernet/types.def [moved from vnet/vnet/ethernet/types.def with 100% similarity]
src/vnet/feature/feature.c [moved from vnet/vnet/feature/feature.c with 100% similarity]
src/vnet/feature/feature.h [moved from vnet/vnet/feature/feature.h with 100% similarity]
src/vnet/feature/registration.c [moved from vnet/vnet/feature/registration.c with 100% similarity]
src/vnet/fib/fib.c [moved from vnet/vnet/fib/fib.c with 100% similarity]
src/vnet/fib/fib.h [moved from vnet/vnet/fib/fib.h with 100% similarity]
src/vnet/fib/fib_api.h [moved from vnet/vnet/fib/fib_api.h with 100% similarity]
src/vnet/fib/fib_attached_export.c [moved from vnet/vnet/fib/fib_attached_export.c with 100% similarity]
src/vnet/fib/fib_attached_export.h [moved from vnet/vnet/fib/fib_attached_export.h with 100% similarity]
src/vnet/fib/fib_entry.c [moved from vnet/vnet/fib/fib_entry.c with 100% similarity]
src/vnet/fib/fib_entry.h [moved from vnet/vnet/fib/fib_entry.h with 100% similarity]
src/vnet/fib/fib_entry_cover.c [moved from vnet/vnet/fib/fib_entry_cover.c with 100% similarity]
src/vnet/fib/fib_entry_cover.h [moved from vnet/vnet/fib/fib_entry_cover.h with 100% similarity]
src/vnet/fib/fib_entry_delegate.c [moved from vnet/vnet/fib/fib_entry_delegate.c with 100% similarity]
src/vnet/fib/fib_entry_delegate.h [moved from vnet/vnet/fib/fib_entry_delegate.h with 100% similarity]
src/vnet/fib/fib_entry_src.c [moved from vnet/vnet/fib/fib_entry_src.c with 100% similarity]
src/vnet/fib/fib_entry_src.h [moved from vnet/vnet/fib/fib_entry_src.h with 100% similarity]
src/vnet/fib/fib_entry_src_adj.c [moved from vnet/vnet/fib/fib_entry_src_adj.c with 100% similarity]
src/vnet/fib/fib_entry_src_api.c [moved from vnet/vnet/fib/fib_entry_src_api.c with 100% similarity]
src/vnet/fib/fib_entry_src_default.c [moved from vnet/vnet/fib/fib_entry_src_default.c with 100% similarity]
src/vnet/fib/fib_entry_src_default_route.c [moved from vnet/vnet/fib/fib_entry_src_default_route.c with 100% similarity]
src/vnet/fib/fib_entry_src_interface.c [moved from vnet/vnet/fib/fib_entry_src_interface.c with 100% similarity]
src/vnet/fib/fib_entry_src_lisp.c [moved from vnet/vnet/fib/fib_entry_src_lisp.c with 100% similarity]
src/vnet/fib/fib_entry_src_mpls.c [moved from vnet/vnet/fib/fib_entry_src_mpls.c with 100% similarity]
src/vnet/fib/fib_entry_src_rr.c [moved from vnet/vnet/fib/fib_entry_src_rr.c with 100% similarity]
src/vnet/fib/fib_entry_src_special.c [moved from vnet/vnet/fib/fib_entry_src_special.c with 100% similarity]
src/vnet/fib/fib_internal.h [moved from vnet/vnet/fib/fib_internal.h with 100% similarity]
src/vnet/fib/fib_node.c [moved from vnet/vnet/fib/fib_node.c with 100% similarity]
src/vnet/fib/fib_node.h [moved from vnet/vnet/fib/fib_node.h with 100% similarity]
src/vnet/fib/fib_node_list.c [moved from vnet/vnet/fib/fib_node_list.c with 100% similarity]
src/vnet/fib/fib_node_list.h [moved from vnet/vnet/fib/fib_node_list.h with 100% similarity]
src/vnet/fib/fib_path.c [moved from vnet/vnet/fib/fib_path.c with 100% similarity]
src/vnet/fib/fib_path.h [moved from vnet/vnet/fib/fib_path.h with 100% similarity]
src/vnet/fib/fib_path_ext.c [moved from vnet/vnet/fib/fib_path_ext.c with 100% similarity]
src/vnet/fib/fib_path_ext.h [moved from vnet/vnet/fib/fib_path_ext.h with 100% similarity]
src/vnet/fib/fib_path_list.c [moved from vnet/vnet/fib/fib_path_list.c with 100% similarity]
src/vnet/fib/fib_path_list.h [moved from vnet/vnet/fib/fib_path_list.h with 100% similarity]
src/vnet/fib/fib_table.c [moved from vnet/vnet/fib/fib_table.c with 100% similarity]
src/vnet/fib/fib_table.h [moved from vnet/vnet/fib/fib_table.h with 100% similarity]
src/vnet/fib/fib_test.c [moved from vnet/vnet/fib/fib_test.c with 100% similarity]
src/vnet/fib/fib_types.c [moved from vnet/vnet/fib/fib_types.c with 100% similarity]
src/vnet/fib/fib_types.h [moved from vnet/vnet/fib/fib_types.h with 100% similarity]
src/vnet/fib/fib_urpf_list.c [moved from vnet/vnet/fib/fib_urpf_list.c with 100% similarity]
src/vnet/fib/fib_urpf_list.h [moved from vnet/vnet/fib/fib_urpf_list.h with 100% similarity]
src/vnet/fib/fib_walk.c [moved from vnet/vnet/fib/fib_walk.c with 100% similarity]
src/vnet/fib/fib_walk.h [moved from vnet/vnet/fib/fib_walk.h with 100% similarity]
src/vnet/fib/ip4_fib.c [moved from vnet/vnet/fib/ip4_fib.c with 100% similarity]
src/vnet/fib/ip4_fib.h [moved from vnet/vnet/fib/ip4_fib.h with 100% similarity]
src/vnet/fib/ip6_fib.c [moved from vnet/vnet/fib/ip6_fib.c with 100% similarity]
src/vnet/fib/ip6_fib.h [moved from vnet/vnet/fib/ip6_fib.h with 100% similarity]
src/vnet/fib/mpls_fib.c [moved from vnet/vnet/fib/mpls_fib.c with 100% similarity]
src/vnet/fib/mpls_fib.h [moved from vnet/vnet/fib/mpls_fib.h with 100% similarity]
src/vnet/flow/flow_report.c [moved from vnet/vnet/flow/flow_report.c with 100% similarity]
src/vnet/flow/flow_report.h [moved from vnet/vnet/flow/flow_report.h with 100% similarity]
src/vnet/flow/flow_report_classify.c [moved from vnet/vnet/flow/flow_report_classify.c with 100% similarity]
src/vnet/flow/flow_report_classify.h [moved from vnet/vnet/flow/flow_report_classify.h with 100% similarity]
src/vnet/flow/ipfix_info_elements.h [moved from vnet/vnet/flow/ipfix_info_elements.h with 100% similarity]
src/vnet/flow/ipfix_packet.h [moved from vnet/vnet/flow/ipfix_packet.h with 100% similarity]
src/vnet/global_funcs.h [moved from vnet/vnet/global_funcs.h with 100% similarity]
src/vnet/gre/error.def [moved from vnet/vnet/gre/error.def with 100% similarity]
src/vnet/gre/gre.api [moved from vnet/vnet/gre/gre.api with 100% similarity]
src/vnet/gre/gre.c [moved from vnet/vnet/gre/gre.c with 100% similarity]
src/vnet/gre/gre.h [moved from vnet/vnet/gre/gre.h with 100% similarity]
src/vnet/gre/gre_api.c [moved from vnet/vnet/gre/gre_api.c with 100% similarity]
src/vnet/gre/interface.c [moved from vnet/vnet/gre/interface.c with 100% similarity]
src/vnet/gre/node.c [moved from vnet/vnet/gre/node.c with 100% similarity]
src/vnet/gre/packet.h [moved from vnet/vnet/gre/packet.h with 100% similarity]
src/vnet/gre/pg.c [moved from vnet/vnet/gre/pg.c with 100% similarity]
src/vnet/handoff.c [moved from vnet/vnet/handoff.c with 100% similarity]
src/vnet/handoff.h [moved from vnet/vnet/handoff.h with 100% similarity]
src/vnet/hdlc/error.def [moved from vnet/vnet/hdlc/error.def with 100% similarity]
src/vnet/hdlc/hdlc.c [moved from vnet/vnet/hdlc/hdlc.c with 100% similarity]
src/vnet/hdlc/hdlc.h [moved from vnet/vnet/hdlc/hdlc.h with 100% similarity]
src/vnet/hdlc/node.c [moved from vnet/vnet/hdlc/node.c with 100% similarity]
src/vnet/hdlc/packet.h [moved from vnet/vnet/hdlc/packet.h with 100% similarity]
src/vnet/hdlc/pg.c [moved from vnet/vnet/hdlc/pg.c with 100% similarity]
src/vnet/interface.api [moved from vnet/vnet/interface.api with 100% similarity]
src/vnet/interface.c [moved from vnet/vnet/interface.c with 100% similarity]
src/vnet/interface.h [moved from vnet/vnet/interface.h with 100% similarity]
src/vnet/interface_api.c [moved from vnet/vnet/interface_api.c with 100% similarity]
src/vnet/interface_cli.c [moved from vnet/vnet/interface_cli.c with 100% similarity]
src/vnet/interface_format.c [moved from vnet/vnet/interface_format.c with 100% similarity]
src/vnet/interface_funcs.h [moved from vnet/vnet/interface_funcs.h with 100% similarity]
src/vnet/interface_output.c [moved from vnet/vnet/interface_output.c with 100% similarity]
src/vnet/ip/dir.dox [moved from vnet/vnet/ip/dir.dox with 100% similarity]
src/vnet/ip/format.c [moved from vnet/vnet/ip/format.c with 100% similarity]
src/vnet/ip/format.h [moved from vnet/vnet/ip/format.h with 100% similarity]
src/vnet/ip/icmp4.c [moved from vnet/vnet/ip/icmp4.c with 100% similarity]
src/vnet/ip/icmp4.h [moved from vnet/vnet/ip/icmp4.h with 100% similarity]
src/vnet/ip/icmp46_packet.h [moved from vnet/vnet/ip/icmp46_packet.h with 100% similarity]
src/vnet/ip/icmp6.c [moved from vnet/vnet/ip/icmp6.c with 100% similarity]
src/vnet/ip/icmp6.h [moved from vnet/vnet/ip/icmp6.h with 100% similarity]
src/vnet/ip/igmp_packet.h [moved from vnet/vnet/ip/igmp_packet.h with 100% similarity]
src/vnet/ip/ip.api [moved from vnet/vnet/ip/ip.api with 100% similarity]
src/vnet/ip/ip.h [moved from vnet/vnet/ip/ip.h with 100% similarity]
src/vnet/ip/ip4.h [moved from vnet/vnet/ip/ip4.h with 100% similarity]
src/vnet/ip/ip46_cli.c [moved from vnet/vnet/ip/ip46_cli.c with 100% similarity]
src/vnet/ip/ip4_error.h [moved from vnet/vnet/ip/ip4_error.h with 100% similarity]
src/vnet/ip/ip4_format.c [moved from vnet/vnet/ip/ip4_format.c with 100% similarity]
src/vnet/ip/ip4_forward.c [moved from vnet/vnet/ip/ip4_forward.c with 100% similarity]
src/vnet/ip/ip4_input.c [moved from vnet/vnet/ip/ip4_input.c with 100% similarity]
src/vnet/ip/ip4_mtrie.c [moved from vnet/vnet/ip/ip4_mtrie.c with 100% similarity]
src/vnet/ip/ip4_mtrie.h [moved from vnet/vnet/ip/ip4_mtrie.h with 100% similarity]
src/vnet/ip/ip4_packet.h [moved from vnet/vnet/ip/ip4_packet.h with 100% similarity]
src/vnet/ip/ip4_pg.c [moved from vnet/vnet/ip/ip4_pg.c with 100% similarity]
src/vnet/ip/ip4_source_and_port_range_check.c [moved from vnet/vnet/ip/ip4_source_and_port_range_check.c with 100% similarity]
src/vnet/ip/ip4_source_check.c [moved from vnet/vnet/ip/ip4_source_check.c with 100% similarity]
src/vnet/ip/ip4_test.c [moved from vnet/vnet/ip/ip4_test.c with 100% similarity]
src/vnet/ip/ip6.h [moved from vnet/vnet/ip/ip6.h with 100% similarity]
src/vnet/ip/ip6_error.h [moved from vnet/vnet/ip/ip6_error.h with 100% similarity]
src/vnet/ip/ip6_format.c [moved from vnet/vnet/ip/ip6_format.c with 100% similarity]
src/vnet/ip/ip6_forward.c [moved from vnet/vnet/ip/ip6_forward.c with 100% similarity]
src/vnet/ip/ip6_hop_by_hop.c [moved from vnet/vnet/ip/ip6_hop_by_hop.c with 100% similarity]
src/vnet/ip/ip6_hop_by_hop.h [moved from vnet/vnet/ip/ip6_hop_by_hop.h with 100% similarity]
src/vnet/ip/ip6_hop_by_hop_packet.h [moved from vnet/vnet/ip/ip6_hop_by_hop_packet.h with 100% similarity]
src/vnet/ip/ip6_input.c [moved from vnet/vnet/ip/ip6_input.c with 100% similarity]
src/vnet/ip/ip6_neighbor.c [moved from vnet/vnet/ip/ip6_neighbor.c with 100% similarity]
src/vnet/ip/ip6_neighbor.h [moved from vnet/vnet/ip/ip6_neighbor.h with 100% similarity]
src/vnet/ip/ip6_packet.h [moved from vnet/vnet/ip/ip6_packet.h with 100% similarity]
src/vnet/ip/ip6_pg.c [moved from vnet/vnet/ip/ip6_pg.c with 100% similarity]
src/vnet/ip/ip_api.c [moved from vnet/vnet/ip/ip_api.c with 100% similarity]
src/vnet/ip/ip_checksum.c [moved from vnet/vnet/ip/ip_checksum.c with 100% similarity]
src/vnet/ip/ip_frag.c [moved from vnet/vnet/ip/ip_frag.c with 100% similarity]
src/vnet/ip/ip_frag.h [moved from vnet/vnet/ip/ip_frag.h with 100% similarity]
src/vnet/ip/ip_init.c [moved from vnet/vnet/ip/ip_init.c with 100% similarity]
src/vnet/ip/ip_input_acl.c [moved from vnet/vnet/ip/ip_input_acl.c with 100% similarity]
src/vnet/ip/ip_packet.h [moved from vnet/vnet/ip/ip_packet.h with 100% similarity]
src/vnet/ip/ip_source_and_port_range_check.h [moved from vnet/vnet/ip/ip_source_and_port_range_check.h with 100% similarity]
src/vnet/ip/lookup.c [moved from vnet/vnet/ip/lookup.c with 100% similarity]
src/vnet/ip/lookup.h [moved from vnet/vnet/ip/lookup.h with 100% similarity]
src/vnet/ip/ping.c [moved from vnet/vnet/ip/ping.c with 100% similarity]
src/vnet/ip/ping.h [moved from vnet/vnet/ip/ping.h with 100% similarity]
src/vnet/ip/ports.def [moved from vnet/vnet/ip/ports.def with 100% similarity]
src/vnet/ip/protocols.def [moved from vnet/vnet/ip/protocols.def with 100% similarity]
src/vnet/ip/punt.c [moved from vnet/vnet/ip/punt.c with 100% similarity]
src/vnet/ip/punt.h [moved from vnet/vnet/ip/punt.h with 100% similarity]
src/vnet/ip/punt_error.def [moved from vnet/vnet/ip/punt_error.def with 100% similarity]
src/vnet/ip/tcp_packet.h [moved from vnet/vnet/ip/tcp_packet.h with 100% similarity]
src/vnet/ip/udp.h [moved from vnet/vnet/ip/udp.h with 100% similarity]
src/vnet/ip/udp_error.def [moved from vnet/vnet/ip/udp_error.def with 100% similarity]
src/vnet/ip/udp_format.c [moved from vnet/vnet/ip/udp_format.c with 100% similarity]
src/vnet/ip/udp_init.c [moved from vnet/vnet/ip/udp_init.c with 100% similarity]
src/vnet/ip/udp_local.c [moved from vnet/vnet/ip/udp_local.c with 100% similarity]
src/vnet/ip/udp_packet.h [moved from vnet/vnet/ip/udp_packet.h with 100% similarity]
src/vnet/ip/udp_pg.c [moved from vnet/vnet/ip/udp_pg.c with 100% similarity]
src/vnet/ipsec-gre/dir.dox [moved from vnet/vnet/ipsec-gre/dir.dox with 100% similarity]
src/vnet/ipsec-gre/error.def [moved from vnet/vnet/ipsec-gre/error.def with 100% similarity]
src/vnet/ipsec-gre/interface.c [moved from vnet/vnet/ipsec-gre/interface.c with 100% similarity]
src/vnet/ipsec-gre/ipsec_gre.api [moved from vnet/vnet/ipsec-gre/ipsec_gre.api with 100% similarity]
src/vnet/ipsec-gre/ipsec_gre.c [moved from vnet/vnet/ipsec-gre/ipsec_gre.c with 100% similarity]
src/vnet/ipsec-gre/ipsec_gre.h [moved from vnet/vnet/ipsec-gre/ipsec_gre.h with 100% similarity]
src/vnet/ipsec-gre/ipsec_gre_api.c [moved from vnet/vnet/ipsec-gre/ipsec_gre_api.c with 100% similarity]
src/vnet/ipsec-gre/ipsec_gre_doc.md [moved from vnet/vnet/ipsec-gre/ipsec_gre_doc.md with 100% similarity]
src/vnet/ipsec-gre/node.c [moved from vnet/vnet/ipsec-gre/node.c with 100% similarity]
src/vnet/ipsec/esp.h [moved from vnet/vnet/ipsec/esp.h with 100% similarity]
src/vnet/ipsec/esp_decrypt.c [moved from vnet/vnet/ipsec/esp_decrypt.c with 100% similarity]
src/vnet/ipsec/esp_encrypt.c [moved from vnet/vnet/ipsec/esp_encrypt.c with 100% similarity]
src/vnet/ipsec/ikev2.c [moved from vnet/vnet/ipsec/ikev2.c with 100% similarity]
src/vnet/ipsec/ikev2.h [moved from vnet/vnet/ipsec/ikev2.h with 100% similarity]
src/vnet/ipsec/ikev2_cli.c [moved from vnet/vnet/ipsec/ikev2_cli.c with 100% similarity]
src/vnet/ipsec/ikev2_crypto.c [moved from vnet/vnet/ipsec/ikev2_crypto.c with 100% similarity]
src/vnet/ipsec/ikev2_format.c [moved from vnet/vnet/ipsec/ikev2_format.c with 100% similarity]
src/vnet/ipsec/ikev2_payload.c [moved from vnet/vnet/ipsec/ikev2_payload.c with 100% similarity]
src/vnet/ipsec/ikev2_priv.h [moved from vnet/vnet/ipsec/ikev2_priv.h with 100% similarity]
src/vnet/ipsec/ipsec.api [moved from vnet/vnet/ipsec/ipsec.api with 100% similarity]
src/vnet/ipsec/ipsec.c [moved from vnet/vnet/ipsec/ipsec.c with 100% similarity]
src/vnet/ipsec/ipsec.h [moved from vnet/vnet/ipsec/ipsec.h with 100% similarity]
src/vnet/ipsec/ipsec_api.c [moved from vnet/vnet/ipsec/ipsec_api.c with 100% similarity]
src/vnet/ipsec/ipsec_cli.c [moved from vnet/vnet/ipsec/ipsec_cli.c with 100% similarity]
src/vnet/ipsec/ipsec_format.c [moved from vnet/vnet/ipsec/ipsec_format.c with 100% similarity]
src/vnet/ipsec/ipsec_if.c [moved from vnet/vnet/ipsec/ipsec_if.c with 100% similarity]
src/vnet/ipsec/ipsec_if_in.c [moved from vnet/vnet/ipsec/ipsec_if_in.c with 100% similarity]
src/vnet/ipsec/ipsec_if_out.c [moved from vnet/vnet/ipsec/ipsec_if_out.c with 100% similarity]
src/vnet/ipsec/ipsec_input.c [moved from vnet/vnet/ipsec/ipsec_input.c with 100% similarity]
src/vnet/ipsec/ipsec_output.c [moved from vnet/vnet/ipsec/ipsec_output.c with 100% similarity]
src/vnet/l2/dir.dox [moved from vnet/vnet/l2/dir.dox with 100% similarity]
src/vnet/l2/feat_bitmap.c [moved from vnet/vnet/l2/feat_bitmap.c with 100% similarity]
src/vnet/l2/feat_bitmap.h [moved from vnet/vnet/l2/feat_bitmap.h with 100% similarity]
src/vnet/l2/l2.api [moved from vnet/vnet/l2/l2.api with 100% similarity]
src/vnet/l2/l2_api.c [moved from vnet/vnet/l2/l2_api.c with 100% similarity]
src/vnet/l2/l2_bd.c [moved from vnet/vnet/l2/l2_bd.c with 100% similarity]
src/vnet/l2/l2_bd.h [moved from vnet/vnet/l2/l2_bd.h with 100% similarity]
src/vnet/l2/l2_bvi.c [moved from vnet/vnet/l2/l2_bvi.c with 100% similarity]
src/vnet/l2/l2_bvi.h [moved from vnet/vnet/l2/l2_bvi.h with 100% similarity]
src/vnet/l2/l2_classify.h [moved from vnet/vnet/l2/l2_classify.h with 100% similarity]
src/vnet/l2/l2_efp_filter.c [moved from vnet/vnet/l2/l2_efp_filter.c with 100% similarity]
src/vnet/l2/l2_efp_filter.h [moved from vnet/vnet/l2/l2_efp_filter.h with 100% similarity]
src/vnet/l2/l2_fib.c [moved from vnet/vnet/l2/l2_fib.c with 100% similarity]
src/vnet/l2/l2_fib.h [moved from vnet/vnet/l2/l2_fib.h with 100% similarity]
src/vnet/l2/l2_flood.c [moved from vnet/vnet/l2/l2_flood.c with 100% similarity]
src/vnet/l2/l2_flood.h [moved from vnet/vnet/l2/l2_flood.h with 100% similarity]
src/vnet/l2/l2_fwd.c [moved from vnet/vnet/l2/l2_fwd.c with 100% similarity]
src/vnet/l2/l2_fwd.h [moved from vnet/vnet/l2/l2_fwd.h with 100% similarity]
src/vnet/l2/l2_input.c [moved from vnet/vnet/l2/l2_input.c with 100% similarity]
src/vnet/l2/l2_input.h [moved from vnet/vnet/l2/l2_input.h with 100% similarity]
src/vnet/l2/l2_input_acl.c [moved from vnet/vnet/l2/l2_input_acl.c with 100% similarity]
src/vnet/l2/l2_input_classify.c [moved from vnet/vnet/l2/l2_input_classify.c with 100% similarity]
src/vnet/l2/l2_input_vtr.c [moved from vnet/vnet/l2/l2_input_vtr.c with 100% similarity]
src/vnet/l2/l2_input_vtr.h [moved from vnet/vnet/l2/l2_input_vtr.h with 100% similarity]
src/vnet/l2/l2_learn.c [moved from vnet/vnet/l2/l2_learn.c with 100% similarity]
src/vnet/l2/l2_learn.h [moved from vnet/vnet/l2/l2_learn.h with 100% similarity]
src/vnet/l2/l2_output.c [moved from vnet/vnet/l2/l2_output.c with 100% similarity]
src/vnet/l2/l2_output.h [moved from vnet/vnet/l2/l2_output.h with 100% similarity]
src/vnet/l2/l2_output_acl.c [moved from vnet/vnet/l2/l2_output_acl.c with 100% similarity]
src/vnet/l2/l2_output_classify.c [moved from vnet/vnet/l2/l2_output_classify.c with 100% similarity]
src/vnet/l2/l2_patch.c [moved from vnet/vnet/l2/l2_patch.c with 100% similarity]
src/vnet/l2/l2_rw.c [moved from vnet/vnet/l2/l2_rw.c with 100% similarity]
src/vnet/l2/l2_rw.h [moved from vnet/vnet/l2/l2_rw.h with 100% similarity]
src/vnet/l2/l2_vtr.c [moved from vnet/vnet/l2/l2_vtr.c with 100% similarity]
src/vnet/l2/l2_vtr.h [moved from vnet/vnet/l2/l2_vtr.h with 100% similarity]
src/vnet/l2/l2_xcrw.c [moved from vnet/vnet/l2/l2_xcrw.c with 100% similarity]
src/vnet/l2/l2_xcrw.h [moved from vnet/vnet/l2/l2_xcrw.h with 100% similarity]
src/vnet/l2tp/decap.c [moved from vnet/vnet/l2tp/decap.c with 100% similarity]
src/vnet/l2tp/encap.c [moved from vnet/vnet/l2tp/encap.c with 100% similarity]
src/vnet/l2tp/l2tp.api [moved from vnet/vnet/l2tp/l2tp.api with 100% similarity]
src/vnet/l2tp/l2tp.c [moved from vnet/vnet/l2tp/l2tp.c with 100% similarity]
src/vnet/l2tp/l2tp.h [moved from vnet/vnet/l2tp/l2tp.h with 100% similarity]
src/vnet/l2tp/l2tp_api.c [moved from vnet/vnet/l2tp/l2tp_api.c with 100% similarity]
src/vnet/l2tp/packet.h [moved from vnet/vnet/l2tp/packet.h with 100% similarity]
src/vnet/l2tp/pg.c [moved from vnet/vnet/l2tp/pg.c with 100% similarity]
src/vnet/l3_types.h [moved from vnet/vnet/l3_types.h with 100% similarity]
src/vnet/lawful-intercept/lawful_intercept.c [moved from vnet/vnet/lawful-intercept/lawful_intercept.c with 100% similarity]
src/vnet/lawful-intercept/lawful_intercept.h [moved from vnet/vnet/lawful-intercept/lawful_intercept.h with 100% similarity]
src/vnet/lawful-intercept/node.c [moved from vnet/vnet/lawful-intercept/node.c with 100% similarity]
src/vnet/lisp-cp/control.c [moved from vnet/vnet/lisp-cp/control.c with 100% similarity]
src/vnet/lisp-cp/control.h [moved from vnet/vnet/lisp-cp/control.h with 100% similarity]
src/vnet/lisp-cp/gid_dictionary.c [moved from vnet/vnet/lisp-cp/gid_dictionary.c with 100% similarity]
src/vnet/lisp-cp/gid_dictionary.h [moved from vnet/vnet/lisp-cp/gid_dictionary.h with 100% similarity]
src/vnet/lisp-cp/lisp.api [moved from vnet/vnet/lisp-cp/lisp.api with 100% similarity]
src/vnet/lisp-cp/lisp_api.c [moved from vnet/vnet/lisp-cp/lisp_api.c with 100% similarity]
src/vnet/lisp-cp/lisp_cp_dpo.c [moved from vnet/vnet/lisp-cp/lisp_cp_dpo.c with 100% similarity]
src/vnet/lisp-cp/lisp_cp_dpo.h [moved from vnet/vnet/lisp-cp/lisp_cp_dpo.h with 100% similarity]
src/vnet/lisp-cp/lisp_cp_messages.h [moved from vnet/vnet/lisp-cp/lisp_cp_messages.h with 100% similarity]
src/vnet/lisp-cp/lisp_msg_serdes.c [moved from vnet/vnet/lisp-cp/lisp_msg_serdes.c with 100% similarity]
src/vnet/lisp-cp/lisp_msg_serdes.h [moved from vnet/vnet/lisp-cp/lisp_msg_serdes.h with 100% similarity]
src/vnet/lisp-cp/lisp_types.c [moved from vnet/vnet/lisp-cp/lisp_types.c with 100% similarity]
src/vnet/lisp-cp/lisp_types.h [moved from vnet/vnet/lisp-cp/lisp_types.h with 100% similarity]
src/vnet/lisp-cp/packets.c [moved from vnet/vnet/lisp-cp/packets.c with 100% similarity]
src/vnet/lisp-cp/packets.h [moved from vnet/vnet/lisp-cp/packets.h with 100% similarity]
src/vnet/lisp-gpe/decap.c [moved from vnet/vnet/lisp-gpe/decap.c with 100% similarity]
src/vnet/lisp-gpe/dir.dox [moved from vnet/vnet/lisp-gpe/dir.dox with 100% similarity]
src/vnet/lisp-gpe/interface.c [moved from vnet/vnet/lisp-gpe/interface.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe.api [moved from vnet/vnet/lisp-gpe/lisp_gpe.api with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe.c [moved from vnet/vnet/lisp-gpe/lisp_gpe.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe.h [moved from vnet/vnet/lisp-gpe/lisp_gpe.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_adjacency.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_adjacency.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_adjacency.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_adjacency.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_api.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_api.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_error.def [moved from vnet/vnet/lisp-gpe/lisp_gpe_error.def with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_fwd_entry.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_fwd_entry.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_packet.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_packet.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_sub_interface.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_sub_interface.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_sub_interface.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_sub_interface.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_tenant.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_tenant.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_tenant.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_tenant.h with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_tunnel.c [moved from vnet/vnet/lisp-gpe/lisp_gpe_tunnel.c with 100% similarity]
src/vnet/lisp-gpe/lisp_gpe_tunnel.h [moved from vnet/vnet/lisp-gpe/lisp_gpe_tunnel.h with 100% similarity]
src/vnet/lisp-gpe/rfc.txt [moved from vnet/vnet/lisp-gpe/rfc.txt with 100% similarity]
src/vnet/llc/llc.c [moved from vnet/vnet/llc/llc.c with 100% similarity]
src/vnet/llc/llc.h [moved from vnet/vnet/llc/llc.h with 100% similarity]
src/vnet/llc/node.c [moved from vnet/vnet/llc/node.c with 100% similarity]
src/vnet/llc/pg.c [moved from vnet/vnet/llc/pg.c with 100% similarity]
src/vnet/lldp/dir.dox [moved from vnet/vnet/lldp/dir.dox with 100% similarity]
src/vnet/lldp/lldp_cli.c [moved from vnet/vnet/lldp/lldp_cli.c with 100% similarity]
src/vnet/lldp/lldp_doc.md [moved from vnet/vnet/lldp/lldp_doc.md with 100% similarity]
src/vnet/lldp/lldp_input.c [moved from vnet/vnet/lldp/lldp_input.c with 100% similarity]
src/vnet/lldp/lldp_node.c [moved from vnet/vnet/lldp/lldp_node.c with 100% similarity]
src/vnet/lldp/lldp_node.h [moved from vnet/vnet/lldp/lldp_node.h with 100% similarity]
src/vnet/lldp/lldp_output.c [moved from vnet/vnet/lldp/lldp_output.c with 100% similarity]
src/vnet/lldp/lldp_protocol.h [moved from vnet/vnet/lldp/lldp_protocol.h with 100% similarity]
src/vnet/map/examples/gen-rules.py [moved from vnet/vnet/map/examples/gen-rules.py with 100% similarity]
src/vnet/map/examples/health_check.c [moved from vnet/vnet/map/examples/health_check.c with 100% similarity]
src/vnet/map/examples/test_map.py [moved from vnet/vnet/map/examples/test_map.py with 100% similarity]
src/vnet/map/gen-rules.py [moved from vnet/vnet/map/gen-rules.py with 100% similarity]
src/vnet/map/ip4_map.c [moved from vnet/vnet/map/ip4_map.c with 100% similarity]
src/vnet/map/ip4_map_t.c [moved from vnet/vnet/map/ip4_map_t.c with 100% similarity]
src/vnet/map/ip6_map.c [moved from vnet/vnet/map/ip6_map.c with 100% similarity]
src/vnet/map/ip6_map_t.c [moved from vnet/vnet/map/ip6_map_t.c with 100% similarity]
src/vnet/map/map.api [moved from vnet/vnet/map/map.api with 100% similarity]
src/vnet/map/map.c [moved from vnet/vnet/map/map.c with 100% similarity]
src/vnet/map/map.h [moved from vnet/vnet/map/map.h with 100% similarity]
src/vnet/map/map_api.c [moved from vnet/vnet/map/map_api.c with 100% similarity]
src/vnet/map/map_doc.md [moved from vnet/vnet/map/map_doc.md with 100% similarity]
src/vnet/map/map_dpo.c [moved from vnet/vnet/map/map_dpo.c with 100% similarity]
src/vnet/map/map_dpo.h [moved from vnet/vnet/map/map_dpo.h with 100% similarity]
src/vnet/map/test.c [moved from vnet/vnet/map/test.c with 100% similarity]
src/vnet/mcast/mcast.c [moved from vnet/vnet/mcast/mcast.c with 100% similarity]
src/vnet/mcast/mcast.h [moved from vnet/vnet/mcast/mcast.h with 100% similarity]
src/vnet/mcast/mcast_test.c [moved from vnet/vnet/mcast/mcast_test.c with 100% similarity]
src/vnet/misc.c [moved from vnet/vnet/misc.c with 100% similarity]
src/vnet/mpls/error.def [moved from vnet/vnet/mpls/error.def with 100% similarity]
src/vnet/mpls/interface.c [moved from vnet/vnet/mpls/interface.c with 100% similarity]
src/vnet/mpls/mpls.c [moved from vnet/vnet/mpls/mpls.c with 100% similarity]
src/vnet/mpls/mpls.h [moved from vnet/vnet/mpls/mpls.h with 100% similarity]
src/vnet/mpls/mpls_features.c [moved from vnet/vnet/mpls/mpls_features.c with 100% similarity]
src/vnet/mpls/mpls_lookup.c [moved from vnet/vnet/mpls/mpls_lookup.c with 100% similarity]
src/vnet/mpls/mpls_output.c [moved from vnet/vnet/mpls/mpls_output.c with 100% similarity]
src/vnet/mpls/mpls_tunnel.c [moved from vnet/vnet/mpls/mpls_tunnel.c with 100% similarity]
src/vnet/mpls/mpls_tunnel.h [moved from vnet/vnet/mpls/mpls_tunnel.h with 100% similarity]
src/vnet/mpls/mpls_types.h [moved from vnet/vnet/mpls/mpls_types.h with 100% similarity]
src/vnet/mpls/node.c [moved from vnet/vnet/mpls/node.c with 100% similarity]
src/vnet/mpls/packet.h [moved from vnet/vnet/mpls/packet.h with 100% similarity]
src/vnet/mpls/pg.c [moved from vnet/vnet/mpls/pg.c with 100% similarity]
src/vnet/osi/node.c [moved from vnet/vnet/osi/node.c with 100% similarity]
src/vnet/osi/osi.c [moved from vnet/vnet/osi/osi.c with 100% similarity]
src/vnet/osi/osi.h [moved from vnet/vnet/osi/osi.h with 100% similarity]
src/vnet/osi/pg.c [moved from vnet/vnet/osi/pg.c with 100% similarity]
src/vnet/pg/cli.c [moved from vnet/vnet/pg/cli.c with 100% similarity]
src/vnet/pg/edit.c [moved from vnet/vnet/pg/edit.c with 100% similarity]
src/vnet/pg/edit.h [moved from vnet/vnet/pg/edit.h with 100% similarity]
src/vnet/pg/example.script [moved from vnet/vnet/pg/example.script with 100% similarity]
src/vnet/pg/init.c [moved from vnet/vnet/pg/init.c with 100% similarity]
src/vnet/pg/input.c [moved from vnet/vnet/pg/input.c with 100% similarity]
src/vnet/pg/output.c [moved from vnet/vnet/pg/output.c with 100% similarity]
src/vnet/pg/pg.h [moved from vnet/vnet/pg/pg.h with 100% similarity]
src/vnet/pg/stream.c [moved from vnet/vnet/pg/stream.c with 100% similarity]
src/vnet/pipeline.h [moved from vnet/vnet/pipeline.h with 100% similarity]
src/vnet/plugin/p1.c [moved from vnet/vnet/plugin/p1.c with 100% similarity]
src/vnet/plugin/plugin.h [moved from vnet/vnet/plugin/plugin.h with 100% similarity]
src/vnet/policer/node_funcs.c [moved from vnet/vnet/policer/node_funcs.c with 100% similarity]
src/vnet/policer/police.h [moved from vnet/vnet/policer/police.h with 100% similarity]
src/vnet/policer/policer.c [moved from vnet/vnet/policer/policer.c with 100% similarity]
src/vnet/policer/policer.h [moved from vnet/vnet/policer/policer.h with 100% similarity]
src/vnet/policer/xlate.c [moved from vnet/vnet/policer/xlate.c with 100% similarity]
src/vnet/policer/xlate.h [moved from vnet/vnet/policer/xlate.h with 100% similarity]
src/vnet/ppp/error.def [moved from vnet/vnet/ppp/error.def with 100% similarity]
src/vnet/ppp/node.c [moved from vnet/vnet/ppp/node.c with 100% similarity]
src/vnet/ppp/packet.h [moved from vnet/vnet/ppp/packet.h with 100% similarity]
src/vnet/ppp/pg.c [moved from vnet/vnet/ppp/pg.c with 100% similarity]
src/vnet/ppp/ppp.c [moved from vnet/vnet/ppp/ppp.c with 100% similarity]
src/vnet/ppp/ppp.h [moved from vnet/vnet/ppp/ppp.h with 100% similarity]
src/vnet/replication.c [moved from vnet/vnet/replication.c with 100% similarity]
src/vnet/replication.h [moved from vnet/vnet/replication.h with 100% similarity]
src/vnet/rewrite.c [moved from vnet/vnet/rewrite.c with 100% similarity]
src/vnet/rewrite.h [moved from vnet/vnet/rewrite.h with 100% similarity]
src/vnet/snap/node.c [moved from vnet/vnet/snap/node.c with 100% similarity]
src/vnet/snap/pg.c [moved from vnet/vnet/snap/pg.c with 100% similarity]
src/vnet/snap/snap.c [moved from vnet/vnet/snap/snap.c with 100% similarity]
src/vnet/snap/snap.h [moved from vnet/vnet/snap/snap.h with 100% similarity]
src/vnet/span/node.c [moved from vnet/vnet/span/node.c with 100% similarity]
src/vnet/span/span.api [moved from vnet/vnet/span/span.api with 100% similarity]
src/vnet/span/span.c [moved from vnet/vnet/span/span.c with 100% similarity]
src/vnet/span/span.h [moved from vnet/vnet/span/span.h with 100% similarity]
src/vnet/span/span.md [moved from vnet/vnet/span/span.md with 100% similarity]
src/vnet/span/span_api.c [moved from vnet/vnet/span/span_api.c with 100% similarity]
src/vnet/sr/dir.dox [moved from vnet/vnet/sr/dir.dox with 100% similarity]
src/vnet/sr/examples/sr_multicastmap.script [moved from vnet/vnet/sr/examples/sr_multicastmap.script with 100% similarity]
src/vnet/sr/rfc_draft_05.txt [moved from vnet/vnet/sr/rfc_draft_05.txt with 100% similarity]
src/vnet/sr/sr.c [moved from vnet/vnet/sr/sr.c with 100% similarity]
src/vnet/sr/sr.h [moved from vnet/vnet/sr/sr.h with 100% similarity]
src/vnet/sr/sr_error.def [moved from vnet/vnet/sr/sr_error.def with 100% similarity]
src/vnet/sr/sr_fix_dst_error.def [moved from vnet/vnet/sr/sr_fix_dst_error.def with 100% similarity]
src/vnet/sr/sr_packet.h [moved from vnet/vnet/sr/sr_packet.h with 100% similarity]
src/vnet/sr/sr_replicate.c [moved from vnet/vnet/sr/sr_replicate.c with 100% similarity]
src/vnet/srp/format.c [moved from vnet/vnet/srp/format.c with 100% similarity]
src/vnet/srp/interface.c [moved from vnet/vnet/srp/interface.c with 100% similarity]
src/vnet/srp/node.c [moved from vnet/vnet/srp/node.c with 100% similarity]
src/vnet/srp/packet.h [moved from vnet/vnet/srp/packet.h with 100% similarity]
src/vnet/srp/pg.c [moved from vnet/vnet/srp/pg.c with 100% similarity]
src/vnet/srp/srp.h [moved from vnet/vnet/srp/srp.h with 100% similarity]
src/vnet/unix/gdb_funcs.c [moved from vnet/vnet/unix/gdb_funcs.c with 100% similarity]
src/vnet/unix/pcap.c [moved from vnet/vnet/unix/pcap.c with 100% similarity]
src/vnet/unix/pcap.h [moved from vnet/vnet/unix/pcap.h with 100% similarity]
src/vnet/unix/pcap2pg.c [moved from vnet/vnet/unix/pcap2pg.c with 100% similarity]
src/vnet/unix/tap.api [moved from vnet/vnet/unix/tap.api with 100% similarity]
src/vnet/unix/tap_api.c [moved from vnet/vnet/unix/tap_api.c with 100% similarity]
src/vnet/unix/tapcli.c [moved from vnet/vnet/unix/tapcli.c with 100% similarity]
src/vnet/unix/tapcli.h [moved from vnet/vnet/unix/tapcli.h with 100% similarity]
src/vnet/unix/tuntap.c [moved from vnet/vnet/unix/tuntap.c with 100% similarity]
src/vnet/unix/tuntap.h [moved from vnet/vnet/unix/tuntap.h with 100% similarity]
src/vnet/vnet.h [moved from vnet/vnet/vnet.h with 100% similarity]
src/vnet/vnet_all_api_h.h [moved from vnet/vnet/vnet_all_api_h.h with 100% similarity]
src/vnet/vnet_msg_enum.h [moved from vnet/vnet/vnet_msg_enum.h with 100% similarity]
src/vnet/vxlan-gpe/decap.c [moved from vnet/vnet/vxlan-gpe/decap.c with 100% similarity]
src/vnet/vxlan-gpe/dir.dox [moved from vnet/vnet/vxlan-gpe/dir.dox with 100% similarity]
src/vnet/vxlan-gpe/encap.c [moved from vnet/vnet/vxlan-gpe/encap.c with 100% similarity]
src/vnet/vxlan-gpe/vxlan-gpe-rfc.txt [moved from vnet/vnet/vxlan-gpe/vxlan-gpe-rfc.txt with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe.api [moved from vnet/vnet/vxlan-gpe/vxlan_gpe.api with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe.c [moved from vnet/vnet/vxlan-gpe/vxlan_gpe.c with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe.h [moved from vnet/vnet/vxlan-gpe/vxlan_gpe.h with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe_api.c [moved from vnet/vnet/vxlan-gpe/vxlan_gpe_api.c with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe_error.def [moved from vnet/vnet/vxlan-gpe/vxlan_gpe_error.def with 100% similarity]
src/vnet/vxlan-gpe/vxlan_gpe_packet.h [moved from vnet/vnet/vxlan-gpe/vxlan_gpe_packet.h with 100% similarity]
src/vnet/vxlan/decap.c [moved from vnet/vnet/vxlan/decap.c with 100% similarity]
src/vnet/vxlan/dir.dox [moved from vnet/vnet/vxlan/dir.dox with 100% similarity]
src/vnet/vxlan/encap.c [moved from vnet/vnet/vxlan/encap.c with 100% similarity]
src/vnet/vxlan/vxlan.api [moved from vnet/vnet/vxlan/vxlan.api with 100% similarity]
src/vnet/vxlan/vxlan.c [moved from vnet/vnet/vxlan/vxlan.c with 100% similarity]
src/vnet/vxlan/vxlan.h [moved from vnet/vnet/vxlan/vxlan.h with 100% similarity]
src/vnet/vxlan/vxlan_api.c [moved from vnet/vnet/vxlan/vxlan_api.c with 100% similarity]
src/vnet/vxlan/vxlan_error.def [moved from vnet/vnet/vxlan/vxlan_error.def with 100% similarity]
src/vnet/vxlan/vxlan_packet.h [moved from vnet/vnet/vxlan/vxlan_packet.h with 100% similarity]
src/vpp-api-test.am [new file with mode: 0644]
src/vpp-api/python/Makefile.am [moved from vpp-api/python/Makefile.am with 70% similarity]
src/vpp-api/python/README.rst [new file with mode: 0644]
src/vpp-api/python/pneum/pneum.c [moved from vpp-api/python/pneum/pneum.c with 98% similarity]
src/vpp-api/python/pneum/pneum.h [moved from vpp-api/python/pneum/pneum.h with 100% similarity]
src/vpp-api/python/pneum/test_pneum.c [moved from vpp-api/python/pneum/test_pneum.c with 98% similarity]
src/vpp-api/python/setup.cfg [moved from vpp-api/python/setup.cfg with 100% similarity]
src/vpp-api/python/setup.py [moved from vpp-api/python/setup.py with 100% similarity]
src/vpp-api/python/tests/test_cli.py [moved from vpp-api/python/tests/test_cli.py with 100% similarity]
src/vpp-api/python/tests/test_modules.py [moved from vpp-api/python/tests/test_modules.py with 100% similarity]
src/vpp-api/python/tests/test_papi.py [moved from vpp-api/python/tests/test_papi.py with 100% similarity]
src/vpp-api/python/tests/test_version.py [moved from vpp-api/python/tests/test_version.py with 100% similarity]
src/vpp-api/python/tests/test_vpp_papi2.py [moved from vpp-api/python/tests/test_vpp_papi2.py with 100% similarity]
src/vpp-api/python/vpp_papi/__init__.py [moved from vpp-api/python/vpp_papi/__init__.py with 100% similarity]
src/vpp-api/python/vpp_papi/pneum_wrap.c [moved from vpp-api/python/vpp_papi/pneum_wrap.c with 100% similarity]
src/vpp-api/python/vpp_papi/vpp_papi.py [moved from vpp-api/python/vpp_papi/vpp_papi.py with 100% similarity]
src/vpp.am [new file with mode: 0644]
src/vpp/api/api.c [moved from vpp/vpp-api/api.c with 99% similarity]
src/vpp/api/api_format.c [new symlink]
src/vpp/api/api_main.c [moved from vpp/vpp-api/api_main.c with 100% similarity]
src/vpp/api/custom_dump.c [moved from vpp/vpp-api/custom_dump.c with 99% similarity]
src/vpp/api/gmon.c [moved from vpp/vpp-api/gmon.c with 99% similarity]
src/vpp/api/json_format.c [moved from vpp/vpp-api/json_format.c with 100% similarity]
src/vpp/api/json_format.h [moved from vpp/vpp-api/json_format.h with 100% similarity]
src/vpp/api/summary_stats_client.c [moved from vpp/vpp-api/summary_stats_client.c with 98% similarity]
src/vpp/api/test_client.c [moved from vpp/vpp-api/test_client.c with 99% similarity]
src/vpp/api/test_ha.c [moved from vpp/vpp-api/test_ha.c with 96% similarity]
src/vpp/api/vat.h [new symlink]
src/vpp/api/vpe.api [moved from vpp/vpp-api/vpe.api with 100% similarity]
src/vpp/api/vpe_all_api_h.h [moved from vpp/vpp-api/vpe_all_api_h.h with 97% similarity]
src/vpp/api/vpe_msg_enum.h [moved from vpp/vpp-api/vpe_msg_enum.h with 96% similarity]
src/vpp/api/vpp_get_metrics.c [moved from vpp/vpp-api/vpp_get_metrics.c with 99% similarity]
src/vpp/app/l2t.c [moved from vpp/app/l2t.c with 100% similarity]
src/vpp/app/l2t_l2.c [moved from vpp/app/l2t_l2.c with 100% similarity]
src/vpp/app/sticky_hash.c [moved from vpp/app/sticky_hash.c with 100% similarity]
src/vpp/app/version.c [moved from vpp/app/version.c with 98% similarity]
src/vpp/app/vpe_cli.c [moved from vpp/app/vpe_cli.c with 100% similarity]
src/vpp/conf/80-vpp.conf [moved from vpp/conf/80-vpp.conf with 100% similarity]
src/vpp/conf/startup.conf [moved from vpp/conf/startup.conf with 100% similarity]
src/vpp/conf/startup.uiopcigeneric.conf [moved from vpp/conf/startup.uiopcigeneric.conf with 100% similarity]
src/vpp/oam/oam.c [moved from vpp/oam/oam.c with 99% similarity]
src/vpp/oam/oam.h [moved from vpp/oam/oam.h with 100% similarity]
src/vpp/stats/stats.c [moved from vpp/stats/stats.c with 99% similarity]
src/vpp/stats/stats.h [moved from vpp/stats/stats.h with 100% similarity]
src/vpp/vnet/main.c [moved from vpp/vnet/main.c with 98% similarity]
src/vppapigen.am [moved from vppapigen/Makefile.am with 65% similarity]
src/vppinfra.am [moved from vppinfra/Makefile.am with 98% similarity]
src/vppinfra/README [moved from vppinfra/README with 100% similarity]
src/vppinfra/anneal.c [moved from vppinfra/vppinfra/anneal.c with 100% similarity]
src/vppinfra/anneal.h [moved from vppinfra/vppinfra/anneal.h with 100% similarity]
src/vppinfra/asm_mips.h [moved from vppinfra/vppinfra/asm_mips.h with 100% similarity]
src/vppinfra/asm_x86.c [moved from vppinfra/vppinfra/asm_x86.c with 100% similarity]
src/vppinfra/asm_x86.h [moved from vppinfra/vppinfra/asm_x86.h with 100% similarity]
src/vppinfra/backtrace.c [moved from vppinfra/vppinfra/backtrace.c with 100% similarity]
src/vppinfra/bihash_24_8.h [moved from vppinfra/vppinfra/bihash_24_8.h with 100% similarity]
src/vppinfra/bihash_8_8.h [moved from vppinfra/vppinfra/bihash_8_8.h with 100% similarity]
src/vppinfra/bihash_doc.h [moved from vppinfra/vppinfra/bihash_doc.h with 100% similarity]
src/vppinfra/bihash_template.c [moved from vppinfra/vppinfra/bihash_template.c with 100% similarity]
src/vppinfra/bihash_template.h [moved from vppinfra/vppinfra/bihash_template.h with 100% similarity]
src/vppinfra/bitmap.h [moved from vppinfra/vppinfra/bitmap.h with 100% similarity]
src/vppinfra/bitops.h [moved from vppinfra/vppinfra/bitops.h with 100% similarity]
src/vppinfra/byte_order.h [moved from vppinfra/vppinfra/byte_order.h with 100% similarity]
src/vppinfra/cache.h [moved from vppinfra/vppinfra/cache.h with 100% similarity]
src/vppinfra/clib.h [moved from vppinfra/vppinfra/clib.h with 100% similarity]
src/vppinfra/cpu.c [moved from vppinfra/vppinfra/cpu.c with 100% similarity]
src/vppinfra/cpu.h [moved from vppinfra/vppinfra/cpu.h with 100% similarity]
src/vppinfra/dir.dox [moved from vppinfra/vppinfra/dir.dox with 100% similarity]
src/vppinfra/dlist.h [moved from vppinfra/vppinfra/dlist.h with 100% similarity]
src/vppinfra/elf.c [moved from vppinfra/vppinfra/elf.c with 99% similarity]
src/vppinfra/elf.h [moved from vppinfra/vppinfra/elf.h with 100% similarity]
src/vppinfra/elf_clib.c [moved from vppinfra/vppinfra/elf_clib.c with 100% similarity]
src/vppinfra/elf_clib.h [moved from vppinfra/vppinfra/elf_clib.h with 100% similarity]
src/vppinfra/elog.c [moved from vppinfra/vppinfra/elog.c with 100% similarity]
src/vppinfra/elog.h [moved from vppinfra/vppinfra/elog.h with 100% similarity]
src/vppinfra/error.c [moved from vppinfra/vppinfra/error.c with 100% similarity]
src/vppinfra/error.h [moved from vppinfra/vppinfra/error.h with 100% similarity]
src/vppinfra/error_bootstrap.h [moved from vppinfra/vppinfra/error_bootstrap.h with 100% similarity]
src/vppinfra/fheap.c [moved from vppinfra/vppinfra/fheap.c with 100% similarity]
src/vppinfra/fheap.h [moved from vppinfra/vppinfra/fheap.h with 100% similarity]
src/vppinfra/fifo.c [moved from vppinfra/vppinfra/fifo.c with 100% similarity]
src/vppinfra/fifo.h [moved from vppinfra/vppinfra/fifo.h with 100% similarity]
src/vppinfra/format.c [moved from vppinfra/vppinfra/format.c with 100% similarity]
src/vppinfra/format.h [moved from vppinfra/vppinfra/format.h with 100% similarity]
src/vppinfra/graph.c [moved from vppinfra/vppinfra/graph.c with 100% similarity]
src/vppinfra/graph.h [moved from vppinfra/vppinfra/graph.h with 100% similarity]
src/vppinfra/hash.c [moved from vppinfra/vppinfra/hash.c with 100% similarity]
src/vppinfra/hash.h [moved from vppinfra/vppinfra/hash.h with 100% similarity]
src/vppinfra/heap.c [moved from vppinfra/vppinfra/heap.c with 100% similarity]
src/vppinfra/heap.h [moved from vppinfra/vppinfra/heap.h with 100% similarity]
src/vppinfra/longjmp.S [moved from vppinfra/vppinfra/longjmp.S with 100% similarity]
src/vppinfra/longjmp.h [moved from vppinfra/vppinfra/longjmp.h with 100% similarity]
src/vppinfra/macros.c [moved from vppinfra/vppinfra/macros.c with 100% similarity]
src/vppinfra/macros.h [moved from vppinfra/vppinfra/macros.h with 100% similarity]
src/vppinfra/math.h [moved from vppinfra/vppinfra/math.h with 100% similarity]
src/vppinfra/md5.c [moved from vppinfra/vppinfra/md5.c with 100% similarity]
src/vppinfra/md5.h [moved from vppinfra/vppinfra/md5.h with 100% similarity]
src/vppinfra/mem.h [moved from vppinfra/vppinfra/mem.h with 100% similarity]
src/vppinfra/mem_mheap.c [moved from vppinfra/vppinfra/mem_mheap.c with 100% similarity]
src/vppinfra/memcheck.h [moved from vppinfra/vppinfra/memcheck.h with 100% similarity]
src/vppinfra/memcpy_avx.h [moved from vppinfra/vppinfra/memcpy_avx.h with 100% similarity]
src/vppinfra/memcpy_sse3.h [moved from vppinfra/vppinfra/memcpy_sse3.h with 100% similarity]
src/vppinfra/mhash.c [moved from vppinfra/vppinfra/mhash.c with 100% similarity]
src/vppinfra/mhash.h [moved from vppinfra/vppinfra/mhash.h with 100% similarity]
src/vppinfra/mheap.c [moved from vppinfra/vppinfra/mheap.c with 100% similarity]
src/vppinfra/mheap.h [moved from vppinfra/vppinfra/mheap.h with 100% similarity]
src/vppinfra/mheap_bootstrap.h [moved from vppinfra/vppinfra/mheap_bootstrap.h with 100% similarity]
src/vppinfra/mod_test_hash.c [moved from vppinfra/vppinfra/mod_test_hash.c with 100% similarity]
src/vppinfra/os.h [moved from vppinfra/vppinfra/os.h with 100% similarity]
src/vppinfra/pfhash.c [moved from vppinfra/vppinfra/pfhash.c with 100% similarity]
src/vppinfra/pfhash.h [moved from vppinfra/vppinfra/pfhash.h with 100% similarity]
src/vppinfra/phash.c [moved from vppinfra/vppinfra/phash.c with 100% similarity]
src/vppinfra/phash.h [moved from vppinfra/vppinfra/phash.h with 100% similarity]
src/vppinfra/pipeline.h [moved from vppinfra/vppinfra/pipeline.h with 100% similarity]
src/vppinfra/pool.h [moved from vppinfra/vppinfra/pool.h with 100% similarity]
src/vppinfra/ptclosure.c [moved from vppinfra/vppinfra/ptclosure.c with 100% similarity]
src/vppinfra/ptclosure.h [moved from vppinfra/vppinfra/ptclosure.h with 100% similarity]
src/vppinfra/qhash.c [moved from vppinfra/vppinfra/qhash.c with 100% similarity]
src/vppinfra/qhash.h [moved from vppinfra/vppinfra/qhash.h with 100% similarity]
src/vppinfra/qsort.c [moved from vppinfra/vppinfra/qsort.c with 100% similarity]
src/vppinfra/random.c [moved from vppinfra/vppinfra/random.c with 100% similarity]
src/vppinfra/random.h [moved from vppinfra/vppinfra/random.h with 100% similarity]
src/vppinfra/random_buffer.c [moved from vppinfra/vppinfra/random_buffer.c with 100% similarity]
src/vppinfra/random_buffer.h [moved from vppinfra/vppinfra/random_buffer.h with 100% similarity]
src/vppinfra/random_isaac.c [moved from vppinfra/vppinfra/random_isaac.c with 100% similarity]
src/vppinfra/random_isaac.h [moved from vppinfra/vppinfra/random_isaac.h with 100% similarity]
src/vppinfra/serialize.c [moved from vppinfra/vppinfra/serialize.c with 100% similarity]
src/vppinfra/serialize.h [moved from vppinfra/vppinfra/serialize.h with 100% similarity]
src/vppinfra/slist.c [moved from vppinfra/vppinfra/slist.c with 100% similarity]
src/vppinfra/slist.h [moved from vppinfra/vppinfra/slist.h with 100% similarity]
src/vppinfra/smp.c [moved from vppinfra/vppinfra/smp.c with 100% similarity]
src/vppinfra/smp.h [moved from vppinfra/vppinfra/smp.h with 100% similarity]
src/vppinfra/smp_fifo.c [moved from vppinfra/vppinfra/smp_fifo.c with 100% similarity]
src/vppinfra/smp_fifo.h [moved from vppinfra/vppinfra/smp_fifo.h with 100% similarity]
src/vppinfra/socket.c [moved from vppinfra/vppinfra/socket.c with 100% similarity]
src/vppinfra/socket.h [moved from vppinfra/vppinfra/socket.h with 100% similarity]
src/vppinfra/sparse_vec.h [moved from vppinfra/vppinfra/sparse_vec.h with 100% similarity]
src/vppinfra/std-formats.c [moved from vppinfra/vppinfra/std-formats.c with 100% similarity]
src/vppinfra/string.c [moved from vppinfra/vppinfra/string.c with 100% similarity]
src/vppinfra/string.h [moved from vppinfra/vppinfra/string.h with 100% similarity]
src/vppinfra/test_bihash_template.c [moved from vppinfra/vppinfra/test_bihash_template.c with 100% similarity]
src/vppinfra/test_dlist.c [moved from vppinfra/vppinfra/test_dlist.c with 100% similarity]
src/vppinfra/test_elf.c [moved from vppinfra/vppinfra/test_elf.c with 100% similarity]
src/vppinfra/test_elog.c [moved from vppinfra/vppinfra/test_elog.c with 100% similarity]
src/vppinfra/test_fifo.c [moved from vppinfra/vppinfra/test_fifo.c with 100% similarity]
src/vppinfra/test_format.c [moved from vppinfra/vppinfra/test_format.c with 100% similarity]
src/vppinfra/test_hash.c [moved from vppinfra/vppinfra/test_hash.c with 100% similarity]
src/vppinfra/test_heap.c [moved from vppinfra/vppinfra/test_heap.c with 100% similarity]
src/vppinfra/test_longjmp.c [moved from vppinfra/vppinfra/test_longjmp.c with 100% similarity]
src/vppinfra/test_macros.c [moved from vppinfra/vppinfra/test_macros.c with 100% similarity]
src/vppinfra/test_md5.c [moved from vppinfra/vppinfra/test_md5.c with 100% similarity]
src/vppinfra/test_mheap.c [moved from vppinfra/vppinfra/test_mheap.c with 100% similarity]
src/vppinfra/test_pfhash.c [moved from vppinfra/vppinfra/test_pfhash.c with 100% similarity]
src/vppinfra/test_phash.c [moved from vppinfra/vppinfra/test_phash.c with 100% similarity]
src/vppinfra/test_pool.c [moved from vppinfra/vppinfra/test_pool.c with 100% similarity]
src/vppinfra/test_pool_iterate.c [moved from vppinfra/vppinfra/test_pool_iterate.c with 100% similarity]
src/vppinfra/test_ptclosure.c [moved from vppinfra/vppinfra/test_ptclosure.c with 100% similarity]
src/vppinfra/test_qhash.c [moved from vppinfra/vppinfra/test_qhash.c with 100% similarity]
src/vppinfra/test_random.c [moved from vppinfra/vppinfra/test_random.c with 100% similarity]
src/vppinfra/test_random_isaac.c [moved from vppinfra/vppinfra/test_random_isaac.c with 100% similarity]
src/vppinfra/test_serialize.c [moved from vppinfra/vppinfra/test_serialize.c with 100% similarity]
src/vppinfra/test_slist.c [moved from vppinfra/vppinfra/test_slist.c with 100% similarity]
src/vppinfra/test_socket.c [moved from vppinfra/vppinfra/test_socket.c with 100% similarity]
src/vppinfra/test_time.c [moved from vppinfra/vppinfra/test_time.c with 100% similarity]
src/vppinfra/test_timing_wheel.c [moved from vppinfra/vppinfra/test_timing_wheel.c with 100% similarity]
src/vppinfra/test_vec.c [moved from vppinfra/vppinfra/test_vec.c with 100% similarity]
src/vppinfra/test_vec.h [moved from vppinfra/vppinfra/test_vec.h with 100% similarity]
src/vppinfra/test_vhash.c [moved from vppinfra/vppinfra/test_vhash.c with 100% similarity]
src/vppinfra/test_zvec.c [moved from vppinfra/vppinfra/test_zvec.c with 100% similarity]
src/vppinfra/time.c [moved from vppinfra/vppinfra/time.c with 100% similarity]
src/vppinfra/time.h [moved from vppinfra/vppinfra/time.h with 100% similarity]
src/vppinfra/timer.c [moved from vppinfra/vppinfra/timer.c with 100% similarity]
src/vppinfra/timer.h [moved from vppinfra/vppinfra/timer.h with 100% similarity]
src/vppinfra/timing_wheel.c [moved from vppinfra/vppinfra/timing_wheel.c with 100% similarity]
src/vppinfra/timing_wheel.h [moved from vppinfra/vppinfra/timing_wheel.h with 100% similarity]
src/vppinfra/types.h [moved from vppinfra/vppinfra/types.h with 100% similarity]
src/vppinfra/unformat.c [moved from vppinfra/vppinfra/unformat.c with 100% similarity]
src/vppinfra/unix-formats.c [moved from vppinfra/vppinfra/unix-formats.c with 100% similarity]
src/vppinfra/unix-kelog.c [moved from vppinfra/vppinfra/unix-kelog.c with 100% similarity]
src/vppinfra/unix-misc.c [moved from vppinfra/vppinfra/unix-misc.c with 100% similarity]
src/vppinfra/unix.h [moved from vppinfra/vppinfra/unix.h with 100% similarity]
src/vppinfra/unix_error.def [moved from vppinfra/unix_error.def with 100% similarity]
src/vppinfra/valgrind.h [moved from vppinfra/vppinfra/valgrind.h with 100% similarity]
src/vppinfra/vec.c [moved from vppinfra/vppinfra/vec.c with 100% similarity]
src/vppinfra/vec.h [moved from vppinfra/vppinfra/vec.h with 100% similarity]
src/vppinfra/vec_bootstrap.h [moved from vppinfra/vppinfra/vec_bootstrap.h with 100% similarity]
src/vppinfra/vector.c [moved from vppinfra/vppinfra/vector.c with 100% similarity]
src/vppinfra/vector.h [moved from vppinfra/vppinfra/vector.h with 100% similarity]
src/vppinfra/vector_altivec.h [moved from vppinfra/vppinfra/vector_altivec.h with 100% similarity]
src/vppinfra/vector_funcs.h [moved from vppinfra/vppinfra/vector_funcs.h with 100% similarity]
src/vppinfra/vector_iwmmxt.h [moved from vppinfra/vppinfra/vector_iwmmxt.h with 100% similarity]
src/vppinfra/vector_neon.h [moved from vppinfra/vppinfra/vector_neon.h with 100% similarity]
src/vppinfra/vector_sse2.h [moved from vppinfra/vppinfra/vector_sse2.h with 100% similarity]
src/vppinfra/vhash.c [moved from vppinfra/vppinfra/vhash.c with 100% similarity]
src/vppinfra/vhash.h [moved from vppinfra/vppinfra/vhash.h with 100% similarity]
src/vppinfra/vm_linux_kernel.h [moved from vppinfra/vppinfra/vm_linux_kernel.h with 100% similarity]
src/vppinfra/vm_standalone.h [moved from vppinfra/vppinfra/vm_standalone.h with 100% similarity]
src/vppinfra/vm_unix.h [moved from vppinfra/vppinfra/vm_unix.h with 100% similarity]
src/vppinfra/xxhash.h [moved from vppinfra/vppinfra/xxhash.h with 100% similarity]
src/vppinfra/xy.h [moved from vppinfra/vppinfra/xy.h with 100% similarity]
src/vppinfra/zvec.c [moved from vppinfra/vppinfra/zvec.c with 100% similarity]
src/vppinfra/zvec.h [moved from vppinfra/vppinfra/zvec.h with 100% similarity]
svm/configure.ac [deleted file]
vlib-api/configure.ac [deleted file]
vlib-api/suffix-rules.mk [deleted symlink]
vlib/.gitignore [deleted file]
vlib/configure.ac [deleted file]
vlib/dir.dox [deleted file]
vnet/.gitignore [deleted file]
vnet/configure.ac [deleted file]
vnet/suffix-rules.mk [deleted symlink]
vpp-api-test/Makefile.am [deleted file]
vpp-api-test/configure.ac [deleted file]
vpp-api/Makefile.am
vpp-api/configure.ac
vpp-api/java/Makefile.am
vpp-api/java/jvpp-core/jvpp_core.c
vpp-api/java/jvpp-registry/jvpp_registry.c
vpp-api/java/jvpp/gen/jvpp_gen.py
vpp/Makefile.am [deleted file]
vpp/configure.ac [deleted file]
vpp/suffix-rules.mk [deleted symlink]
vpp/vpp-api/api_format.c [deleted symlink]
vpp/vpp-api/vat.h [deleted symlink]
vppinfra/.gitignore [deleted file]
vppinfra/INSTALL [deleted file]
vppinfra/Make.defs [deleted file]
vppinfra/configure.ac [deleted file]
vppinfra/dir.dox [deleted file]
vppinfra/mkinstalldirs [deleted file]

index 292b0d2..1b75779 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ endif
 
 DEB_DEPENDS  = curl build-essential autoconf automake bison libssl-dev ccache
 DEB_DEPENDS += debhelper dkms git libtool libganglia1-dev libapr1-dev dh-systemd
-DEB_DEPENDS += libconfuse-dev git-review exuberant-ctags cscope
+DEB_DEPENDS += libconfuse-dev git-review exuberant-ctags cscope pkg-config
 DEB_DEPENDS += python-dev python-virtualenv python-pip lcov chrpath autoconf
 ifeq ($(OS_VERSION_ID),14.04)
        DEB_DEPENDS += openjdk-8-jdk-headless
@@ -147,7 +147,7 @@ else
        @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/gcc
        @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/g++
 endif
-       @make -C $(BR) V=$(V) is_build_tool=yes vppapigen-install
+       @make -C $(BR) V=$(V) is_build_tool=yes tools-install
        @touch $@
 
 bootstrap: $(BR)/.bootstrap.ok
diff --git a/build-data/packages/cavium-dpdk.mk b/build-data/packages/cavium-dpdk.mk
deleted file mode 100644 (file)
index ce8ee22..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# Temporary until Cavium upstreams their work
-
-cavium-dpdk_configure =                                                        \
-  src_dir=$(call find_source_fn,$(PACKAGE_SOURCE)) ;                   \
-  dst_dir=$(PACKAGE_BUILD_DIR) ;                                       \
-  tar -C $${src_dir} -cf - . | tar -C $${dst_dir} -xf - ;              \
-  cd $${dst_dir} ;                                                     \
-  : colossal hemorrhoid to configure headroom  ;                       \
-  if [ x$($(PACKAGE)_configure_args_$(PLATFORM)) = "x" ] ; then                \
-    HR=256 ;                                                           \
-  else                                                                 \
-     dpdk_configure_args=$($(PACKAGE)_configure_args_$(PLATFORM)) ;    \
-     if [ $$dpdk_configure_args = "--with-headroom=256" ] ; then       \
-       HR=256 ;                                                        \
-     elif [ $$dpdk_configure_args = "--with-headroom=384" ] ; then     \
-       HR=384 ;                                                        \
-     else                                                              \
-       HR=256 ;                                                        \
-     fi ;                                                              \
-  fi ;                                                                 \
-  env HR=$$HR                                                          \
-     spp -o                                                            \
-  $(PACKAGE_BUILD_DIR)/config/common_linuxapp                          \
-  $(PACKAGE_BUILD_DIR)/config/common_linuxapp.spp                      \
-       ;                                                               \
-  env $(CONFIGURE_ENV)                                                 \
-    make config T=arm64-thunderx-linuxapp-gcc RTE_ARCH=arm64           \
-        CC=aarch64-thunderx-linux-gnu-gcc V=0                          \
-        RTE_SDK=$(PACKAGE_BUILD_DIR)                                   \
-        RTE_TARGET=arm-default-linuxapp-gcc
-
-# Note: add e.g. "-O0" to EXTRA_CFLAGS if desired: EXTRA_CFLAGS='-g -O0'
-
-cavium-dpdk_make_args = install T=arm64-thunderx-linuxapp-gcc RTE_ARCH=arm64 \
-        CC=aarch64-thunderx-linux-gnu-gcc V=0                               \
-        RTE_SDK=$(PACKAGE_BUILD_DIR)                                        \
-        RTE_TARGET=arm-default-linuxapp-gcc
-
-cavium-dpdk_install =                                          \
-  src_dir=$(PACKAGE_BUILD_DIR) ;                               \
-  dst_dir=$(PACKAGE_INSTALL_DIR) ;                             \
-  tar -h -C $${src_dir}/arm64-thunderx-linuxapp-gcc -cf - .    \
-    | tar -C $${dst_dir} -xf - 
-
-# dpdk libraries end up in .../lib not .../lib64. Fix it.
-cavium-dpdk_post_install =                                                     \
-  if [ "$(arch_lib_dir)" != "lib" ] ; then                                     \
-     mkdir -p $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir) ;                         \
-     cd $(PACKAGE_INSTALL_DIR)/lib                  ;                          \
-     tar cf - . | ( cd $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir); tar xf - ) ;    \
-  fi 
-
-# nothing to install, all static libraries
-cavium-dpdk_image_include = echo
-
index 258eff1..9b760e6 100644 (file)
@@ -1,5 +1,3 @@
-g2_configure_depend = vppinfra-install
+g2_source = src
 
-g2_CPPFLAGS = $(call installed_includes_fn, vppinfra)
-
-g2_LDFLAGS = $(call installed_libs_fn, vppinfra)
+g2_configure_args = --disable-vlib --disable-svm --enable-g2
index a6ba42d..6fa7e0f 100644 (file)
@@ -1,9 +1,9 @@
-gmod_configure_depend = vppinfra-install svm-install
+gmod_configure_depend = vpp-install
 
 gmod_configure_args = --libdir=$(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/ganglia
 
-gmod_CPPFLAGS = $(call installed_includes_fn, vppinfra svm)
+gmod_CPPFLAGS = $(call installed_includes_fn, vpp)
 gmod_CPPFLAGS += -I/usr/include/apr-1.0 -I/usr/include/apr-1 -I/usr/include
-gmod_LDFLAGS = $(call installed_libs_fn, vppinfra svm)
+gmod_LDFLAGS = $(call installed_libs_fn, vpp)
 
 gmod_image_include = echo $(arch_lib_dir)/ganglia/libgmodvpp.so etc
index 300f902..e582c31 100644 (file)
@@ -1,5 +1,4 @@
-perftool_configure_depend = vppinfra-install
+perftool_source = src
 
-perftool_CPPFLAGS = $(call installed_includes_fn, vppinfra)
+perftool_configure_args = --disable-vlib --disable-svm --enable-perftool
 
-perftool_LDFLAGS = $(call installed_libs_fn, vppinfra)
index 44a8e2b..b4d67a2 100644 (file)
@@ -1,24 +1,13 @@
 plugins_configure_depend =                     \
-    vppinfra-install                           \
-    vlib-api-install                           \
-    vpp-api-test-install                       \
-    vnet-install                                \
-    vlib-install                               \
-    vpp-api-install
+    vpp-api-install                            \
+    vpp-install
 
-plugins_CPPFLAGS = $(call installed_includes_fn,       \
-    vppinfra                                   \
-    vlib                                       \
-    vnet                                       \
-    svm                                        \
-    vpp-api-test                               \
-    vlib-api                           \
-    vpp-api)                                   
+plugins_CPPFLAGS = $(call installed_includes_fn, \
+    vpp  \
+    vpp-api)
 
-plugins_LDFLAGS = $(call installed_libs_fn,    \
-    vppinfra                                   \
-    vlib                                       \
-    vlib-api)
+plugins_LDFLAGS = $(call installed_libs_fn,     \
+    vpp)
 
 ifeq ($($(PLATFORM)_enable_tests),yes)
 plugins_configure_args += --enable-tests
diff --git a/build-data/packages/svm.mk b/build-data/packages/svm.mk
deleted file mode 100644 (file)
index 3971fe8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-svm_top_srcdir = $(call find_source_fn,svm)
-svm_configure_depend = vppinfra-install
-
-svm_CPPFLAGS = $(call installed_includes_fn, vppinfra)
-svm_LDFLAGS = $(call installed_libs_fn, vppinfra)
diff --git a/build-data/packages/vlib-api-cavium-dpdk.mk b/build-data/packages/vlib-api-cavium-dpdk.mk
deleted file mode 100644 (file)
index 7a4fe2c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-vlib-api-cavium-dpdk_source = vlib-api
-
-vlib-api-cavium-dpdk_configure_depend = vppinfra-install svm-install vlib-cavium-dpdk-install
-
-vlib-api-cavium-dpdk_CPPFLAGS = $(call installed_includes_fn, vppinfra svm vlib-cavium-dpdk)
-vlib-api-cavium-dpdk_LDFLAGS = $(call installed_libs_fn, vppinfra svm vlib-cavium-dpdk)
diff --git a/build-data/packages/vlib-api.mk b/build-data/packages/vlib-api.mk
deleted file mode 100644 (file)
index 29b0d17..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-vlib-api_configure_depend = vppinfra-install svm-install vlib-install
-
-vlib-api_CPPFLAGS = $(call installed_includes_fn, vppinfra svm vlib)
-vlib-api_LDFLAGS = $(call installed_libs_fn, vppinfra svm vlib)
diff --git a/build-data/packages/vlib-cavium-dpdk.mk b/build-data/packages/vlib-cavium-dpdk.mk
deleted file mode 100644 (file)
index 0f2f132..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-vlib-cavium-dpdk_source = vlib
-vlib-cavium-dpdk_configure_depend = vppinfra-install cavium-dpdk-install
-
-vlib-cavium-dpdk_configure_args += --with-dpdk
-
-vlib-cavium-dpdk_CPPFLAGS = $(call installed_includes_fn, vppinfra cavium-dpdk)
-vlib-cavium-dpdk_LDFLAGS = $(call installed_libs_fn, vppinfra cavium-dpdk)
diff --git a/build-data/packages/vlib.mk b/build-data/packages/vlib.mk
deleted file mode 100644 (file)
index 2172708..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-vlib_configure_depend = vppinfra-install
-
-vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra)
-vlib_LDFLAGS = $(call installed_libs_fn, vppinfra)
-
-ifneq ($($(PLATFORM)_uses_dpdk),no)
-vlib_configure_args += --with-dpdk
-ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
-vlib_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
-vlib_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
-else
-vlib_configure_depend += dpdk-install
-vlib_CPPFLAGS += $(call installed_includes_fn, dpdk)
-vlib_LDFLAGS += $(call installed_libs_fn, dpdk)
-endif
-endif
diff --git a/build-data/packages/vnet-cavium-dpdk.mk b/build-data/packages/vnet-cavium-dpdk.mk
deleted file mode 100644 (file)
index 4c35b04..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-vnet-cavium-dpdk_source = vnet
-
-vnet-cavium-dpdk_configure_depend =            \
-    vppinfra-install                           \
-    cavium-dpdk-install                                \
-    svm-install                                        \
-    vlib-api-cavium-dpdk-install               \
-    vlib-cavium-dpdk-install 
-
-
-vnet-cavium-dpdk_CPPFLAGS = $(call installed_includes_fn,      \
-    vppinfra                                                   \
-    cavium-dpdk                                                        \
-    openssl                                                    \
-    svm                                                                \
-    vlib-cavium-dpdk                                           \
-    vlib-api-cavium-dpdk)
-
-vnet-cavium-dpdk_LDFLAGS = $(call installed_libs_fn,   \
-    vppinfra                                           \
-    cavium-dpdk                                                \
-    openssl                                            \
-    svm                                                        \
-    vlib-cavium-dpdk                                   \
-    vlib-api-cavium-dpdk)
-
-# Platform dependent configure flags
-vnet-cavium-dpdk_configure_args += $(vnet-cavium-dpdk_configure_args_$(PLATFORM))
-
diff --git a/build-data/packages/vpp-api-test-cavium-dpdk.mk b/build-data/packages/vpp-api-test-cavium-dpdk.mk
deleted file mode 100644 (file)
index e352317..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-vpp-api-test-cavium-dpdk_source = vpp-api-test
-
-vpp-api-test-cavium-dpdk_configure_depend =    \
-       vppinfra-install                        \
-       cavium-dpdk-install                     \
-       svm-install                             \
-       vlib-api-cavium-dpdk-install            \
-       vlib-cavium-dpdk-install                \
-       vnet-cavium-dpdk-install                \
-       vpp-cavium-dpdk-install
-
-# 
-vpp-api-test-cavium-dpdk_configure_args = --with-dpdk 
-
-vpp-api-test-cavium-dpdk_CPPFLAGS = $(call installed_includes_fn,      \
-       vppinfra                                                        \
-       cavium-dpdk                                                     \
-       svm                                                             \
-       vlib-cavium-dpdk                                                \
-       vlib-api-cavium-dpdk                                            \
-       vnet-cavium-dpdk                                                \
-       vpp-cavium-dpdk)
-
-vpp-api-test-cavium-dpdk_LDFLAGS = $(call installed_libs_fn,   \
-       vppinfra                                                \
-       cavium-dpdk                                             \
-       svm                                                     \
-       vlib-cavium-dpdk                                        \
-       vlib-api-cavium-dpdk                                    \
-       vnet-cavium-dpdk                                        \
-       vpp-cavium-dpdk)
-
diff --git a/build-data/packages/vpp-api-test.mk b/build-data/packages/vpp-api-test.mk
deleted file mode 100644 (file)
index c9eae36..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-vpp-api-test_configure_depend =                        \
-       vppinfra-install                        \
-       svm-install                             \
-       vlib-api-install                        \
-       vlib-install                            \
-       vnet-install                            \
-       vpp-install
-
-vpp-api-test_CPPFLAGS = $(call installed_includes_fn,  \
-       vppinfra                                        \
-       svm                                             \
-       vlib                                            \
-       vlib-api                                        \
-       vnet                                            \
-       vpp)
-
-vpp-api-test_LDFLAGS = $(call installed_libs_fn,       \
-       vppinfra                                        \
-       svm                                             \
-       vlib                                            \
-       vlib-api                                        \
-       vnet                                            \
-       vpp)
-
-ifneq ($($(PLATFORM)_uses_dpdk),no)
-vpp-api-test_configure_args = --with-dpdk
-ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
-vpp-api-test_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
-vpp-api-test_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
-else
-vpp-api-test_configure_depend += dpdk-install
-vpp-api-test_CPPFLAGS += $(call installed_includes_fn, dpdk)
-vpp-api-test_LDFLAGS += $(call installed_libs_fn, dpdk)
-endif
-endif
-ifeq ($($(PLATFORM)_uses_dpdk_cryptodev),yes)
-vpp-api-test_configure_args += --with-dpdk-crypto
-endif
-
index 4937023..d9e8d72 100644 (file)
@@ -1,23 +1,9 @@
 vpp-api_configure_depend =                     \
-       vppinfra-install                        \
-       svm-install                             \
-       vlib-api-install                        \
-       vlib-install                            \
-       vnet-install                            \
        vpp-install
 
 vpp-api_CPPFLAGS = $(call installed_includes_fn,       \
-       vppinfra                                        \
-       svm                                             \
-       vlib                                            \
-       vlib-api                                        \
-       vnet                                            \
        vpp)
 
-vpp-api_LDFLAGS = $(call installed_libs_fn,    \
-       vppinfra                                \
-       svm                                     \
-       vlib                                    \
-       vlib-api)
+vpp-api_LDFLAGS =
 
 vpp-api_CPPFLAGS += -I/usr/lib/jvm/java-8-openjdk-amd64/include
diff --git a/build-data/packages/vpp-cavium-dpdk.mk b/build-data/packages/vpp-cavium-dpdk.mk
deleted file mode 100644 (file)
index 704e3a9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-vpp-cavium-dpdk_source = vpp
-
-vpp-cavium-dpdk_configure_depend =             \
-       vppinfra-install                        \
-       cavium-dpdk-install                     \
-       svm-install                             \
-       vlib-api-cavium-dpdk-install            \
-       vlib-cavium-dpdk-install                \
-       vnet-cavium-dpdk-install
-
-# Platform dependent configure flags
-vpp-cavium-dpdk_configure_args += $(vpp-cavium-dpdk_configure_args_$(PLATFORM))
-
-vpp-cavium-dpdk_CPPFLAGS = $(call installed_includes_fn,       \
-       vppinfra                                                \
-       cavium-dpdk                                             \
-        openssl                                                        \
-       svm                                                     \
-       vlib-cavium-dpdk                                        \
-       vlib-api-cavium-dpdk                                    \
-       vnet-cavium-dpdk)
-
-vpp-cavium-dpdk_LDFLAGS = $(call installed_libs_fn,    \
-       vppinfra                                        \
-       cavium-dpdk                                     \
-       openssl                                         \
-       svm                                             \
-       vlib-cavium-dpdk                                \
-       vlib-api-cavium-dpdk                            \
-       vnet-cavium-dpdk)
index a3d6052..fe68cd8 100644 (file)
@@ -1,11 +1,5 @@
-vpp_configure_depend =                         \
-       vppinfra-install                        \
-       svm-install                             \
-       vlib-api-install                        \
-       vlib-install                            \
-       vnet-install                            \
+vpp_source = src
 
-# 
 ifeq ($($(PLATFORM)_dpdk_shared_lib),yes)
 vpp_configure_args = --enable-dpdk-shared
 else
@@ -16,25 +10,8 @@ endif
 vpp_configure_args += $(vpp_configure_args_$(PLATFORM))
 
 
-vpp_CPPFLAGS = $(call installed_includes_fn,   \
-       vppinfra                                \
-       svm                                     \
-       vlib                                    \
-       vlib-api                                \
-       vnet)
-
-vpp_LDFLAGS = $(call installed_libs_fn,                \
-       vppinfra                                \
-       svm                                     \
-       vlib                                    \
-       vlib-api                                \
-       vnet)
-
-# include & link with openssl only if needed
-ifneq ($($(PLATFORM)_uses_openssl),no)
-vpp_CPPFLAGS += $(call installed_includes_fn, openssl)
-vpp_LDFLAGS += $(call installed_libs_fn, openssl)
-endif
+vpp_CPPFLAGS =
+vpp_LDFLAGS =
 
 ifneq ($($(PLATFORM)_uses_dpdk),no)
 ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
diff --git a/build-data/packages/vppinfra.mk b/build-data/packages/vppinfra.mk
deleted file mode 100644 (file)
index 6ca6eb2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-ifeq ($($(PLATFORM)_enable_tests),yes)
-vppinfra_configure_args += --enable-tests
-endif
-
index a568c7a..88dd3ed 100644 (file)
@@ -60,15 +60,15 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
         deb/debian/vpp-dpdk-dev.install ;                              \
                                                                        \
        : bin package needs startup config ;                            \
-       echo ../../vpp/conf/startup.conf /etc/vpp                       \
+       echo ../../src/vpp/conf/startup.conf /etc/vpp                   \
           >> deb/debian/vpp.install ;                                  \
                                                                        \
        : and sysctl config ;                                           \
-       echo ../../vpp/conf/80-vpp.conf /etc/sysctl.d                   \
+       echo ../../src/vpp/conf/80-vpp.conf /etc/sysctl.d               \
           >> deb/debian/vpp.install ;                                  \
                                                                        \
        : dev package needs a couple of additions ;                     \
-       echo ../build-tool-native/vppapigen/vppapigen /usr/bin          \
+       echo ../build-tool-native/tools/vppapigen /usr/bin              \
           >> deb/debian/vpp-dev.install ;                              \
        echo ../../vpp-api/java/jvpp/gen/jvpp_gen.py /usr/bin           \
           >> deb/debian/vpp-dev.install ;                              \
index 97ddc57..513a4db 100644 (file)
@@ -29,11 +29,9 @@ vpp_uses_dpdk = yes
 # Uncoment to enable building unit tests
 # vpp_enable_tests = yes
 
-vpp_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
-       vpp-api gmod plugins
+vpp_root_packages = vpp vpp-api gmod plugins
 
 vpp_configure_args_vpp = --with-dpdk
-vnet_configure_args_vpp = --with-dpdk
 
 # Set these parameters carefully. The vlib_buffer_t is 128 bytes, i.e.
 vlib_configure_args_vpp = --with-pre-data=128
index ef2ec44..55805d1 100644 (file)
@@ -27,8 +27,7 @@ vpp_lite_uses_dpdk = no
 # Uncoment to enable building unit tests
 #vpp_lite_enable_tests = yes
 
-vpp_lite_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
-       vpp-api gmod
+vpp_lite_root_packages = vpp vpp-api gmod
 
 vlib_configure_args_vpp_lite = --with-pre-data=128
 
index f83734f..2949c18 100755 (executable)
@@ -45,7 +45,7 @@ cd $wsroot
 
 cd $build_root
 echo Compile native tools
-for tool in vppapigen
+for tool in tools
 do
     make V=0 is_build_tool=yes $tool-install
 done
diff --git a/build-root/packages/src.mk b/build-root/packages/src.mk
new file mode 100644 (file)
index 0000000..db48ed5
--- /dev/null
@@ -0,0 +1,4 @@
+# nothing
+
+
+
diff --git a/build-root/packages/tools.mk b/build-root/packages/tools.mk
new file mode 100644 (file)
index 0000000..506e024
--- /dev/null
@@ -0,0 +1,3 @@
+tools_source = src
+tools_configure_args = --disable-vlib
+
diff --git a/build-root/packages/vppapigen.mk b/build-root/packages/vppapigen.mk
deleted file mode 100644 (file)
index 0d28463..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-vppapigen_configure_depend = vppinfra-install
-
-vppapigen_CPPFLAGS = $(call installed_includes_fn, vppinfra)
-
-vppapigen_LDFLAGS = $(call installed_libs_fn, vppinfra)
index 194d205..654424c 100644 (file)
@@ -97,12 +97,10 @@ groupadd -f -r vpp
 mkdir -p -m755 %{buildroot}%{_bindir}
 mkdir -p -m755 %{buildroot}%{_unitdir}
 install -p -m 755 %{_mu_build_dir}/%{_vpp_install_dir}/*/bin/* %{buildroot}%{_bindir}
-install -p -m 755 %{_mu_build_dir}/%{_vpp_build_dir}/vppapigen/vppapigen %{buildroot}%{_bindir}
+install -p -m 755 %{_mu_build_dir}/%{_vpp_build_dir}/tools/vppapigen %{buildroot}%{_bindir}
 
-# core api
+# api
 mkdir -p -m755 %{buildroot}/usr/share/vpp/api
-install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/vpp/vpp-api/vpe.api.json %{buildroot}/usr/share/vpp/api
-install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/vlib-api/vlibmemory/memclnt.api.json %{buildroot}/usr/share/vpp/api
 
 #
 # configs
@@ -110,8 +108,8 @@ install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/vlib-api/vlibmemory/memcl
 mkdir -p -m755 %{buildroot}/etc/vpp
 mkdir -p -m755 %{buildroot}/etc/sysctl.d
 install -p -m 644 %{_mu_build_dir}/rpm/vpp.service %{buildroot}%{_unitdir}
-install -p -m 644 %{_mu_build_dir}/../vpp/conf/startup.uiopcigeneric.conf %{buildroot}/etc/vpp/startup.conf
-install -p -m 644 %{_mu_build_dir}/../vpp/conf/80-vpp.conf %{buildroot}/etc/sysctl.d
+install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/startup.uiopcigeneric.conf %{buildroot}/etc/vpp/startup.conf
+install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/80-vpp.conf %{buildroot}/etc/sysctl.d
 #
 # libraries
 #
@@ -128,7 +126,7 @@ do
        ( cd %{buildroot}%{_libdir} && 
           ln -fs $file $(echo $file | sed -e 's/\(\.so\)\.[0-9]\+.*/\1/') )
 done
-for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/vnet -type f -name '*.api.json' -print )
+for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/vpp/share/vpp/api  -type f -name '*.api.json' -print )
 do
        install -p -m 644 $file %{buildroot}/usr/share/vpp/api
 done
@@ -178,12 +176,24 @@ do
            %{buildroot}/usr/lib/vpp_plugins/$file
 done
 
+for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/vpp/lib64/vpp_plugins && find -type f -print)
+do
+        install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/vpp/lib64/vpp_plugins/$file \
+           %{buildroot}/usr/lib/vpp_plugins/$file
+done
+
 for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/plugins/lib64/vpp_api_test_plugins && find -type f -print)
 do
         install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/plugins/lib64/vpp_api_test_plugins/$file \
            %{buildroot}/usr/lib/vpp_api_test_plugins/$file
 done
 
+for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/vpp/lib64/vpp_api_test_plugins && find -type f -print)
+do
+        install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/vpp/lib64/vpp_api_test_plugins/$file \
+           %{buildroot}/usr/lib/vpp_api_test_plugins/$file
+done
+
 for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/plugins -type f -name '*.api.json' -print )
 do
        install -p -m 644 $file %{buildroot}/usr/share/vpp/api
index a5a52ac..4108f79 100755 (executable)
@@ -2,14 +2,14 @@
 
 rm -f $2
 
-for i in ${1}/plugins/lib64/vpp_plugins/*.so; do
+for i in ${1}/{plugins,vpp}/lib64/vpp_plugins/*.so; do
        echo ../${i} /usr/lib/vpp_plugins >> ${2}
 done
 
-for i in ${1}/plugins/lib64/vpp_api_test_plugins/*.so; do
+for i in ${1}/{plugins,vpp}/lib64/vpp_api_test_plugins/*.so; do
        echo ../${i} /usr/lib/vpp_api_test_plugins >> ${2}
 done
 
-for i in $(find ${1}/plugins -name *.api.json -type f -print); do
+for i in $(find ${1}/plugins ${1}/vpp/share/vpp/api/plugins/ -name *.api.json -type f -print); do
     echo ../${i} /usr/share/vpp/api/ >> ${2}
 done
index 9b390e7..24e8532 100755 (executable)
@@ -2,7 +2,7 @@
 
 rm -f $2
 
-for i in $(find ${1}/vpp-api/lib/python2.7/site-packages/ -type f -print); do
+for i in $(find ${1}/{vpp,vpp-api}/lib/python2.7/site-packages/ -type f -print); do
     echo ../${i} /usr/lib/python2.7/site-packages/vpp_papi >> ${2}
 done
 
index 4a1da83..572f9ef 100644 (file)
@@ -21,7 +21,7 @@
 #include <vppinfra/clib.h>
 #include <vppinfra/vec.h>
 #include <vppinfra/hash.h>
-#include <svmdb.h>
+#include <svm/svmdb.h>
 #include <errno.h>
 
 mmodule vpp_module;
diff --git a/perftool/Makefile.am b/perftool/Makefile.am
deleted file mode 100644 (file)
index ac652aa..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright (c) 2016 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-AUTOMAKE_OPTIONS = foreign
-AM_CFLAGS = -Wall 
-
-bin_PROGRAMS = c2cpel cpelatency cpeldump cpelinreg cpelstate
-
-lib_LTLIBRARIES = libcperf.la
-
-libcperf_la_SOURCES = delsvec.c linreg.c props.c cpel_util.c
-
-TOOL_LIBS = libcperf.la -lvppinfra -lm
-
-c2cpel_SOURCE = c2cpel.c
-c2cpel_LDADD = $(TOOL_LIBS)
-
-cpelatency_SOURCE = cpelatency.c
-cpelatency_LDADD = $(TOOL_LIBS)
-
-cpeldump_SOURCE = cpeldump.c
-cpeldump_LDADD = $(TOOL_LIBS)
-
-cpelinreg_SOURCE = cpelinreg.c
-cpelinreg_LDADD = $(TOOL_LIBS)
-
-cpelstate_SOURCE = cpelstate.c
-cpelstate_LDADD = $(TOOL_LIBS)
-
-
-
-
-
-
index 100f089..a101e47 100644 (file)
@@ -28,10 +28,6 @@ if ENABLE_sample_PLUGIN
 SUBDIRS += sample-plugin
 endif
 
-if ENABLE_sixrd_PLUGIN
-SUBDIRS += sixrd-plugin
-endif
-
 if ENABLE_ioam_PLUGIN
 SUBDIRS += ioam-plugin
 endif
@@ -44,18 +40,10 @@ if ENABLE_snat_PLUGIN
 SUBDIRS += snat-plugin
 endif
 
-if ENABLE_ila_PLUGIN
-SUBDIRS += ila-plugin
-endif
-
 if ENABLE_lb_PLUGIN
 SUBDIRS += lb-plugin
 endif
 
-if ENABLE_flowperpkt_PLUGIN
-SUBDIRS += flowperpkt-plugin
-endif
-
 if ENABLE_acl_PLUGIN
 SUBDIRS += acl-plugin
 endif
index 6e7d5b8..9c63163 100644 (file)
@@ -53,12 +53,9 @@ AM_CONDITIONAL(ENABLE_$1_PLUGIN, test "$enable_the_plugin" = "1")
 # SUBDIRS += new-plugin
 # endif
 
-PLUGIN_ENABLED(sixrd)
 PLUGIN_ENABLED(ioam)
 PLUGIN_ENABLED(snat)
-PLUGIN_ENABLED(ila)
 PLUGIN_ENABLED(lb)
-PLUGIN_ENABLED(flowperpkt)
 PLUGIN_ENABLED(acl)
 
 # Disabled plugins, require --enable-XXX-plugin
diff --git a/plugins/flowperpkt-plugin/Makefile.am b/plugins/flowperpkt-plugin/Makefile.am
deleted file mode 100644 (file)
index 9354e26..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-
-# Copyright (c) <current-year> <your-organization>
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall
-AM_LDFLAGS = -module -shared -avoid-version
-
-vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins
-vpppluginsdir = ${libdir}/vpp_plugins
-
-vppplugins_LTLIBRARIES = flowperpkt_plugin.la
-vppapitestplugins_LTLIBRARIES = flowperpkt_test_plugin.la
-
-flowperpkt_plugin_la_SOURCES = flowperpkt/flowperpkt.c  \
-        flowperpkt/l2_node.c \
-        flowperpkt/node.c \
-       flowperpkt/flowperpkt_plugin.api.h
-flowperpkt_plugin_la_LDFLAGS = -module
-
-BUILT_SOURCES =                                        \
-       flowperpkt/flowperpkt.api.h             \
-       flowperpkt/flowperpkt.api.json
-
-SUFFIXES = .api.h .api .api.json
-
-%.api.h: %.api
-       mkdir -p `dirname $@` ; \
-       $(CC) $(CPPFLAGS) -E -P -C -x c $^ \
-       | vppapigen --input - --output $@ --show-name $@
-
-%.api.json: %.api
-       @echo "  JSON APIGEN  " $@ ;                            \
-       mkdir -p `dirname $@` ;                                 \
-       $(CC) $(CPPFLAGS) -E -P -C -x c $^                      \
-       | vppapigen --input - --json $@
-
-apidir = $(prefix)/flowperpkt/
-api_DATA = flowperpkt/flowperpkt.api.json
-
-noinst_HEADERS =                       \
-  flowperpkt/flowperpkt_all_api_h.h                    \
-  flowperpkt/flowperpkt_msg_enum.h                     \
-  flowperpkt/flowperpkt.api.h
-
-flowperpkt_test_plugin_la_SOURCES = \
-  flowperpkt/flowperpkt_test.c flowperpkt/flowperpkt_plugin.api.h
-
-# Remove *.la files
-install-data-hook:
-       @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
-       @(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
-
diff --git a/plugins/flowperpkt-plugin/configure.ac b/plugins/flowperpkt-plugin/configure.ac
deleted file mode 100644 (file)
index 8054616..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-AC_INIT(flowperpkt_plugin, 1.0)
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-
-AC_PROG_LIBTOOL
-AC_PROG_CC
-
-AC_OUTPUT([Makefile])
diff --git a/plugins/ila-plugin/configure.ac b/plugins/ila-plugin/configure.ac
deleted file mode 100644 (file)
index 56016b4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-AC_INIT(ila_plugin, 1.0)
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-AC_PREFIX_DEFAULT([/usr])
-
-AC_PROG_LIBTOOL
-AC_PROG_CC
-
-AC_OUTPUT([Makefile])
diff --git a/plugins/sixrd-plugin/configure.ac b/plugins/sixrd-plugin/configure.ac
deleted file mode 100644 (file)
index 3aa4c42..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-AC_INIT(sixrd_plugin, 1.0)
-LT_INIT
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-AC_PREFIX_DEFAULT([/usr])
-
-AC_PROG_CC
-
-AC_OUTPUT([Makefile])
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644 (file)
index 0000000..e691a53
--- /dev/null
@@ -0,0 +1,101 @@
+# Copyright (c) 2016 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+###############################################################################
+# Global Defines
+###############################################################################
+
+AUTOMAKE_OPTIONS = foreign subdir-objects
+ACLOCAL_AMFLAGS = -I m4
+
+AM_CFLAGS = -Wall
+
+SUBDIRS = .
+SUFFIXES = .api.h .api .api.json
+API_FILES =
+noinst_HEADERS =
+dist_bin_SCRIPTS =
+lib_LTLIBRARIES =
+BUILT_SOURCES =
+
+###############################################################################
+# DPDK
+###############################################################################
+
+if WITH_DPDK
+if ENABLE_DPDK_SHARED
+DPDK_LD_FLAGS = -Wl,--whole-archive,-ldpdk,--no-whole-archive
+else
+DPDK_LD_FLAGS = -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive
+endif
+if WITH_DPDK_CRYPTO
+DPDK_LD_ADD = -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB
+endif
+if WITH_DPDK_MLX5_PMD
+DPDK_LD_FLAGS += -libverbs -lmlx5 -lnuma
+endif
+else
+DPDK_LD_FLAGS =
+DPDK_LD_ADD =
+endif
+
+###############################################################################
+# Components
+###############################################################################
+
+include vppinfra.am
+include vppapigen.am
+
+if ENABLE_PERFTOOL
+include perftool.am
+endif
+
+if ENABLE_G2
+include g2.am
+endif
+
+if ENABLE_SVM
+include svm.am
+endif
+
+if ENABLE_VLIB
+include vlib.am
+endif
+
+if ENABLE_SVM
+if ENABLE_VLIB
+include vlib-api.am
+include vnet.am
+include vpp.am
+include vpp-api-test.am
+
+SUBDIRS += vpp-api/python plugins
+
+###############################################################################
+# API
+###############################################################################
+
+include suffix-rules.mk
+
+# Set the suffix list
+apidir = $(prefix)/share/vpp/api/core
+
+api_DATA = \
+       $(patsubst %.api,%.api.json,$(API_FILES))
+
+BUILT_SOURCES += \
+       $(patsubst %.api,%.api.json,$(API_FILES)) \
+       $(patsubst %.api,%.api.h,$(API_FILES))
+
+endif # if ENABLE_VLIB
+endif # if ENABLE_SVM
diff --git a/src/configure.ac b/src/configure.ac
new file mode 100644 (file)
index 0000000..f8e4d94
--- /dev/null
@@ -0,0 +1,195 @@
+AC_INIT([vpp], [17.04], [vpp-dev@fd.io])
+LT_INIT
+AC_CONFIG_AUX_DIR([.])
+AM_INIT_AUTOMAKE([subdir-objects])
+AM_SILENT_RULES([yes])
+AC_CONFIG_FILES([Makefile plugins/Makefile vpp-api/python/Makefile])
+
+AC_PROG_CC
+AM_PROG_AS
+AM_PROG_LIBTOOL
+AC_PROG_YACC
+
+###############################################################################
+# Macros
+###############################################################################
+
+AC_DEFUN([ENABLE_ARG],
+[
+  AC_ARG_ENABLE($1,
+    AC_HELP_STRING(patsubst([--enable-$1],[_],[-]), $2),
+    [enable_$1=yes n_enable_$1=1],
+    [enable_$1=no n_enable_$1=0])
+  AM_CONDITIONAL(m4_toupper(ENABLE_$1), test "$enable_$1" = "yes")
+  m4_append([list_of_enabled], [$1], [, ])
+])
+
+AC_DEFUN([DISABLE_ARG],
+[
+  AC_ARG_ENABLE($1,
+    AC_HELP_STRING(patsubst([--disable-$1],[_],[-]), $2),
+    [enable_$1=no n_enable_$1=0],
+    [enable_$1=yes n_enable_$1=1])
+  AM_CONDITIONAL(m4_toupper(ENABLE_$1), test "$enable_$1" = "yes")
+  m4_append([list_of_enabled], [$1], [, ])
+])
+
+AC_DEFUN([WITH_ARG],
+[
+  AC_ARG_WITH($1,
+    AC_HELP_STRING(patsubst([--with-$1],[_],[-]), $2),
+    [with_$1=yes n_with_$1=1],
+    [with_$1=no n_with_$1=0])
+  AM_CONDITIONAL(m4_toupper(WITH_$1), test "$with_$1" = "yes")
+  m4_append([list_of_with], [$1], [, ])
+])
+
+AC_DEFUN([WITHOUT_ARG],
+[
+  AC_ARG_WITH($1,
+    AC_HELP_STRING(patsubst([--without-$1],[_],[-]), $2),
+    [with_$1=no n_with_$1=0],
+    [with_$1=yes n_with_$1=1])
+  AM_CONDITIONAL(m4_toupper(WITH_$1), test "$with_$1" = "yes")
+  m4_append([list_of_with], [$1], [, ])
+])
+
+AC_DEFUN([PLUGIN_ENABLED],
+[
+   AC_ARG_ENABLE($1_plugin,
+     AC_HELP_STRING([--disable-$1-plugin], [Do not build $1 plugin]),
+       [enable_$1_plugin=no],
+       [enable_$1_plugin=yes ])
+  AM_CONDITIONAL(m4_toupper(ENABLE_$1_PLUGIN), test "$enable_$1_plugin" = "yes")
+  m4_append([list_of_plugins], [$1], [, ])
+])
+
+AC_DEFUN([PLUGIN_DISABLED],
+[
+   AC_ARG_ENABLE($1_plugin,
+     AC_HELP_STRING([--enable-$1-plugin], [Build $1 plugin]),
+       [enable_$1_plugin=yes ],
+       [enable_$1_plugin=no])
+  AM_CONDITIONAL(m4_toupper((ENABLE_$1_PLUGIN), test "$enable_$1_plugin" = "yes")
+  m4_append([list_of_plugins], [$1], [, ])
+])
+
+AC_DEFUN([PRINT_VAL], [ AC_MSG_RESULT(AC_HELP_STRING($1,$2)) ])
+
+###############################################################################
+# configure arguments
+###############################################################################
+
+# --enable-X
+ENABLE_ARG(tests,      [Enable unit tests])
+ENABLE_ARG(dpdk_shared,        [Enable unit tests])
+ENABLE_ARG(perftool,   [Enable perftool])
+ENABLE_ARG(g2,         [Enable g2])
+
+# --disable-X
+DISABLE_ARG(vlib,      [Disable vlib and dependant libs and binaries])
+DISABLE_ARG(svm,       [Disable svm and dependant libs and binaries])
+
+# --with-X
+WITH_ARG(dpdk,         [Use use DPDK])
+WITH_ARG(dpdk_crypto,  [Use DPDK cryptodev])
+WITH_ARG(dpdk_mlx5_pmd,        [Use DPDK with mlx5 PMD])
+
+# --without-X
+WITHOUT_ARG(ipsec,     [Disable IPSec])
+WITHOUT_ARG(ipv6sr,    [Disable IPv6 SR])
+WITHOUT_ARG(apicli,    [Disable binary api CLI])
+
+AC_ARG_WITH(unix,
+            AC_HELP_STRING([--with-unix],[Compile unix version of clib]),
+           [],
+           [case $host_os in
+             darwin* | linux*) with_unix=yes;;
+             *) with_unix=no;;
+             esac])
+
+AM_CONDITIONAL(WITH_UNIX, test "$with_unix" = "yes")
+
+AC_ARG_WITH(pre-data,
+            AC_HELP_STRING([--with-pre-data],[Set buffer rewrite space]),
+           [case $with_pre_data in
+              128) ;;
+              256) ;;
+               *) with_pre_data="pre-data-not-set" ;;
+            esac], [with_pre_data=128])
+
+###############################################################################
+# Substitutions and defines
+###############################################################################
+
+AC_SUBST(PRE_DATA_SIZE,                [$with_pre_data])
+AC_SUBST(APICLI,               [-DVPP_API_TEST_BUILTIN=${n_with_apicli}])
+
+AC_DEFINE_UNQUOTED(DPDK,               [${n_with_dpdk}])
+AC_DEFINE_UNQUOTED(DPDK_SHARED_LIB,    [${n_enable_dpdk_shared}])
+AC_DEFINE_UNQUOTED(DPDK_CRYPTO,                [${n_with_dpdk_crypto}])
+AC_DEFINE_UNQUOTED(IPSEC,              [${n_with_ipsec}])
+AC_DEFINE_UNQUOTED(IPV6SR,             [${n_with_ipv6sr}])
+
+###############################################################################
+# Dependency checks
+###############################################################################
+
+AM_COND_IF([ENABLE_DPDK_SHARED],
+[
+  AC_CHECK_HEADERS([rte_config.h],
+    [],
+    [AC_MSG_ERROR([DPDK header files not found])],)
+  AC_CHECK_LIB( [dpdk], [rte_eal_init],
+    [],
+    [AC_MSG_ERROR([DPDK shared library not found])],)
+])
+
+AM_COND_IF([ENABLE_G2],
+[
+  PKG_CHECK_MODULES(g2, gtk+-2.0)
+])
+
+###############################################################################
+# Plugins
+###############################################################################
+
+PLUGIN_ENABLED(sixrd)
+PLUGIN_ENABLED(ila)
+PLUGIN_ENABLED(flowperpkt)
+
+###############################################################################
+# Output
+###############################################################################
+
+AC_OUTPUT
+
+AC_MSG_RESULT([==============================================================================])
+PRINT_VAL([version], $PACKAGE $VERSION)
+PRINT_VAL([prefix], ${prefix})
+PRINT_VAL([libdir], ${libdir})
+PRINT_VAL([includedir], ${includedir})
+PRINT_VAL([CFLAGS], ${CFLAGS})
+PRINT_VAL([CPPFLAGS], ${CPPFLAGS})
+PRINT_VAL([LDFLAGS], ${LDFLAGS})
+
+AC_MSG_RESULT([])
+AC_MSG_RESULT([with:])
+m4_foreach([x], m4_dquote(list_of_with), [
+  AC_MSG_RESULT(AC_HELP_STRING(x, m4_join([], [${with_], x, [}])))
+])
+
+AC_MSG_RESULT([])
+AC_MSG_RESULT([enabled:])
+m4_foreach([x], m4_dquote(list_of_enabled), [
+  AC_MSG_RESULT(AC_HELP_STRING(x, m4_join([], [${enable_], x, [}])))
+])
+
+AC_MSG_RESULT([])
+AC_MSG_RESULT([plugins:])
+m4_foreach([x], m4_dquote(list_of_plugins), [
+  AC_MSG_RESULT(AC_HELP_STRING(x, m4_join([], [${enable_], x, [_plugin}])))
+])
+AC_MSG_RESULT([==============================================================================])
+
+
similarity index 62%
rename from g2/Makefile.am
rename to src/g2.am
index 8457c27..e796573 100644 (file)
+++ b/src/g2.am
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign
-
-bin_PROGRAMS = g2
-
-AM_CFLAGS = -Wall 
+bin_PROGRAMS += g2
 
 g2_SOURCES =                                   \
-  clib.c                                       \
-  cpel.c                                       \
-  cpel.h                                       \
-  events.c                                     \
-  g2.h                                         \
-  main.c                                       \
-  menu1.c                                      \
-  pointsel.c                                   \
-  props.c                                      \
-  props.h                                      \
-  g2version.c                                  \
-  view1.c
+  tools/g2/clib.c                              \
+  tools/g2/cpel.c                              \
+  tools/g2/cpel.h                              \
+  tools/g2/events.c                            \
+  tools/g2/g2.h                                        \
+  tools/g2/main.c                              \
+  tools/g2/menu1.c                             \
+  tools/g2/pointsel.c                          \
+  tools/g2/props.c                             \
+  tools/g2/props.h                             \
+  tools/g2/g2version.c                         \
+  tools/g2/view1.c
+
+g2_LDADD = $(g2_LIBS) libvppinfra.la -lpthread -lm
 
-g2_LDADD = $(g2_LIBS) -lvppinfra -lpthread -lm
+# vi:syntax=automake
diff --git a/src/perftool.am b/src/perftool.am
new file mode 100644 (file)
index 0000000..09f1681
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright (c) 2016 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bin_PROGRAMS += c2cpel cpelatency cpeldump cpelinreg cpelstate
+
+lib_LTLIBRARIES += libcperf.la
+
+libcperf_la_SOURCES = \
+  tools/perftool/delsvec.c     \
+  tools/perftool/linreg.c      \
+  tools/perftool/props.c       \
+  tools/perftool/cpel_util.c
+
+PERFTOOL_LIBS = libcperf.la libvppinfra.la -lm
+
+c2cpel_SOURCES = tools/perftool/c2cpel.c
+c2cpel_LDADD = $(PERFTOOL_LIBS)
+
+cpelatency_SOURCES = tools/perftool/cpelatency.c
+cpelatency_LDADD = $(PERFTOOL_LIBS)
+
+cpeldump_SOURCES = tools/perftool/cpeldump.c
+cpeldump_LDADD = $(PERFTOOL_LIBS)
+
+cpelinreg_SOURCES = tools/perftool/cpelinreg.c
+cpelinreg_LDADD = $(PERFTOOL_LIBS)
+
+cpelstate_SOURCES = tools/perftool/cpelstate.c
+cpelstate_LDADD = $(PERFTOOL_LIBS)
+
+# vi:syntax=automake
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
new file mode 100644 (file)
index 0000000..ffc4b3a
--- /dev/null
@@ -0,0 +1,60 @@
+
+# Copyright (c) <current-year> <your-organization>
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+AUTOMAKE_OPTIONS = foreign subdir-objects
+
+AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir}
+AM_LDFLAGS = -module -shared -avoid-version
+SUFFIXES = .api.h .api .api.json
+API_FILES =
+BUILT_SOURCES =
+vppplugins_LTLIBRARIES =
+vppapitestplugins_LTLIBRARIES =
+noinst_HEADERS =
+
+vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins
+vpppluginsdir = ${libdir}/vpp_plugins
+
+if ENABLE_FLOWPERPKT_PLUGIN
+include flowperpkt.am
+endif
+
+if ENABLE_ILA_PLUGIN
+include ila.am
+endif
+
+if ENABLE_SIXRD_PLUGIN
+include sixrd.am
+endif
+
+include ../suffix-rules.mk
+
+# Remove *.la files
+install-data-hook:
+       @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
+       @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
+
+###############################################################################
+# API
+###############################################################################
+
+apidir = $(prefix)/share/vpp/api/plugins
+
+api_DATA = \
+       $(patsubst %.api,%.api.json,$(API_FILES))
+
+BUILT_SOURCES += \
+       $(patsubst %.api,%.api.json,$(API_FILES)) \
+       $(patsubst %.api,%.api.h,$(API_FILES))
+
diff --git a/src/plugins/flowperpkt.am b/src/plugins/flowperpkt.am
new file mode 100644 (file)
index 0000000..a400603
--- /dev/null
@@ -0,0 +1,38 @@
+
+# Copyright (c) <current-year> <your-organization>
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+vppplugins_LTLIBRARIES += flowperpkt_plugin.la
+vppapitestplugins_LTLIBRARIES += flowperpkt_test_plugin.la
+
+flowperpkt_plugin_la_SOURCES = flowperpkt/flowperpkt.c  \
+        flowperpkt/l2_node.c \
+        flowperpkt/node.c \
+       flowperpkt/flowperpkt_plugin.api.h
+
+BUILT_SOURCES +=                               \
+       flowperpkt/flowperpkt.api.h             \
+       flowperpkt/flowperpkt.api.json
+
+noinst_HEADERS +=                              \
+  flowperpkt/flowperpkt_all_api_h.h            \
+  flowperpkt/flowperpkt_msg_enum.h             \
+  flowperpkt/flowperpkt.api.h
+
+flowperpkt_test_plugin_la_SOURCES = \
+  flowperpkt/flowperpkt_test.c                 \
+  flowperpkt/flowperpkt_plugin.api.h
+
+API_FILES += flowperpkt/flowperpkt.api
+
+# vi:syntax=automake
similarity index 66%
rename from plugins/ila-plugin/Makefile.am
rename to src/plugins/ila.am
index fe785df..d900f3e 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall
-AM_LDFLAGS = -module -shared -avoid-version
-
-vpppluginsdir = ${libdir}/vpp_plugins
-
-vppplugins_LTLIBRARIES = ila_plugin.la
+vppplugins_LTLIBRARIES += ila_plugin.la
 
 ila_plugin_la_SOURCES = ila/ila.c
 
-noinst_HEADERS = ila/ila.h
+noinst_HEADERS += ila/ila.h
 
-# Remove *.la files
-install-data-hook:
-       @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
+# vi:syntax=automake
similarity index 70%
rename from plugins/sixrd-plugin/Makefile.am
rename to src/plugins/sixrd.am
index eb0d806..0de4508 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall
-AM_LDFLAGS = -module -shared -avoid-version
-
 libsixrd_plugin_la_SOURCES =                   \
        sixrd/sixrd.c                           \
        sixrd/sixrd_dpo.c                       \
        sixrd/ip4_sixrd.c                       \
        sixrd/ip6_sixrd.c
 
-noinst_HEADERS                               \
+noinst_HEADERS +=                              \
        sixrd/sixrd.h                           \
        sixrd/sixrd_dpo.h
 
-BUILT_SOURCES =
-
-vpppluginsdir = ${libdir}/vpp_plugins
-
-vppplugins_LTLIBRARIES = libsixrd_plugin.la
-
+vppplugins_LTLIBRARIES += libsixrd_plugin.la
 
-# Remove *.la files
-install-data-hook:
-       @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
+# vi:syntax=automake
similarity index 100%
rename from vnet/etc/scripts/arp4
rename to src/scripts/vnet/arp4
similarity index 100%
rename from vnet/etc/scripts/arp6
rename to src/scripts/vnet/arp6
similarity index 100%
rename from vnet/etc/scripts/bvi
rename to src/scripts/vnet/bvi
similarity index 100%
rename from vnet/etc/scripts/icmp
rename to src/scripts/vnet/icmp
similarity index 100%
rename from vnet/etc/scripts/ige
rename to src/scripts/vnet/ige
similarity index 100%
rename from vnet/etc/scripts/ip6
rename to src/scripts/vnet/ip6
similarity index 100%
rename from vnet/etc/scripts/ixge
rename to src/scripts/vnet/ixge
similarity index 100%
rename from vnet/etc/scripts/l2tp
rename to src/scripts/vnet/l2tp
similarity index 100%
rename from vnet/etc/scripts/pcap
rename to src/scripts/vnet/pcap
similarity index 100%
rename from vnet/etc/scripts/rpf
rename to src/scripts/vnet/rpf
similarity index 100%
rename from vnet/etc/scripts/snat
rename to src/scripts/vnet/snat
similarity index 100%
rename from vnet/etc/scripts/srp
rename to src/scripts/vnet/srp
similarity index 100%
rename from vnet/etc/scripts/tcp
rename to src/scripts/vnet/tcp
similarity index 100%
rename from vnet/etc/scripts/urpf
rename to src/scripts/vnet/urpf
similarity index 100%
rename from vnet/etc/scripts/vlan
rename to src/scripts/vnet/vlan
similarity index 57%
rename from svm/Makefile.am
rename to src/svm.am
index 490e27b..d91eaa2 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign
+bin_PROGRAMS += svmtool svmdbtool
 
-bin_PROGRAMS = svmtool svmdbtool
+nobase_include_HEADERS += svm/svm.h svm/ssvm.h svm/svmdb.h
 
-AM_CFLAGS = -Wall
+libsvmdir = ${libdir}
+libsvm_LTLIBRARIES = libsvm.la libsvmdb.la
 
-nobase_include_HEADERS = svm.h ssvm.h svmdb.h
+libsvm_la_SOURCES = svm/svm.c svm/ssvm.c
 
-lib_LTLIBRARIES = libsvm.la libsvmdb.la
+svmtool_SOURCES = svm/svmtool.c
+svmtool_LDADD = libsvm.la libvppinfra.la -lpthread -lrt
 
-libsvm_la_SOURCES = svm.c ssvm.c
+libsvmdb_la_SOURCES = svm/svmdb.c
 
-svmtool_LDADD = libsvm.la -lvppinfra -lpthread -lrt
+svmdbtool_SOURCES = svm/svmdbtool.c
+svmdbtool_LDADD = libsvmdb.la libsvm.la libvppinfra.la -lpthread -lrt
 
-libsvmdb_la_SOURCES = svmdb.c
-
-svmdbtool_LDADD = libsvmdb.la libsvm.la -lvppinfra -lpthread -lrt
+# vi:syntax=automake
similarity index 100%
rename from svm/dir.dox
rename to src/svm/dir.dox
similarity index 100%
rename from svm/persist.c
rename to src/svm/persist.c
similarity index 100%
rename from svm/ssvm.c
rename to src/svm/ssvm.c
similarity index 100%
rename from svm/ssvm.h
rename to src/svm/ssvm.h
similarity index 100%
rename from svm/svm.c
rename to src/svm/svm.c
similarity index 100%
rename from svm/svm.h
rename to src/svm/svm.h
similarity index 100%
rename from svm/svm_test.c
rename to src/svm/svm_test.c
similarity index 100%
rename from svm/svmdb.c
rename to src/svm/svmdb.c
similarity index 100%
rename from svm/svmdb.h
rename to src/svm/svmdb.h
similarity index 100%
rename from svm/svmdbtool.c
rename to src/svm/svmdbtool.c
similarity index 100%
rename from svm/svmtool.c
rename to src/svm/svmtool.c
similarity index 100%
rename from vnet/test/README
rename to src/tests/vnet/README
similarity index 99%
rename from vnet/test/lisp-cp/test_cp_serdes.c
rename to src/tests/vnet/lisp-cp/test_cp_serdes.c
index 5343d0e..9d51dc8 100644 (file)
 #include <vlibapi/api.h>
 #include <vnet/lisp-cp/packets.h>
 
+/* FIXME */
+#include <vlibapi/api_helper_macros.h>
+vpe_api_main_t vpe_api_main;
+
 #define _assert(e)                    \
   error = CLIB_ERROR_ASSERT (e);      \
   if (error)                          \
similarity index 99%
rename from vnet/test/lisp-cp/test_lisp_types.c
rename to src/tests/vnet/lisp-cp/test_lisp_types.c
index 8aa9d41..5d910f6 100644 (file)
 #include <vnet/lisp-cp/lisp_types.h>
 #include <vnet/lisp-cp/lisp_cp_messages.h>
 
+/* FIXME */
+#include <vlibapi/api_helper_macros.h>
+vpe_api_main_t vpe_api_main;
+
 #define _assert(e)                    \
   error = CLIB_ERROR_ASSERT (e);      \
   if (error)                          \
similarity index 98%
rename from g2/clib.c
rename to src/tools/g2/clib.c
index d0cd619..6454c84 100644 (file)
--- a/g2/clib.c
@@ -107,7 +107,7 @@ int read_clib_file(char *clib_file)
         }
         vec_add2(bound_tracks, btp, 1);
         btp->track = track_code;
-        btp->track_str = t->name;
+        btp->track_str = (u8 *) t->name;
         hash_set(the_trackdef_hash, track_code, btp - bound_tracks);
 
         track_strlen = strlen((char *)btp->track_str);
similarity index 100%
rename from g2/configure.ac
rename to src/tools/g2/configure.ac
similarity index 100%
rename from g2/cpel.c
rename to src/tools/g2/cpel.c
similarity index 100%
rename from g2/cpel.h
rename to src/tools/g2/cpel.h
similarity index 100%
rename from g2/events.c
rename to src/tools/g2/events.c
similarity index 100%
rename from g2/g2.h
rename to src/tools/g2/g2.h
similarity index 100%
rename from g2/g2version.c
rename to src/tools/g2/g2version.c
similarity index 100%
rename from g2/main.c
rename to src/tools/g2/main.c
similarity index 100%
rename from g2/menu1.c
rename to src/tools/g2/menu1.c
similarity index 100%
rename from g2/mkversion.c
rename to src/tools/g2/mkversion.c
similarity index 100%
rename from g2/pointsel.c
rename to src/tools/g2/pointsel.c
similarity index 100%
rename from g2/props.c
rename to src/tools/g2/props.c
similarity index 100%
rename from g2/props.h
rename to src/tools/g2/props.h
similarity index 100%
rename from g2/view1.c
rename to src/tools/g2/view1.c
similarity index 100%
rename from perftool/cpel.h
rename to src/tools/perftool/cpel.h
similarity index 99%
rename from perftool/cpelatency.c
rename to src/tools/perftool/cpelatency.c
index f40a1fb..7b87d60 100644 (file)
@@ -618,7 +618,7 @@ int track_compare_name (const void *arg1, const void *arg2)
 
 void sort_state_statistics(sort_t type, FILE *ofp)
 {
-    int (*compare)(const void *, const void *);
+    int (*compare)(const void *, const void *) = 0;
 
     if (summary_stats_only)
         return;
similarity index 100%
rename from perftool/props.c
rename to src/tools/perftool/props.c
similarity index 100%
rename from vppapigen/gram.y
rename to src/tools/vppapigen/gram.y
similarity index 99%
rename from vppapigen/lex.c
rename to src/tools/vppapigen/lex.c
index e807d46..733942a 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "lex.h"
 #include "node.h"
-#include "gram.h"
+#include "tools/vppapigen/gram.h"
 
 FILE *ifp, *ofp, *pythonfp, *jsonfp;
 char *vlib_app_name = "vpp";
similarity index 97%
rename from vppapigen/lex.h
rename to src/tools/vppapigen/lex.h
index e9b0954..a0fdc73 100644 (file)
@@ -29,7 +29,7 @@ extern int yyparse (void);
 #define YYSTYPE void *
 #endif
 
-#include "gram.h"
+#include "tools/vppapigen/gram.h"
 
 enum lex_state {
     START_STATE = 1,
similarity index 99%
rename from vppapigen/node.c
rename to src/tools/vppapigen/node.c
index abb909a..260c6f2 100644 (file)
@@ -344,7 +344,7 @@ void node_define_print (node_t *this)
 
 void node_define_generate (node_t *this, enum passid which, FILE *fp)
 {
-    node_t *child, *save_child;
+    node_t *child;
 
     switch(which) {
     case TYPEDEF_PASS:
@@ -945,10 +945,6 @@ YYSTYPE add_defbody (YYSTYPE a1, YYSTYPE a2)
 
 YYSTYPE add_primtype (YYSTYPE a1, YYSTYPE a2, YYSTYPE a3)
 {
-    node_t *np1;
-
-    np1 = (node_t *)a1;
-    
     /* Hook instance to type node */
     deeper (a1, a2);
     if (a3) {
similarity index 100%
rename from vppapigen/node.h
rename to src/tools/vppapigen/node.h
similarity index 99%
rename from vpp-api-test/vat/api_format.c
rename to src/vat/api_format.c
index a864ab2..e6c0f24 100644 (file)
@@ -17,7 +17,7 @@
  *------------------------------------------------------------------
  */
 
-#include "vat.h"
+#include <vat/vat.h>
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
 #include <vlibsocket/api.h>
@@ -30,7 +30,7 @@
 #include <vnet/vxlan-gpe/vxlan_gpe.h>
 #include <vnet/lisp-gpe/lisp_gpe.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 #include <vnet/l2/l2_classify.h>
 #include <vnet/l2/l2_vtr.h>
 #include <vnet/classify/input_acl.h>
 #include <vnet/policer/policer.h>
 #include <vnet/policer/police.h>
 
+#include "vat/json_format.h"
+
 #include <inttypes.h>
 #include <sys/stat.h>
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 /* declare message handlers for each api */
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 static uword
similarity index 99%
rename from vpp-api-test/vat/main.c
rename to src/vat/main.c
index 34492e2..e01d15e 100644 (file)
@@ -18,6 +18,9 @@
 
 vat_main_t vat_main;
 
+#include <vlibapi/api_helper_macros.h>
+vpe_api_main_t vpe_api_main;
+
 void
 vat_suspend (vlib_main_t * vm, f64 interval)
 {
similarity index 100%
rename from vpp-api-test/vat/plugin.c
rename to src/vat/plugin.c
similarity index 100%
rename from vpp-api-test/vat/plugin.h
rename to src/vat/plugin.h
similarity index 99%
rename from vpp-api-test/vat/restart.c
rename to src/vat/restart.c
index adc63f8..adeee00 100644 (file)
@@ -23,7 +23,7 @@
 #include <vppinfra/clib.h>
 #include <vppinfra/vec.h>
 #include <vppinfra/hash.h>
-#include <svmdb.h>
+#include <svm/svmdb.h>
 #include <vppinfra/format.h>
 #include <vppinfra/error.h>
 #include <vppinfra/time.h>
similarity index 99%
rename from vpp-api-test/vat/vat.h
rename to src/vat/vat.h
index 01f7551..64be2f7 100644 (file)
@@ -28,7 +28,7 @@
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
 
-#include "json_format.h"
+#include "vat/json_format.h"
 
 #include <vlib/vlib.h>
 
similarity index 73%
rename from vlib-api/Makefile.am
rename to src/vlib-api.am
index d9f4a27..80eb760 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall
-
-lib_LTLIBRARIES = libvlibapi.la libvlibmemory.la libvlibmemoryclient.la \
-                 libvlibsocket.la
+lib_LTLIBRARIES += libvlibapi.la libvlibmemory.la libvlibmemoryclient.la \
+                  libvlibsocket.la
 
 libvlibapi_la_SOURCES =                        \
        vlibapi/api.h                           \
@@ -24,7 +20,7 @@ libvlibapi_la_SOURCES =                       \
        vlibapi/api_shared.c                    \
        vlibapi/node_serialize.c
 
-nobase_include_HEADERS = vlibapi/api.h vlibapi/api_helper_macros.h
+nobase_include_HEADERS += vlibapi/api.h vlibapi/api_helper_macros.h
 
 libvlibmemory_la_SOURCES =                     \
        vlibmemory/api.h                        \
@@ -34,7 +30,7 @@ libvlibmemory_la_SOURCES =                    \
        vlibmemory/vl_memory_api_h.h            \
        vlibmemory/vl_memory_msg_enum.h         \
        vlibmemory/unix_shared_memory_queue.c   \
-       vlibmemory/unix_shared_memory_queue.h 
+       vlibmemory/unix_shared_memory_queue.h
 
 libvlibmemoryclient_la_SOURCES =               \
        vlibmemory/api.h                        \
@@ -44,7 +40,7 @@ libvlibmemoryclient_la_SOURCES =              \
        vlibmemory/vl_memory_api_h.h            \
        vlibmemory/vl_memory_msg_enum.h         \
        vlibmemory/unix_shared_memory_queue.c   \
-       vlibmemory/unix_shared_memory_queue.h 
+       vlibmemory/unix_shared_memory_queue.h
 
 nobase_include_HEADERS +=                      \
        vlibmemory/api.h                        \
@@ -67,18 +63,11 @@ nobase_include_HEADERS +=                   \
        vlibsocket/vl_socket_msg_enum.h         \
        vlibsocket/sockclnt.api.h
 
-BUILT_SOURCES                                        \
+BUILT_SOURCES +=                                       \
        vlibsocket/sockclnt.api.h               \
        vlibmemory/memclnt.api.h                \
        vlibmemory/memclnt.api.json
 
-SUFFIXES = .api.h .api .api.json
-
-# The actual %.api.h rule is in .../build-data/packages/suffix-rules.mk
-# and requires a symbolic link at the top of the vnet source tree
-
-include $(top_srcdir)/suffix-rules.mk
+API_FILES += vlibmemory/memclnt.api
 
-# install the API definition, so we can produce java bindings, etc.
-apidir = $(prefix)/vlibmemory
-api_DATA = vlibmemory/memclnt.api.json
+# vi:syntax=automake
similarity index 84%
rename from vlib/Makefile.am
rename to src/vlib.am
index 3da0a3a..2464076 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
 
-AM_CFLAGS = -Wall @DPDK@
+libvlibdir = ${libdir}
+libvlib_LTLIBRARIES = libvlib.la
+libvlib_la_LIBAD = libvppinfra.la
 
-PRE_DATA_SIZE=@PRE_DATA_SIZE@
-
-lib_LTLIBRARIES = libvlib.la
-
-BUILT_SOURCES = vlib/config.h
+BUILT_SOURCES += vlib/config.h
 
 vlib/config.h:
-       echo "#define __PRE_DATA_SIZE" $(PRE_DATA_SIZE) > $@
+       echo "#define __PRE_DATA_SIZE" @PRE_DATA_SIZE@ > $@
 
 libvlib_la_SOURCES =                           \
   vlib/buffer.c                                        \
@@ -45,7 +42,7 @@ libvlib_la_SOURCES =                          \
   vlib/threads_cli.c                           \
   vlib/trace.c
 
-nobase_include_HEADERS                       \
+nobase_include_HEADERS +=                      \
   vlib/buffer_funcs.h                          \
   vlib/buffer_node.h                           \
   vlib/buffer.h                                        \
@@ -72,7 +69,7 @@ nobase_include_HEADERS =                      \
   vlib/trace.h                                 \
   vlib/vlib.h
 
-lib_LTLIBRARIES += libvlib_unix.la
+libvlib_LTLIBRARIES += libvlib_unix.la
 
 libvlib_unix_la_SOURCES =                      \
   vlib/unix/cj.c                               \
@@ -93,12 +90,14 @@ nobase_include_HEADERS +=                   \
   vlib/unix/unix.h
     
 if !WITH_DPDK
-noinst_PROGRAMS = vlib_unix 
+noinst_PROGRAMS += vlib_unix
 
 vlib_unix_SOURCES =                            \
-  example/main_stub.c                          \
-  example/mc_test.c
+  examples/vlib/main_stub.c                    \
+  examples/vlib/mc_test.c
 
 vlib_unix_LDADD = libvlib_unix.la libvlib.la \
-                 -lvppinfra -lpthread -lm -ldl -lrt
+                 libvppinfra.la -lpthread -lm -ldl -lrt
 endif
+
+# vi:syntax=automake
similarity index 100%
rename from vlib/vlib/buffer.c
rename to src/vlib/buffer.c
similarity index 100%
rename from vlib/vlib/buffer.h
rename to src/vlib/buffer.h
similarity index 100%
rename from vlib/vlib/cli.c
rename to src/vlib/cli.c
similarity index 100%
rename from vlib/vlib/cli.h
rename to src/vlib/cli.h
similarity index 100%
rename from vlib/vlib/cli_funcs.h
rename to src/vlib/cli_funcs.h
similarity index 100%
rename from vlib/vlib/counter.c
rename to src/vlib/counter.c
similarity index 100%
rename from vlib/vlib/counter.h
rename to src/vlib/counter.h
similarity index 100%
rename from vlib/vlib/defs.h
rename to src/vlib/defs.h
similarity index 100%
rename from vlib/vlib/dir.dox
rename to src/vlib/dir.dox
similarity index 100%
rename from vlib/vlib/error.c
rename to src/vlib/error.c
similarity index 100%
rename from vlib/vlib/error.h
rename to src/vlib/error.h
similarity index 100%
rename from vlib/vlib/format.c
rename to src/vlib/format.c
similarity index 100%
rename from vlib/vlib/i2c.c
rename to src/vlib/i2c.c
similarity index 100%
rename from vlib/vlib/i2c.h
rename to src/vlib/i2c.h
similarity index 100%
rename from vlib/vlib/init.c
rename to src/vlib/init.c
similarity index 100%
rename from vlib/vlib/init.h
rename to src/vlib/init.h
similarity index 100%
rename from vlib/vlib/lex.c
rename to src/vlib/lex.c
similarity index 100%
rename from vlib/vlib/lex.h
rename to src/vlib/lex.h
similarity index 100%
rename from vlib/vlib/main.c
rename to src/vlib/main.c
similarity index 100%
rename from vlib/vlib/main.h
rename to src/vlib/main.h
similarity index 100%
rename from vlib/vlib/mc.c
rename to src/vlib/mc.c
similarity index 100%
rename from vlib/vlib/mc.h
rename to src/vlib/mc.h
similarity index 100%
rename from vlib/vlib/node.c
rename to src/vlib/node.c
similarity index 100%
rename from vlib/vlib/node.h
rename to src/vlib/node.h
similarity index 100%
rename from vlib/vlib/node_cli.c
rename to src/vlib/node_cli.c
similarity index 100%
rename from vlib/vlib/node_funcs.h
rename to src/vlib/node_funcs.h
similarity index 100%
rename from vlib/vlib/parse.c
rename to src/vlib/parse.c
similarity index 100%
rename from vlib/vlib/parse.h
rename to src/vlib/parse.h
similarity index 100%
rename from vlib/vlib/pci/pci.c
rename to src/vlib/pci/pci.c
similarity index 100%
rename from vlib/vlib/pci/pci.h
rename to src/vlib/pci/pci.h
similarity index 100%
rename from vlib/vlib/physmem.h
rename to src/vlib/physmem.h
similarity index 100%
rename from vlib/vlib/threads.c
rename to src/vlib/threads.c
similarity index 100%
rename from vlib/vlib/threads.h
rename to src/vlib/threads.h
similarity index 100%
rename from vlib/vlib/trace.c
rename to src/vlib/trace.c
similarity index 100%
rename from vlib/vlib/trace.h
rename to src/vlib/trace.h
similarity index 100%
rename from vlib/vlib/unix/cj.c
rename to src/vlib/unix/cj.c
similarity index 100%
rename from vlib/vlib/unix/cj.h
rename to src/vlib/unix/cj.h
similarity index 100%
rename from vlib/vlib/unix/cli.c
rename to src/vlib/unix/cli.c
similarity index 100%
rename from vlib/vlib/unix/dir.dox
rename to src/vlib/unix/dir.dox
similarity index 100%
rename from vlib/vlib/unix/input.c
rename to src/vlib/unix/input.c
similarity index 100%
rename from vlib/vlib/unix/main.c
rename to src/vlib/unix/main.c
similarity index 100%
rename from vlib/vlib/unix/unix.h
rename to src/vlib/unix/unix.h
similarity index 100%
rename from vlib/vlib/unix/util.c
rename to src/vlib/unix/util.c
similarity index 100%
rename from vlib/vlib/vlib.h
rename to src/vlib/vlib.h
similarity index 99%
rename from vlib-api/vlibapi/api.h
rename to src/vlibapi/api.h
index 6274533..970a0ee 100644 (file)
@@ -21,7 +21,7 @@
 #define included_api_h
 
 #include <vppinfra/error.h>
-#include <svm.h>
+#include <svm/svm.h>
 #include <vlib/vlib.h>
 #include <vlibmemory/unix_shared_memory_queue.h>
 #include <vlib/unix/unix.h>
similarity index 99%
rename from vlib-api/vlibmemory/api.h
rename to src/vlibmemory/api.h
index f1f8bb7..54a0a00 100644 (file)
@@ -21,7 +21,7 @@
 #define included_vlibmemory_api_h
 
 #include <vppinfra/error.h>
-#include <svm.h>
+#include <svm/svm.h>
 #include <vlib/vlib.h>
 #include <vlibmemory/unix_shared_memory_queue.h>
 #include <vlib/unix/unix.h>
similarity index 94%
rename from vnet/Makefile.am
rename to src/vnet.am
index adc9043..0323348 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall -Werror @DPDK@ @DPDK_CRYPTO@ @IPSEC@ @IPV6SR@
-
-API_FILES =
-
 libvnet_la_SOURCES =
 libvnetplugin_la_SOURCES =
-nobase_include_HEADERS =
-noinst_PROGRAMS =
-TESTS =
 
-dpdk_libs =
-if WITH_DPDK
-dpdk_libs += -l:libdpdk.a
-endif
+libvnet_la_LIBAD = libvppinfra.la libvlib.la libsvm.la
 
 ########################################
 # Generic stuff
@@ -451,7 +439,7 @@ test_map_SOURCES =                             \
  vnet/map/test.c
 test_map_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
 
-test_map_LDADD = libvnet.la -lvppinfra -lvlib  \
+test_map_LDADD = libvnet.la libvppinfra.la libvlib.la  \
   -lpthread -lvlibmemory -lvlibapi -lvlib_unix \
   -ldl -lsvm -lrt
 
@@ -574,30 +562,37 @@ nobase_include_HEADERS +=                 \
 API_FILES += vnet/lisp-cp/lisp.api
 
 if ENABLE_TESTS
-LDS = -lvppinfra -l:libvlib.a $(dpdk_libs) -l:libvlibmemory.a \
-       -l:libvlibapi.a -l:libsvm.a -lpthread -ldl -lrt -lm -l:libvlib_unix.a
+LDS = \
+  libvppinfra.la \
+  libvnet.la \
+  libvlib.la  \
+  libvlib_unix.la \
+  libsvm.la \
+  libsvmdb.la \
+  libvlibapi.la \
+  libvlibmemory.la \
+  -lpthread -ldl -lrt -lm -lcrypto
 
 TESTS += test_cp_serdes test_lisp_types
 
 test_cp_serdes_SOURCES =                       \
- test/lisp-cp/test_cp_serdes.c                 \
+ tests/vnet/lisp-cp/test_cp_serdes.c           \
  vnet/lisp-cp/lisp_msg_serdes.c                        \
  vnet/lisp-cp/lisp_types.c                     \
  vnet/lisp-cp/packets.c                                \
  vnet/ip/ip_checksum.c
 
 test_lisp_types_SOURCES =                      \
- test/lisp-cp/test_lisp_types.c                        \
+ tests/vnet/lisp-cp/test_lisp_types.c          \
  vnet/lisp-cp/lisp_types.c
 
 test_cp_serdes_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
 test_lisp_types_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
 
-test_cp_serdes_LDADD = libvnet.la $(LDS)
-test_lisp_types_LDADD = libvnet.la $(LDS)
-
-test_cp_serdes_LDFLAGS = -static
-test_lisp_types_LDFLAGS = -static
+test_cp_serdes_LDFLAGS = $(DPDK_LD_FLAGS)
+test_cp_serdes_LDADD = $(LDS) $(DPDK_LD_ADD)
+test_lisp_types_LDFLAGS = $(DPDK_LD_FLAGS)
+test_lisp_types_LDADD = $(LDS) $(DPDK_LD_ADD)
 endif
 
 ########################################
@@ -628,14 +623,14 @@ API_FILES += vnet/lisp-gpe/lisp_gpe.api
 if ENABLE_TESTS
 TESTS += test_test
 
-test_test_SOURCES = test/lisp-gpe/test.c
+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)
+check_PROGRAMS += $(TESTS)
 endif
 
 ########################################
@@ -962,32 +957,16 @@ libvnetplugin_la_SOURCES +=                    \
 nobase_include_HEADERS +=                      \
   vnet/plugin/plugin.h
 
-lib_LTLIBRARIES = libvnet.la libvnetplugin.la
+libvnetdir = ${libdir}
+libvnet_LTLIBRARIES = libvnet.la libvnetplugin.la
 
 pcap2pg_SOURCES =                              \
   vnet/unix/pcap2pg.c                          \
   vnet/unix/pcap.h
 
 pcap2pg_LDFLAGS = -static
-pcap2pg_LDADD = libvnet.la -l:libvppinfra.a -lpthread -lm -ldl
+pcap2pg_LDADD = libvnet.la libvppinfra.la -lpthread libvlibmemory.la -lm -ldl
 
 noinst_PROGRAMS += pcap2pg
 
-# Set the suffix list
-SUFFIXES = .api.h .api .api.json
-
-# install the API definition, so we can produce java bindings, etc.
-
-apidir = $(prefix)/vnet
-
-api_DATA = \
-       $(patsubst %.api,%.api.json,$(API_FILES))
-
-BUILT_SOURCES = \
-       $(patsubst %.api,%.api.json,$(API_FILES)) \
-       $(patsubst %.api,%.api.h,$(API_FILES))
-
-# The actual %.api.h rule is in .../build-data/packages/suffix-rules.mk
-# and requires a symbolic link at the top of the vnet source tree
-
-include $(top_srcdir)/suffix-rules.mk
+# vi:syntax=automake
similarity index 100%
rename from vnet/vnet/adj/adj.c
rename to src/vnet/adj/adj.c
similarity index 100%
rename from vnet/vnet/adj/adj.h
rename to src/vnet/adj/adj.h
similarity index 100%
rename from vnet/vnet/adj/adj_l2.c
rename to src/vnet/adj/adj_l2.c
similarity index 100%
rename from vnet/vnet/adj/adj_l2.h
rename to src/vnet/adj/adj_l2.h
similarity index 100%
rename from vnet/vnet/api_errno.h
rename to src/vnet/api_errno.h
similarity index 100%
rename from vnet/vnet/bfd/bfd.api
rename to src/vnet/bfd/bfd.api
similarity index 100%
rename from vnet/vnet/bfd/dir.dox
rename to src/vnet/bfd/dir.dox
similarity index 100%
rename from vnet/vnet/buffer.h
rename to src/vnet/buffer.h
similarity index 100%
rename from vnet/vnet/cdp/cdp.pg
rename to src/vnet/cdp/cdp.pg
similarity index 100%
rename from vnet/vnet/config.c
rename to src/vnet/config.c
similarity index 100%
rename from vnet/vnet/config.h
rename to src/vnet/config.h
similarity index 100%
rename from vnet/vnet/cop/cop.c
rename to src/vnet/cop/cop.c
similarity index 100%
rename from vnet/vnet/cop/cop.h
rename to src/vnet/cop/cop.h
similarity index 100%
rename from vnet/vnet/cop/node1.c
rename to src/vnet/cop/node1.c
similarity index 99%
rename from vnet/vnet/devices/ssvm/ssvm_eth.h
rename to src/vnet/devices/ssvm/ssvm_eth.h
index ac611f4..f877df3 100644 (file)
@@ -30,7 +30,7 @@
 #include <vnet/pg/pg.h>
 #include <vlibmemory/unix_shared_memory_queue.h>
 
-#include <ssvm.h>
+#include <svm/ssvm.h>
 
 extern vnet_device_class_t ssvm_eth_device_class;
 extern vlib_node_registration_t ssvm_eth_input_node;
similarity index 100%
rename from vnet/vnet/dhcp/proxy.h
rename to src/vnet/dhcp/proxy.h
similarity index 100%
rename from vnet/vnet/dpo/dpo.c
rename to src/vnet/dpo/dpo.c
similarity index 100%
rename from vnet/vnet/dpo/dpo.h
rename to src/vnet/dpo/dpo.h
similarity index 100%
rename from vnet/vnet/fib/fib.c
rename to src/vnet/fib/fib.c
similarity index 100%
rename from vnet/vnet/fib/fib.h
rename to src/vnet/fib/fib.h
similarity index 100%
rename from vnet/vnet/gre/gre.api
rename to src/vnet/gre/gre.api
similarity index 100%
rename from vnet/vnet/gre/gre.c
rename to src/vnet/gre/gre.c
similarity index 100%
rename from vnet/vnet/gre/gre.h
rename to src/vnet/gre/gre.h
similarity index 100%
rename from vnet/vnet/gre/node.c
rename to src/vnet/gre/node.c
similarity index 100%
rename from vnet/vnet/gre/packet.h
rename to src/vnet/gre/packet.h
similarity index 100%
rename from vnet/vnet/gre/pg.c
rename to src/vnet/gre/pg.c
similarity index 100%
rename from vnet/vnet/handoff.c
rename to src/vnet/handoff.c
similarity index 100%
rename from vnet/vnet/handoff.h
rename to src/vnet/handoff.h
similarity index 100%
rename from vnet/vnet/hdlc/hdlc.c
rename to src/vnet/hdlc/hdlc.c
similarity index 100%
rename from vnet/vnet/hdlc/hdlc.h
rename to src/vnet/hdlc/hdlc.h
similarity index 100%
rename from vnet/vnet/hdlc/node.c
rename to src/vnet/hdlc/node.c
similarity index 100%
rename from vnet/vnet/hdlc/pg.c
rename to src/vnet/hdlc/pg.c
similarity index 100%
rename from vnet/vnet/interface.c
rename to src/vnet/interface.c
similarity index 100%
rename from vnet/vnet/interface.h
rename to src/vnet/interface.h
similarity index 100%
rename from vnet/vnet/ip/dir.dox
rename to src/vnet/ip/dir.dox
similarity index 100%
rename from vnet/vnet/ip/format.c
rename to src/vnet/ip/format.c
similarity index 100%
rename from vnet/vnet/ip/format.h
rename to src/vnet/ip/format.h
similarity index 100%
rename from vnet/vnet/ip/icmp4.c
rename to src/vnet/ip/icmp4.c
similarity index 100%
rename from vnet/vnet/ip/icmp4.h
rename to src/vnet/ip/icmp4.h
similarity index 100%
rename from vnet/vnet/ip/icmp6.c
rename to src/vnet/ip/icmp6.c
similarity index 100%
rename from vnet/vnet/ip/icmp6.h
rename to src/vnet/ip/icmp6.h
similarity index 100%
rename from vnet/vnet/ip/ip.api
rename to src/vnet/ip/ip.api
similarity index 100%
rename from vnet/vnet/ip/ip.h
rename to src/vnet/ip/ip.h
similarity index 100%
rename from vnet/vnet/ip/ip4.h
rename to src/vnet/ip/ip4.h
similarity index 100%
rename from vnet/vnet/ip/ip4_pg.c
rename to src/vnet/ip/ip4_pg.c
similarity index 100%
rename from vnet/vnet/ip/ip6.h
rename to src/vnet/ip/ip6.h
similarity index 100%
rename from vnet/vnet/ip/ip6_pg.c
rename to src/vnet/ip/ip6_pg.c
similarity index 100%
rename from vnet/vnet/ip/ip_api.c
rename to src/vnet/ip/ip_api.c
similarity index 100%
rename from vnet/vnet/ip/ip_frag.c
rename to src/vnet/ip/ip_frag.c
similarity index 100%
rename from vnet/vnet/ip/ip_frag.h
rename to src/vnet/ip/ip_frag.h
similarity index 100%
rename from vnet/vnet/ip/ip_init.c
rename to src/vnet/ip/ip_init.c
similarity index 100%
rename from vnet/vnet/ip/lookup.c
rename to src/vnet/ip/lookup.c
similarity index 100%
rename from vnet/vnet/ip/lookup.h
rename to src/vnet/ip/lookup.h
similarity index 100%
rename from vnet/vnet/ip/ping.c
rename to src/vnet/ip/ping.c
similarity index 100%
rename from vnet/vnet/ip/ping.h
rename to src/vnet/ip/ping.h
similarity index 100%
rename from vnet/vnet/ip/ports.def
rename to src/vnet/ip/ports.def
similarity index 100%
rename from vnet/vnet/ip/punt.c
rename to src/vnet/ip/punt.c
similarity index 100%
rename from vnet/vnet/ip/punt.h
rename to src/vnet/ip/punt.h
similarity index 100%
rename from vnet/vnet/ip/udp.h
rename to src/vnet/ip/udp.h
similarity index 100%
rename from vnet/vnet/ip/udp_pg.c
rename to src/vnet/ip/udp_pg.c
similarity index 100%
rename from vnet/vnet/ipsec/esp.h
rename to src/vnet/ipsec/esp.h
similarity index 100%
rename from vnet/vnet/l2/dir.dox
rename to src/vnet/l2/dir.dox
similarity index 100%
rename from vnet/vnet/l2/l2.api
rename to src/vnet/l2/l2.api
similarity index 100%
rename from vnet/vnet/l2/l2_api.c
rename to src/vnet/l2/l2_api.c
similarity index 100%
rename from vnet/vnet/l2/l2_bd.c
rename to src/vnet/l2/l2_bd.c
similarity index 100%
rename from vnet/vnet/l2/l2_bd.h
rename to src/vnet/l2/l2_bd.h
similarity index 100%
rename from vnet/vnet/l2/l2_bvi.c
rename to src/vnet/l2/l2_bvi.c
similarity index 100%
rename from vnet/vnet/l2/l2_bvi.h
rename to src/vnet/l2/l2_bvi.h
similarity index 100%
rename from vnet/vnet/l2/l2_fib.c
rename to src/vnet/l2/l2_fib.c
similarity index 100%
rename from vnet/vnet/l2/l2_fib.h
rename to src/vnet/l2/l2_fib.h
similarity index 100%
rename from vnet/vnet/l2/l2_fwd.c
rename to src/vnet/l2/l2_fwd.c
similarity index 100%
rename from vnet/vnet/l2/l2_fwd.h
rename to src/vnet/l2/l2_fwd.h
similarity index 100%
rename from vnet/vnet/l2/l2_rw.c
rename to src/vnet/l2/l2_rw.c
similarity index 100%
rename from vnet/vnet/l2/l2_rw.h
rename to src/vnet/l2/l2_rw.h
similarity index 100%
rename from vnet/vnet/l2/l2_vtr.c
rename to src/vnet/l2/l2_vtr.c
similarity index 100%
rename from vnet/vnet/l2/l2_vtr.h
rename to src/vnet/l2/l2_vtr.h
similarity index 100%
rename from vnet/vnet/l2/l2_xcrw.c
rename to src/vnet/l2/l2_xcrw.c
similarity index 100%
rename from vnet/vnet/l2/l2_xcrw.h
rename to src/vnet/l2/l2_xcrw.h
similarity index 100%
rename from vnet/vnet/l2tp/decap.c
rename to src/vnet/l2tp/decap.c
similarity index 100%
rename from vnet/vnet/l2tp/encap.c
rename to src/vnet/l2tp/encap.c
similarity index 100%
rename from vnet/vnet/l2tp/l2tp.c
rename to src/vnet/l2tp/l2tp.c
similarity index 100%
rename from vnet/vnet/l2tp/l2tp.h
rename to src/vnet/l2tp/l2tp.h
similarity index 100%
rename from vnet/vnet/l2tp/pg.c
rename to src/vnet/l2tp/pg.c
similarity index 100%
rename from vnet/vnet/l3_types.h
rename to src/vnet/l3_types.h
similarity index 100%
rename from vnet/vnet/llc/llc.c
rename to src/vnet/llc/llc.c
similarity index 100%
rename from vnet/vnet/llc/llc.h
rename to src/vnet/llc/llc.h
similarity index 100%
rename from vnet/vnet/llc/node.c
rename to src/vnet/llc/node.c
similarity index 100%
rename from vnet/vnet/llc/pg.c
rename to src/vnet/llc/pg.c
similarity index 100%
rename from vnet/vnet/lldp/dir.dox
rename to src/vnet/lldp/dir.dox
similarity index 100%
rename from vnet/vnet/map/map.api
rename to src/vnet/map/map.api
similarity index 100%
rename from vnet/vnet/map/map.c
rename to src/vnet/map/map.c
similarity index 100%
rename from vnet/vnet/map/map.h
rename to src/vnet/map/map.h
similarity index 100%
rename from vnet/vnet/map/test.c
rename to src/vnet/map/test.c
similarity index 100%
rename from vnet/vnet/misc.c
rename to src/vnet/misc.c
similarity index 100%
rename from vnet/vnet/mpls/mpls.c
rename to src/vnet/mpls/mpls.c
similarity index 100%
rename from vnet/vnet/mpls/mpls.h
rename to src/vnet/mpls/mpls.h
similarity index 100%
rename from vnet/vnet/mpls/node.c
rename to src/vnet/mpls/node.c
similarity index 100%
rename from vnet/vnet/mpls/pg.c
rename to src/vnet/mpls/pg.c
similarity index 100%
rename from vnet/vnet/osi/node.c
rename to src/vnet/osi/node.c
similarity index 100%
rename from vnet/vnet/osi/osi.c
rename to src/vnet/osi/osi.c
similarity index 100%
rename from vnet/vnet/osi/osi.h
rename to src/vnet/osi/osi.h
similarity index 100%
rename from vnet/vnet/osi/pg.c
rename to src/vnet/osi/pg.c
similarity index 100%
rename from vnet/vnet/pg/cli.c
rename to src/vnet/pg/cli.c
similarity index 100%
rename from vnet/vnet/pg/edit.c
rename to src/vnet/pg/edit.c
similarity index 100%
rename from vnet/vnet/pg/edit.h
rename to src/vnet/pg/edit.h
similarity index 100%
rename from vnet/vnet/pg/init.c
rename to src/vnet/pg/init.c
similarity index 100%
rename from vnet/vnet/pg/input.c
rename to src/vnet/pg/input.c
similarity index 100%
rename from vnet/vnet/pg/output.c
rename to src/vnet/pg/output.c
similarity index 100%
rename from vnet/vnet/pg/pg.h
rename to src/vnet/pg/pg.h
similarity index 100%
rename from vnet/vnet/pg/stream.c
rename to src/vnet/pg/stream.c
similarity index 100%
rename from vnet/vnet/pipeline.h
rename to src/vnet/pipeline.h
similarity index 100%
rename from vnet/vnet/plugin/p1.c
rename to src/vnet/plugin/p1.c
similarity index 100%
rename from vnet/vnet/ppp/node.c
rename to src/vnet/ppp/node.c
similarity index 100%
rename from vnet/vnet/ppp/packet.h
rename to src/vnet/ppp/packet.h
similarity index 100%
rename from vnet/vnet/ppp/pg.c
rename to src/vnet/ppp/pg.c
similarity index 100%
rename from vnet/vnet/ppp/ppp.c
rename to src/vnet/ppp/ppp.c
similarity index 100%
rename from vnet/vnet/ppp/ppp.h
rename to src/vnet/ppp/ppp.h
similarity index 100%
rename from vnet/vnet/rewrite.c
rename to src/vnet/rewrite.c
similarity index 100%
rename from vnet/vnet/rewrite.h
rename to src/vnet/rewrite.h
similarity index 100%
rename from vnet/vnet/snap/node.c
rename to src/vnet/snap/node.c
similarity index 100%
rename from vnet/vnet/snap/pg.c
rename to src/vnet/snap/pg.c
similarity index 100%
rename from vnet/vnet/snap/snap.c
rename to src/vnet/snap/snap.c
similarity index 100%
rename from vnet/vnet/snap/snap.h
rename to src/vnet/snap/snap.h
similarity index 100%
rename from vnet/vnet/span/node.c
rename to src/vnet/span/node.c
similarity index 100%
rename from vnet/vnet/span/span.c
rename to src/vnet/span/span.c
similarity index 100%
rename from vnet/vnet/span/span.h
rename to src/vnet/span/span.h
similarity index 100%
rename from vnet/vnet/span/span.md
rename to src/vnet/span/span.md
similarity index 100%
rename from vnet/vnet/sr/dir.dox
rename to src/vnet/sr/dir.dox
similarity index 100%
rename from vnet/vnet/sr/sr.c
rename to src/vnet/sr/sr.c
similarity index 100%
rename from vnet/vnet/sr/sr.h
rename to src/vnet/sr/sr.h
similarity index 100%
rename from vnet/vnet/srp/format.c
rename to src/vnet/srp/format.c
similarity index 100%
rename from vnet/vnet/srp/node.c
rename to src/vnet/srp/node.c
similarity index 100%
rename from vnet/vnet/srp/packet.h
rename to src/vnet/srp/packet.h
similarity index 100%
rename from vnet/vnet/srp/pg.c
rename to src/vnet/srp/pg.c
similarity index 100%
rename from vnet/vnet/srp/srp.h
rename to src/vnet/srp/srp.h
similarity index 100%
rename from vnet/vnet/unix/pcap.c
rename to src/vnet/unix/pcap.c
similarity index 100%
rename from vnet/vnet/unix/pcap.h
rename to src/vnet/unix/pcap.h
similarity index 100%
rename from vnet/vnet/unix/tap.api
rename to src/vnet/unix/tap.api
similarity index 100%
rename from vnet/vnet/vnet.h
rename to src/vnet/vnet.h
diff --git a/src/vpp-api-test.am b/src/vpp-api-test.am
new file mode 100644 (file)
index 0000000..fe25f6e
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+libvatplugin_la_SOURCES = \
+  vat/plugin_api.c
+
+lib_LTLIBRARIES += libvatplugin.la
+
+bin_PROGRAMS += vpp_api_test vpp_json_test vpp_restart
+
+vpp_api_test_SOURCES = \
+  vat/api_format.c     \
+  vat/main.c           \
+  vat/plugin.c         \
+  vat/vat.h            \
+  vat/json_format.h    \
+  vat/json_format.c
+
+vpp_json_test_SOURCES = \
+  vat/json_format.h    \
+  vat/json_format.c    \
+  vat/json_test.c
+
+vpp_api_test_LDFLAGS = $(DPDK_LD_FLAGS)
+vpp_api_test_LDADD = \
+  libvlib.la \
+  libvlib_unix.la \
+  libvlibmemoryclient.la               \
+  libsvm.la                            \
+  libvatplugin.la                      \
+  libvppinfra.la                       \
+  libvlibapi.la                                \
+  libvlibmemory.la                     \
+  libvnet.la \
+  $(DPDK_LD_ADD)                       \
+  -lpthread -lm -lrt -ldl -lcrypto
+
+vpp_json_test_LDADD = libvppinfra.la -lm
+
+nobase_include_HEADERS += \
+  vat/vat.h            \
+  vat/json_format.h
+
+vpp_restart_SOURCES =  \
+  vat/restart.c
+vpp_restart_LDADD = \
+  libsvmdb.la                          \
+  libsvm.la                            \
+  libvppinfra.la                       \
+  -lpthread -lrt
+
+dist_bin_SCRIPTS += scripts/vppctl
+
+# vi:syntax=automake
similarity index 70%
rename from vpp-api/python/Makefile.am
rename to src/vpp-api/python/Makefile.am
index 2a57846..b8ca153 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
+AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
-AM_CFLAGS = -Wall
+AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir}
 
 BUILT_SOURCES =
 bin_PROGRAMS =
 CLEANFILES =
 lib_LTLIBRARIES =
-noinst_PROGRAMS = test_pneum
+noinst_PROGRAMS =
 nobase_include_HEADERS = pneum/pneum.h
 
 #
@@ -27,8 +27,13 @@ nobase_include_HEADERS = pneum/pneum.h
 #
 lib_LTLIBRARIES += libpneum.la
 libpneum_la_SOURCES = pneum/pneum.c
-libpneum_la_LIBADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra -lpthread \
-                     -lm -lrt
+libpneum_la_LIBADD = \
+  $(top_builddir)/libvppinfra.la \
+  $(top_builddir)/libvlibmemoryclient.la \
+  $(top_builddir)/libvlibapi.la \
+  $(top_builddir)/libsvm.la \
+  -lpthread -lm -lrt
+
 libpneum_la_LDFLAGS = -module
 libpneum_la_CPPFLAGS =
 
@@ -38,14 +43,18 @@ install-exec-local:
        mkdir -p $(prefix)/lib/python2.7/site-packages;                 \
        PYTHONUSERBASE=$(prefix)                                        \
        python setup.py build_ext -L $(prefix)/lib64 \
-       -I $(prefix)/../vppinfra/include/ install --user
+       -I $(prefix)/include/ install --user
 
 #
 # Test client
 #
 noinst_PROGRAMS += test_pneum
 test_pneum_SOURCES = pneum/pneum.c pneum/test_pneum.c
-test_pneum_LDADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra -lpthread \
-                   -lm -lrt
+test_pneum_LDADD = \
+  $(top_builddir)/libvppinfra.la \
+  $(top_builddir)/libvlibmemoryclient.la \
+  $(top_builddir)/libvlibapi.la \
+  $(top_builddir)/libsvm.la \
+  -lpthread -lm -lrt
 
 
diff --git a/src/vpp-api/python/README.rst b/src/vpp-api/python/README.rst
new file mode 100644 (file)
index 0000000..e69de29
similarity index 98%
rename from vpp-api/python/pneum/pneum.c
rename to src/vpp-api/python/pneum/pneum.c
index 6918cc9..b805f04 100644 (file)
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #include "pneum.h"
 
 #define vl_typedefs             /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun             /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 vlib_main_t vlib_global_main;
similarity index 98%
rename from vpp-api/python/pneum/test_pneum.c
rename to src/vpp-api/python/pneum/test_pneum.c
index e873114..0d55b8a 100644 (file)
 #include <vlibmemory/api.h>
 #include <vnet/ip/ip.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 #include <signal.h>
 #include <setjmp.h>
 #include "pneum.h"
 
 #define vl_typedefs             /* define message structures */
-#include <vpp-api/vpe_all_api_h.h> 
+#include <vpp/api/vpe_all_api_h.h> 
 #undef vl_typedefs
 
 /* we are not linking with vlib */
diff --git a/src/vpp.am b/src/vpp.am
new file mode 100644 (file)
index 0000000..a02206f
--- /dev/null
@@ -0,0 +1,159 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bin_PROGRAMS += bin/vpp
+
+bin_vpp_SOURCES =                              \
+  vpp/vnet/main.c                              \
+  vpp/app/vpe_cli.c                            \
+  vpp/app/version.c                            \
+  vpp/oam/oam.c                                        \
+  vpp/stats/stats.c
+
+bin_vpp_SOURCES +=                             \
+  vpp/api/api.c                                        \
+  vpp/api/custom_dump.c                                \
+  vpp/api/json_format.c
+
+if WITH_APICLI
+  bin_vpp_SOURCES +=                           \
+  vpp/api/api_format.c                         \
+  vpp/api/api_main.c
+endif
+
+# comment out to disable stats upload to gmond
+
+bin_vpp_CFLAGS = @APICLI@
+bin_vpp_SOURCES +=                             \
+  vpp/api/gmon.c
+
+nobase_include_HEADERS +=                      \
+  vpp/api/vpe_all_api_h.h                      \
+  vpp/api/vpe_msg_enum.h                       \
+  vpp/api/vpe.api.h
+
+API_FILES += vpp/api/vpe.api
+
+BUILT_SOURCES += vpp/app/version.h
+
+vpp/app/version.o:     vpp/app/version.h
+
+.PHONY:        vpp/app/version.h
+
+vpp/app/version.h:
+       @echo "  VERSION " $@
+       @echo "#define VPP_BUILD_DATE \"$$(date)\"" > $@
+       @echo "#define VPP_BUILD_USER \"$$(whoami)\"" >> $@
+       @echo "#define VPP_BUILD_HOST \"$$(hostname)\"" >> $@
+       @echo "#define VPP_BUILD_TOPDIR \"$$(git rev-parse --show-toplevel)\""  >> $@
+       @echo "#define VPP_BUILD_VER \"$$(../../scripts/version)\"" >> $@
+
+# Generate a plugin configuration script. Misconfiguring a
+# plugin can cause very subtle problems.
+
+bin_SCRIPTS = vpp_plugin_configure
+
+BUILT_SOURCES += vpp_plugin_configure
+
+.PHONY: vpp_plugin_configure
+
+if WITH_DPDK
+PLUGIN_DPDK_ARG="--with-dpdk"
+else
+PLUGIN_DPDK_ARG=""
+endif
+
+vpp_plugin_configure:
+       @echo "PLUGIN CONFIGURE " $@ 
+       @echo "#!/bin/bash" > $@
+       @echo " " >> $@
+       @echo "set +eu" >> $@
+       @echo " " >> $@
+       @echo "if [ -f ./configure ] ; then" >> $@
+       @echo "    CFLAGS='$(CFLAGS) $(AM_CFLAGS) -I/usr/include/vpp-dpdk' ./configure --with-plugin-toolkit $(PLUGIN_DPDK_ARG)" >> $@
+       @echo "else" >> $@
+       @echo "    if [ -f ../configure ] ; then" >> $@
+       @echo "        CFLAGS='$(CFLAGS) $(AM_CFLAGS) -I/usr/include/vpp-dpdk' ../configure --with-plugin-toolkit $(PLUGIN_DPDK_ARG)" >> $@
+       @echo "    else" >> $@
+       @echo "        echo Couldnt find ./configure or ../configure " >> $@
+       @echo "        exit 1" >> $@
+       @echo "    fi" >> $@
+       @echo "fi" >> $@
+
+bin_vpp_LDADD = \
+  libvlibapi.la \
+  libvlibmemory.la \
+  libvlib_unix.la \
+  libvlib.la \
+  libvnet.la \
+  libsvm.la \
+  libsvmdb.la \
+  libvnetplugin.la \
+  -lrt
+
+bin_vpp_LDFLAGS = $(DPDK_LD_FLAGS)
+bin_vpp_LDADD += libvppinfra.la -lm -lpthread -ldl $(DPDK_LD_ADD)
+
+if WITH_IPV6SR
+  bin_vpp_LDADD += -lcrypto
+endif
+
+noinst_PROGRAMS += bin/test_client
+
+bin_test_client_SOURCES = \
+  vpp/api/test_client.c
+
+bin_test_client_LDADD = \
+  libvlibmemoryclient.la \
+  libvlibapi.la \
+  libsvm.la \
+  libvppinfra.la \
+  -lpthread -lm -lrt
+
+noinst_PROGRAMS += bin/test_client bin/test_ha
+
+bin_test_ha_SOURCES = \
+  vpp/api/test_ha.c
+
+bin_test_ha_LDADD = \
+  libvlibmemoryclient.la \
+  libvlibapi.la \
+  libsvmdb.la \
+  libsvm.la \
+  libvppinfra.la \
+  -lpthread -lm -lrt
+
+noinst_PROGRAMS += bin/summary_stats_client
+
+bin_summary_stats_client_SOURCES = \
+  vpp/api/summary_stats_client.c
+
+bin_summary_stats_client_LDADD = \
+  libvlibmemoryclient.la \
+  libvlibapi.la \
+  libsvm.la \
+  libvppinfra.la \
+  -lpthread -lm -lrt
+
+bin_PROGRAMS += bin/vpp_get_metrics
+
+bin_vpp_get_metrics_SOURCES = \
+  vpp/api/vpp_get_metrics.c
+
+bin_vpp_get_metrics_LDADD = \
+  libsvmdb.la \
+  libsvm.la \
+  libvppinfra.la \
+  -lpthread -lm -lrt
+
+# vi:syntax=automake
similarity index 99%
rename from vpp/vpp-api/api.c
rename to src/vpp/api/api.c
index 0102260..6289249 100644 (file)
 #include <vnet/devices/dpdk/dpdk.h>
 #endif
 
-#include <stats/stats.h>
-#include <oam/oam.h>
+#include <vpp/stats/stats.h>
+#include <vpp/oam/oam.h>
+
 #include <vnet/ethernet/ethernet.h>
 #include <vnet/ethernet/arp_packet.h>
 #include <vnet/interface.h>
 #include <vnet/l2/l2_fib.h>
 #include <vnet/l2/l2_bd.h>
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 #include <vnet/span/span.h>
 #include <vnet/fib/ip6_fib.h>
 #include <vnet/fib/ip4_fib.h>
 #include <vnet/dpo/classify_dpo.h>
 #include <vnet/dpo/ip_null_dpo.h>
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 #include <vlibapi/api_helper_macros.h>
 #define foreach_vpe_api_msg                                             \
@@ -4899,7 +4900,7 @@ VLIB_CLI_COMMAND (show_ip_arp_nd_events, static) = {
 /* *INDENT-ON* */
 
 #define vl_msg_name_crc_list
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_msg_name_crc_list
 
 static void
diff --git a/src/vpp/api/api_format.c b/src/vpp/api/api_format.c
new file mode 120000 (symlink)
index 0000000..cec72cc
--- /dev/null
@@ -0,0 +1 @@
+../../vat/api_format.c
\ No newline at end of file
similarity index 99%
rename from vpp/vpp-api/custom_dump.c
rename to src/vpp/api/custom_dump.c
index bfebf49..1964533 100644 (file)
 #include <vlibmemory/api.h>
 #include <vnet/lisp-cp/lisp_types.h>
 
-#include <stats/stats.h>
-#include <oam/oam.h>
+#include <vpp/stats/stats.h>
+#include <vpp/oam/oam.h>
 
 #include <vnet/ethernet/ethernet.h>
 #include <vnet/l2/l2_vtr.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
similarity index 99%
rename from vpp/vpp-api/gmon.c
rename to src/vpp/api/gmon.c
index e5cb127..20deb6a 100644 (file)
@@ -42,7 +42,7 @@
 #include <vlib/unix/unix.h>
 #include <vnet/api_errno.h>
 
-#include <svmdb.h>
+#include <svm/svmdb.h>
 
 typedef struct
 {
similarity index 98%
rename from vpp/vpp-api/summary_stats_client.c
rename to src/vpp/api/summary_stats_client.c
index 54e1666..0399956 100644 (file)
@@ -49,7 +49,7 @@
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #include <vnet/ip/ip.h>
 
 #define f64_print(a,b)
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 vl_shmem_hdr_t *shmem_hdr;
similarity index 99%
rename from vpp/vpp-api/test_client.c
rename to src/vpp/api/test_client.c
index e0d7054..5c56895 100644 (file)
@@ -47,7 +47,7 @@
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #include <vnet/ip/ip.h>
 #include <vnet/interface.h>
 #define f64_print(a,b)
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 vl_shmem_hdr_t *shmem_hdr;
@@ -1509,7 +1509,7 @@ done:
 
 #undef vl_api_version
 #define vl_api_version(n,v) static u32 vpe_api_version = v;
-#include <vpp-api/vpe.api.h>
+#include <vpp/api/vpe.api.h>
 #undef vl_api_version
 
 void
similarity index 96%
rename from vpp/vpp-api/test_ha.c
rename to src/vpp/api/test_ha.c
index 91364d8..3264d5f 100644 (file)
 #include <vlib/unix/unix.h>
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
-#include <svm.h>
-#include <svmdb.h>
+#include <svm/svm.h>
+#include <svm/svmdb.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #include <vnet/ip/ip.h>
 
 #define f64_print(a,b)
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 vl_shmem_hdr_t *shmem_hdr;
diff --git a/src/vpp/api/vat.h b/src/vpp/api/vat.h
new file mode 120000 (symlink)
index 0000000..3adbdba
--- /dev/null
@@ -0,0 +1 @@
+../../vat/vat.h
\ No newline at end of file
similarity index 100%
rename from vpp/vpp-api/vpe.api
rename to src/vpp/api/vpe.api
similarity index 97%
rename from vpp/vpp-api/vpe_all_api_h.h
rename to src/vpp/api/vpe_all_api_h.h
index 98717ea..397cd80 100644 (file)
@@ -26,7 +26,7 @@
 #undef included_from_layer_3
 
 /* Include the current layer (third) vpp API definition layer */
-#include <vpp-api/vpe.api.h>
+#include <vpp/api/vpe.api.h>
 
 /*
  * fd.io coding-style-patch-verification: ON
similarity index 96%
rename from vpp/vpp-api/vpe_msg_enum.h
rename to src/vpp/api/vpe_msg_enum.h
index 1da3ec0..4fcc1c8 100644 (file)
@@ -21,7 +21,7 @@
 typedef enum
 {
   VL_ILLEGAL_MESSAGE_ID = 0,
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
   VL_MSG_FIRST_AVAILABLE,
 } vl_msg_id_t;
 #undef vl_msg_id
similarity index 99%
rename from vpp/vpp-api/vpp_get_metrics.c
rename to src/vpp/api/vpp_get_metrics.c
index bbfa605..3474133 100644 (file)
@@ -44,7 +44,7 @@
 #include <vlib/unix/unix.h>
 #include <vnet/api_errno.h>
 
-#include <svmdb.h>
+#include <svm/svmdb.h>
 
 svmdb_client_t *c;
 volatile int signal_received;
similarity index 100%
rename from vpp/app/l2t.c
rename to src/vpp/app/l2t.c
similarity index 100%
rename from vpp/app/l2t_l2.c
rename to src/vpp/app/l2t_l2.c
similarity index 98%
rename from vpp/app/version.c
rename to src/vpp/app/version.c
index f884081..60844c9 100644 (file)
@@ -14,7 +14,7 @@
  */
 #include <vlib/vlib.h>
 #include <vppinfra/cpu.h>
-#include <app/version.h>
+#include <vpp/app/version.h>
 
 #if DPDK > 0
 #include <rte_version.h>
similarity index 100%
rename from vpp/app/vpe_cli.c
rename to src/vpp/app/vpe_cli.c
similarity index 99%
rename from vpp/oam/oam.c
rename to src/vpp/oam/oam.c
index 8bf46cd..07e17b6 100644 (file)
@@ -12,7 +12,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include <oam/oam.h>
+#include <vpp/oam/oam.h>
 
 #if DPDK > 0
 #include <vnet/devices/dpdk/dpdk.h>
similarity index 100%
rename from vpp/oam/oam.h
rename to src/vpp/oam/oam.h
similarity index 99%
rename from vpp/stats/stats.c
rename to src/vpp/stats/stats.c
index c46e2d5..391e02f 100644 (file)
@@ -12,7 +12,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include <stats/stats.h>
+#include <vpp/stats/stats.h>
 #include <signal.h>
 #include <vlib/threads.h>
 #include <vnet/fib/fib_entry.h>
@@ -25,23 +25,23 @@ stats_main_t stats_main;
 
 #include <vnet/ip/ip.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #define f64_endian(a)
 #define f64_print(a,b)
 
 #define vl_typedefs            /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun           /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 #define foreach_stats_msg                               \
similarity index 100%
rename from vpp/stats/stats.h
rename to src/vpp/stats/stats.h
similarity index 98%
rename from vpp/vnet/main.c
rename to src/vpp/vnet/main.c
index 56790fd..e4695e1 100644 (file)
@@ -19,7 +19,7 @@
 #include <vnet/plugin/plugin.h>
 #include <vnet/ethernet/ethernet.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #if DPDK
 #include <vnet/devices/dpdk/dpdk.h>
@@ -124,7 +124,8 @@ main (int argc, char *argv[])
   void vlib_set_get_handoff_structure_cb (void *cb);
 
 #if __x86_64__
-  const char *msg = "ERROR: This binary requires CPU with %s extensions.\n";
+  CLIB_UNUSED (const char *msg)
+    = "ERROR: This binary requires CPU with %s extensions.\n";
 #define _(a,b)                                  \
     if (!clib_cpu_supports_ ## a ())            \
       {                                         \
similarity index 65%
rename from vppapigen/Makefile.am
rename to src/vppapigen.am
index 16a4873..083ee53 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AUTOMAKE_OPTIONS = foreign
+bin_PROGRAMS += vppapigen
 
-bin_PROGRAMS = vppapigen
-bin_SCRIPTS =
+BUILT_SOURCES += tools/vppapigen/gram.h
 
-BUILT_SOURCES = gram.h
-
-gram.h: gram.y
-       $(YACC) -d @srcdir@/gram.y
-       mv y.tab.h gram.h
+tools/vppapigen/gram.h: tools/vppapigen/gram.y
+       $(YACC) -d @srcdir@/tools/vppapigen/gram.y
+       mv y.tab.h tools/vppapigen/gram.h
        rm y.tab.c
 
-vppapigen_SOURCES = gram.y lex.c node.c
-vppapigen_CPPFLAGS =
-vppapigen_LDADD = -lvppinfra
+vppapigen_SOURCES = tools/vppapigen/gram.y tools/vppapigen/lex.c tools/vppapigen/node.c
+vppapigen_LDADD = libvppinfra.la
 vppapigen_LDFLAGS = -static
+
+# vi:syntax=automake
similarity index 98%
rename from vppinfra/Makefile.am
rename to src/vppinfra.am
index 6183cd7..836c721 100644 (file)
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-AUTOMAKE_OPTIONS = foreign subdir-objects
 
-AM_CPPFLAGS = -Wall -Werror
+libvppinfradir = ${libdir}
 
 if WITH_UNIX
-  lib_LTLIBRARIES = libvppinfra.la
+  libvppinfra_LTLIBRARIES = libvppinfra.la
 endif
 
 lib_LIBRARIES =
@@ -270,6 +269,8 @@ libvppinfra_la_SOURCES =                    \
 
 bin_PROGRAMS = elftool
 
-elftool_SOURCES = tools/elftool.c
+elftool_SOURCES = tools/elftool/elftool.c
 elftool_CPPFLAGS = $(AM_CPPFLAGS)
 elftool_LDADD = libvppinfra.la -lpthread -lrt -lm
+
+# vi:syntax=automake
similarity index 100%
rename from vppinfra/README
rename to src/vppinfra/README
similarity index 100%
rename from vppinfra/vppinfra/clib.h
rename to src/vppinfra/clib.h
similarity index 100%
rename from vppinfra/vppinfra/cpu.c
rename to src/vppinfra/cpu.c
similarity index 100%
rename from vppinfra/vppinfra/cpu.h
rename to src/vppinfra/cpu.h
similarity index 99%
rename from vppinfra/vppinfra/elf.c
rename to src/vppinfra/elf.c
index 84d6282..931fbcc 100644 (file)
@@ -1219,7 +1219,7 @@ elf_get_section_contents_with_starting_address (elf_main_t * em,
                                                uword elt_size,
                                                u32 * section_index_result)
 {
-  elf_section_t *s;
+  elf_section_t *s = 0;
   clib_error_t *error;
 
   error = elf_get_section_by_start_address (em, start_address, &s);
@@ -1273,7 +1273,7 @@ elf_parse_dynamic (elf_main_t * em)
 
       case ELF_DYNAMIC_ENTRY_SYMBOL_TABLE:
        {
-         elf_section_t *s;
+         elf_section_t *s = 0;
          clib_error_t *error;
 
          error = elf_get_section_by_start_address (em, e->data, &s);
@@ -1947,7 +1947,7 @@ error:
 clib_error_t *
 elf_delete_named_section (elf_main_t * em, char *section_name)
 {
-  elf_section_t *s;
+  elf_section_t *s = 0;
   clib_error_t *error;
 
   error = elf_get_section_by_name (em, section_name, &s);
similarity index 100%
rename from vppinfra/vppinfra/elf.h
rename to src/vppinfra/elf.h
similarity index 100%
rename from vppinfra/vppinfra/elog.c
rename to src/vppinfra/elog.c
similarity index 100%
rename from vppinfra/vppinfra/elog.h
rename to src/vppinfra/elog.h
similarity index 100%
rename from vppinfra/vppinfra/fifo.c
rename to src/vppinfra/fifo.c
similarity index 100%
rename from vppinfra/vppinfra/fifo.h
rename to src/vppinfra/fifo.h
similarity index 100%
rename from vppinfra/vppinfra/hash.c
rename to src/vppinfra/hash.c
similarity index 100%
rename from vppinfra/vppinfra/hash.h
rename to src/vppinfra/hash.h
similarity index 100%
rename from vppinfra/vppinfra/heap.c
rename to src/vppinfra/heap.c
similarity index 100%
rename from vppinfra/vppinfra/heap.h
rename to src/vppinfra/heap.h
similarity index 100%
rename from vppinfra/vppinfra/math.h
rename to src/vppinfra/math.h
similarity index 100%
rename from vppinfra/vppinfra/md5.c
rename to src/vppinfra/md5.c
similarity index 100%
rename from vppinfra/vppinfra/md5.h
rename to src/vppinfra/md5.h
similarity index 100%
rename from vppinfra/vppinfra/mem.h
rename to src/vppinfra/mem.h
similarity index 100%
rename from vppinfra/vppinfra/os.h
rename to src/vppinfra/os.h
similarity index 100%
rename from vppinfra/vppinfra/pool.h
rename to src/vppinfra/pool.h
similarity index 100%
rename from vppinfra/vppinfra/smp.c
rename to src/vppinfra/smp.c
similarity index 100%
rename from vppinfra/vppinfra/smp.h
rename to src/vppinfra/smp.h
similarity index 100%
rename from vppinfra/vppinfra/time.c
rename to src/vppinfra/time.c
similarity index 100%
rename from vppinfra/vppinfra/time.h
rename to src/vppinfra/time.h
similarity index 100%
rename from vppinfra/vppinfra/unix.h
rename to src/vppinfra/unix.h
similarity index 100%
rename from vppinfra/vppinfra/vec.c
rename to src/vppinfra/vec.c
similarity index 100%
rename from vppinfra/vppinfra/vec.h
rename to src/vppinfra/vec.h
similarity index 100%
rename from vppinfra/vppinfra/xy.h
rename to src/vppinfra/xy.h
similarity index 100%
rename from vppinfra/vppinfra/zvec.c
rename to src/vppinfra/zvec.c
similarity index 100%
rename from vppinfra/vppinfra/zvec.h
rename to src/vppinfra/zvec.h
diff --git a/svm/configure.ac b/svm/configure.ac
deleted file mode 100644 (file)
index 40b0960..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-AC_INIT(svm, 1.0)
-LT_INIT
-AM_INIT_AUTOMAKE
-
-AM_SILENT_RULES([yes])
-
-AC_OUTPUT([Makefile])
diff --git a/vlib-api/configure.ac b/vlib-api/configure.ac
deleted file mode 100644 (file)
index f0aa308..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-AC_INIT(vlibapi, 1.0)
-LT_INIT
-AM_INIT_AUTOMAKE
-
-AM_SILENT_RULES([yes])
-
-AC_PROG_CC
-
-AC_OUTPUT([Makefile])
diff --git a/vlib-api/suffix-rules.mk b/vlib-api/suffix-rules.mk
deleted file mode 120000 (symlink)
index f609840..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../build-data/suffix-rules.mk
\ No newline at end of file
diff --git a/vlib/.gitignore b/vlib/.gitignore
deleted file mode 100644 (file)
index b25c15b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*~
diff --git a/vlib/configure.ac b/vlib/configure.ac
deleted file mode 100644 (file)
index f7079e6..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-AC_INIT(vlib, 1.1)
-LT_INIT
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-
-AC_PROG_CC
-
-AC_ARG_WITH(dpdk,
-            AC_HELP_STRING([--with-dpdk],[Use DPDK]),
-            [with_dpdk=1],
-            [with_dpdk=0])
-
-AC_ARG_WITH(pre-data,
-            AC_HELP_STRING([--with-pre-data],[Set buffer rewrite space]),
-           [case $with_pre_data in
-              128) ;;
-              256) ;;
-               *) with_pre_data="pre-data-not-set" ;;
-            esac], [with_pre_data=128])
-
-AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
-AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
-AC_SUBST(PRE_DATA_SIZE,[$with_pre_data])
-
-AC_OUTPUT([Makefile])
diff --git a/vlib/dir.dox b/vlib/dir.dox
deleted file mode 100644 (file)
index 99027f6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2016 Cisco and/or its affiliates.
- * Copyright (c) 2016 Comcast Cable Communications Management, LLC.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at:
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/* Doxygen directory documentation */
-/**
-@dir
-@brief VLIB application library.
-*/
diff --git a/vnet/.gitignore b/vnet/.gitignore
deleted file mode 100644 (file)
index b25c15b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*~
diff --git a/vnet/configure.ac b/vnet/configure.ac
deleted file mode 100644 (file)
index 6a5281b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-AC_INIT(vnet, 1.1)
-AC_CONFIG_AUX_DIR(config)
-AC_CONFIG_HEADERS(config/config.h)
-LT_INIT
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-
-AC_PROG_CC
-
-AC_ARG_WITH(dpdk,
-            AC_HELP_STRING([--with-dpdk],[Use DPDK]),
-            [with_dpdk=1],
-            [with_dpdk=0])
-
-AC_ARG_WITH(dpdk_crypto,
-            AC_HELP_STRING([--with-dpdk-crypto],[Use DPDK cryptodev]),
-            [with_dpdk_crypto=1],
-            [with_dpdk_crypto=0])
-
-AC_ARG_WITH(ipsec,
-            AC_HELP_STRING([--without-ipsec],[Disable ipsec]),
-            [with_ipsec=0],
-            [with_ipsec=1])
-
-AC_ARG_WITH(ipv6sr,
-            AC_HELP_STRING([--without-ipv6sr],[Disable ipv6sr]),
-            [with_ipv6sr=0],
-            [with_ipv6sr=1])
-
-AC_ARG_ENABLE(tests,
-              AC_HELP_STRING([--enable-tests], [Build unit tests]),
-              [enable_tests=1],
-              [enable_tests=0])
-
-AM_CONDITIONAL(WITH_DPDK_CRYPTO, test "$with_dpdk_crypto" = "1")
-AC_SUBST(DPDK_CRYPTO,[-DDPDK_CRYPTO=${with_dpdk_crypto}])
-
-AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
-AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
-
-AM_CONDITIONAL(WITH_IPSEC, test "$with_ipsec" = "1")
-AC_SUBST(IPSEC,[-DIPSEC=${with_ipsec}])
-
-AM_CONDITIONAL(WITH_IPV6SR, test "$with_ipv6sr" = "1")
-AC_SUBST(IPV6SR,[-DIPV6SR=${with_ipv6sr}])
-
-AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "1")
-
-AC_OUTPUT([Makefile])
diff --git a/vnet/suffix-rules.mk b/vnet/suffix-rules.mk
deleted file mode 120000 (symlink)
index f609840..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../build-data/suffix-rules.mk
\ No newline at end of file
diff --git a/vpp-api-test/Makefile.am b/vpp-api-test/Makefile.am
deleted file mode 100644 (file)
index 27466fa..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright (c) 2015 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall @Q_PLATFORM_DEFINE@ @Q_PLATFORM_PLUGPATH@ @DPDK@ @DPDK_CRYPTO@
-
-libvatplugin_la_SOURCES = \
-  vat/plugin_api.c
-
-lib_LTLIBRARIES = libvatplugin.la      
-
-bin_PROGRAMS = vpp_api_test vpp_json_test vpp_restart
-
-vpp_api_test_SOURCES = vat/api_format.c vat/main.c vat/plugin.c vat/vat.h vat/json_format.h vat/json_format.c
-vpp_json_test_SOURCES = vat/json_format.h vat/json_format.c vat/json_test.c
-
-vpp_api_test_LDADD = -lvlibmemoryclient -lvlibapi -lsvm \
-       -lvppinfra -lpthread -lm \
-       -lrt -ldl libvatplugin.la
-vpp_json_test_LDADD = -lvppinfra -lm
-nobase_include_HEADERS = vat/vat.h vat/json_format.h
-
-vpp_restart_SOURCES = vat/restart.c
-vpp_restart_LDADD = -lsvmdb -lsvm -lvppinfra -lpthread -lrt
-
-dist_bin_SCRIPTS = scripts/vppctl
diff --git a/vpp-api-test/configure.ac b/vpp-api-test/configure.ac
deleted file mode 100644 (file)
index cf0af12..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-AC_INIT(vpp-api-test, 1.0)
-LT_INIT
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-
-AC_PROG_CC
-
-AC_ARG_WITH(q-plugin-prefix,
-            AC_HELP_STRING([--with-q-plugin-prefix],[vlib plugin prefix]),
-                   [case $with_q_plugin_prefix in
-              *) ;;
-             esac])
-
-AC_ARG_WITH(q-platform,
-            AC_HELP_STRING([--with-q-platform],[Build version for given platform (qnative)]),
-           [case $with_q_platform in
-              qnative) ;;
-               vpp) with_q_platform=vpp;;
-              *) with_q_platform=qnative;;
-            esac])
-
-AC_ARG_WITH(dpdk,
-            AC_HELP_STRING([--with-dpdk],[Use DPDK]),
-            [with_dpdk=1],
-            [with_dpdk=0])
-
-AC_ARG_WITH(dpdk_crypto,
-            AC_HELP_STRING([--with-dpdk-crypto],[Use DPDK cryptodev]),
-            [with_dpdk_crypto=1],
-            [with_dpdk_crypto=0])
-
-AC_SUBST(Q_PLATFORM_DEFINE,[-DQ_PLATFORM_${with_q_platform}])
-AC_SUBST(Q_PLATFORM_PLUGPATH,[-DQ_PLUGIN_PREFIX=${with_q_plugin_prefix}])
-AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
-AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
-AC_SUBST(DPDK_CRYPTO,[-DDPDK_CRYPTO=${with_dpdk_crypto}])
-AM_CONDITIONAL(WITH_DPDK_CRYPTO, test "$with_dpdk_crypto" = "1")
-
-
-AC_OUTPUT([Makefile])
index 1812b63..b50522e 100644 (file)
@@ -1,2 +1,4 @@
 AUTOMAKE_OPTIONS = foreign
-SUBDIRS = python java
+SUBDIRS = java
+
+# vi:syntax=automake
index 3d7bf25..278041c 100644 (file)
@@ -7,7 +7,6 @@ AM_SILENT_RULES([yes])
 
 AC_PROG_CC
 
-AC_OUTPUT([python/Makefile])
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
 
index 92b8c26..b055196 100644 (file)
@@ -84,8 +84,7 @@ packagedir_jvpp_core = io/fd/vpp/jvpp/core
 BUILT_SOURCES += jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h
 
 JSON_FILES = \
-       $(prefix)/../vpp/vpp-api/vpe.api.json \
-       $(wildcard $(prefix)/../vnet/vnet/*.api.json)
+       $(wildcard $(prefix)/../vpp/share/vpp/api/core/*.api.json)
 
 jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h:          \
     jvpp-registry/io_fd_vpp_jvpp_VppJNIConnection.h    \
index 107fa78..ef4cb8e 100644 (file)
 
 #include <vnet/vnet.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 #define vl_typedefs             /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 #include <vnet/api_errno.h>
index 7e199b8..cbd5e0a 100644 (file)
@@ -16,7 +16,7 @@
 #include <vnet/vnet.h>
 
 #define vl_api_version(n,v) static u32 vpe_api_version = (v);
-#include <vpp-api/vpe.api.h>
+#include <vpp/api/vpe.api.h>
 #undef vl_api_version
 
 
 #include "io_fd_vpp_jvpp_VppJNIConnection.h"
 #include "io_fd_vpp_jvpp_JVppRegistryImpl.h"
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 #define vl_typedefs             /* define message structures */
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_typedefs
 
 #define vl_endianfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_endianfun
 
 /* instantiate all the print functions we know about */
 #define vl_print(handle, ...)
 #define vl_printfun
-#include <vpp-api/vpe_all_api_h.h>
+#include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
 vlib_main_t vlib_global_main;
index b1cd84c..5f8df2a 100755 (executable)
@@ -30,6 +30,8 @@ from jvppgen import jvpp_impl_gen
 from jvppgen import jvpp_c_gen
 from jvppgen import util
 
+blacklist = [ "memclnt.api", "flowperpkt.api" ]
+
 # Invocation:
 # ~/Projects/vpp/vpp-api/jvpp/gen$ mkdir -p java/io/fd/vpp/jvpp && cd java/io/fd/vpp/jvpp
 # ~/Projects/vpp/vpp-api/jvpp/gen/java/io/fd/vpp/jvpp$ ../../../../jvpp_gen.py -idefs_api_vpp_papi.py
@@ -55,6 +57,9 @@ print "plugin_name %s" % plugin_name
 cfg = {}
 
 for inputfile in args.inputfiles:
+    if any(substring in inputfile for substring in blacklist):
+        print "WARNING: Imput file %s blacklisted" % inputfile
+        continue
     _cfg = json.load(open(inputfile, 'r'))
     if 'types' in cfg:
         cfg['types'].extend(_cfg['types'])
diff --git a/vpp/Makefile.am b/vpp/Makefile.am
deleted file mode 100644 (file)
index 25d7274..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright (c) 2015 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-AUTOMAKE_OPTIONS = foreign subdir-objects
-
-AM_CFLAGS = -Wall @DPDK@ @DPDK_CRYPTO@ @IPSEC@ @VCGN@ @IPV6SR@ @APICLI@
-
-noinst_PROGRAMS = 
-BUILT_SOURCES =
-bin_PROGRAMS = 
-CLEANFILES = 
-
-bin_PROGRAMS += vpp
-
-vpp_SOURCES =                                  \
-  vnet/main.c                                  \
-  app/vpe_cli.c                                        \
-  app/version.c                                        \
-  oam/oam.c                                    \
-  stats/stats.c
-
-vpp_SOURCES +=                                 \
-  vpp-api/api.c                                        \
-  vpp-api/custom_dump.c                                \
-  vpp-api/json_format.c
-
-if WITH_APICLI
-  vpp_SOURCES +=                               \
-  vpp-api/api_format.c                         \
-  vpp-api/api_main.c                           
-endif
-
-
-# comment out to disable stats upload to gmond 
-
-vpp_SOURCES +=                                 \
-  vpp-api/gmon.c       
-
-nobase_include_HEADERS =                       \
-  vpp-api/vpe_all_api_h.h                      \
-  vpp-api/vpe_msg_enum.h                       \
-  vpp-api/vpe.api.h
-
-# install the API definition, so we can produce java bindings, etc.
-
-apidir = $(prefix)/vpp-api
-api_DATA = vpp-api/vpe.api.json
-
-BUILT_SOURCES += vpp-api/vpe.api.h app/version.h vpp-api/vpe.api.json
-
-app/version.o: app/version.h
-
-.PHONY:        app/version.h
-
-app/version.h:
-       @echo "  VERSION " $@ 
-       @echo "#define VPP_BUILD_DATE \"$$(date)\"" > $@
-       @echo "#define VPP_BUILD_USER \"$$(whoami)\"" >> $@
-       @echo "#define VPP_BUILD_HOST \"$$(hostname)\"" >> $@
-       @echo "#define VPP_BUILD_TOPDIR \"$$(git rev-parse --show-toplevel)\""  >> $@
-       @echo "#define VPP_BUILD_VER \"$$(../../scripts/version)\"" >> $@
-
-# Generate a plugin configuration script. Misconfiguring a
-# plugin can cause very subtle problems.
-
-bin_SCRIPTS = vpp_plugin_configure
-
-BUILT_SOURCES += vpp_plugin_configure
-
-.PHONY: vpp_plugin_configure
-
-if WITH_DPDK
-PLUGIN_DPDK_ARG="--with-dpdk"
-else
-PLUGIN_DPDK_ARG=""
-endif
-
-vpp_plugin_configure:
-       @echo "PLUGIN CONFIGURE " $@ 
-       @echo "#!/bin/bash" > $@
-       @echo " " >> $@
-       @echo "set +eu" >> $@
-       @echo " " >> $@
-       @echo "if [ -f ./configure ] ; then" >> $@
-       @echo "    CFLAGS='$(CFLAGS) $(AM_CFLAGS) -I/usr/include/vpp-dpdk' ./configure --with-plugin-toolkit $(PLUGIN_DPDK_ARG)" >> $@
-       @echo "else" >> $@
-       @echo "    if [ -f ../configure ] ; then" >> $@
-       @echo "        CFLAGS='$(CFLAGS) $(AM_CFLAGS) -I/usr/include/vpp-dpdk' ../configure --with-plugin-toolkit $(PLUGIN_DPDK_ARG)" >> $@
-       @echo "    else" >> $@
-       @echo "        echo Couldnt find ./configure or ../configure " >> $@
-       @echo "        exit 1" >> $@
-       @echo "    fi" >> $@
-       @echo "fi" >> $@
-
-vpp_LDADD = -lvlibapi -lvlibmemory  -lvlib_unix -lvlib
-
-vpp_LDADD += -lvnet
-
-vpp_LDADD += -lsvm -lsvmdb -lrt
-
-vpp_LDADD += -lvnetplugin
-
-if WITH_DPDK
-vpp_LDFLAGS = -Wl,--whole-archive
-if ENABLE_DPDK_SHARED
-vpp_LDFLAGS += -ldpdk
-else
-vpp_LDFLAGS += -l:libdpdk.a
-endif
-vpp_LDFLAGS += -Wl,--no-whole-archive
-if WITH_DPDK_CRYPTO
-vpp_LDADD += -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB
-endif
-if WITH_DPDK_MLX5_PMD
-vpp_LDFLAGS += -libverbs -lmlx5 -lnuma
-endif
-endif
-
-vpp_LDADD += -lvppinfra -lm -lpthread -ldl
-
-if WITH_IPV6SR
-  vpp_LDADD += -lcrypto
-endif
-
-# Set the suffix list
-SUFFIXES = .api.h .api .api.json
-
-# The actual %.api.h rule is in .../build-data/packages/suffix-rules.mk
-# and requires a symbolic link at the top of the vpp source tree
-
-include $(top_srcdir)/suffix-rules.mk
-
-noinst_PROGRAMS += test_client
-
-test_client_SOURCES = vpp-api/test_client.c
-test_client_LDADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
-       -lpthread -lm -lrt
-
-noinst_PROGRAMS += test_client test_ha
-
-test_ha_SOURCES = vpp-api/test_ha.c
-test_ha_LDADD = -lvlibmemoryclient -lvlibapi -lsvmdb -lsvm -lvppinfra \
-               -lpthread -lm -lrt
-
-
-noinst_PROGRAMS += summary_stats_client
-
-summary_stats_client_SOURCES = vpp-api/summary_stats_client.c
-summary_stats_client_LDADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
-       -lpthread -lm -lrt
-
-bin_PROGRAMS += vpp_get_metrics
-
-vpp_get_metrics_SOURCES = vpp-api/vpp_get_metrics.c
-vpp_get_metrics_LDADD = -lsvmdb -lsvm -lvppinfra \
-               -lpthread -lm -lrt
diff --git a/vpp/configure.ac b/vpp/configure.ac
deleted file mode 100644 (file)
index 8c333fd..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-AC_INIT(vpp, 1.1)
-AM_INIT_AUTOMAKE
-AM_SILENT_RULES([yes])
-
-AC_PROG_CC
-
-AC_ARG_WITH(dpdk,
-            AC_HELP_STRING([--with-dpdk],[Use DPDK]),
-            [with_dpdk=1],
-            [with_dpdk=0])
-
-AC_ARG_WITH(dpdk_crypto,
-            AC_HELP_STRING([--with-dpdk-crypto],[Use DPDK cryptodev]),
-            [with_dpdk_crypto=1],
-            [with_dpdk_crypto=0])
-
-AC_ARG_WITH(dpdk_mlx5_pmd,
-            AC_HELP_STRING([--with-dpdk-mlx5-pmd],[Use Mellanox ConnetxX-4 DPDK PMD]),
-            [with_dpdk_mlx5_pmd=1],
-            [with_dpdk_mlx5_pmd=0])
-
-AC_ARG_ENABLE(dpdk-shared,
-              AC_HELP_STRING([--enable-dpdk-shared],[Link with DPDK shared lib]),
-              [enable_dpdk_shared=1],
-              [enable_dpdk_shared=0])
-
-AC_ARG_WITH(ipsec,
-            AC_HELP_STRING([--without-ipsec],[Disable ipsec]),
-            [with_ipsec=0],
-            [with_ipsec=1])
-
-AC_ARG_WITH(vcgn,
-            AC_HELP_STRING([--without-vcgn],[Disable vcgn]),
-            [with_vcgn=0],
-            [with_vcgn=1])
-
-AC_ARG_WITH(ipv6sr,
-            AC_HELP_STRING([--without-ipv6sr],[Disable ipv6sr]),
-            [with_ipv6sr=0],
-            [with_ipv6sr=1])
-
-AC_ARG_WITH(apicli,
-            AC_HELP_STRING([--without-apicli],[Disable binary api CLI]),
-            [with_apicli=0],
-            [with_apicli=1])
-
-AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
-AM_CONDITIONAL(ENABLE_DPDK_SHARED, test "$enable_dpdk_shared" = "1")
-AC_SUBST(DPDK,["-DDPDK=${with_dpdk} -DDPDK_SHARED_LIB=${enable_dpdk_shared}"])
-AM_CONDITIONAL(WITH_DPDK_CRYPTO, test "$with_dpdk_crypto" = "1")
-AC_SUBST(DPDK_CRYPTO,[-DDPDK_CRYPTO=${with_dpdk_crypto}])
-AM_CONDITIONAL(WITH_DPDK_MLX5_PMD, test "$with_dpdk_mlx5_pmd" = "1")
-
-AM_COND_IF(
-       [ENABLE_DPDK_SHARED],
-       [
-               AC_CHECK_HEADERS(
-                       [rte_config.h],
-                       [], [AC_MSG_ERROR([DPDK header files not found])],
-               )
-               AC_CHECK_LIB(
-                       [dpdk], [rte_eal_init],
-                       [], [AC_MSG_ERROR([DPDK shared library not found])],
-               )
-       ],
-)
-
-AM_CONDITIONAL(WITH_IPSEC, test "$with_ipsec" = "1")
-AC_SUBST(IPSEC,[-DIPSEC=${with_ipsec}])
-
-AM_CONDITIONAL(WITH_VCGN, test "$with_vcgn" = "1")
-AC_SUBST(VCGN,[-DVCGN=${with_vcgn}])
-
-AM_CONDITIONAL(WITH_IPV6SR, test "$with_ipv6sr" = "1")
-AC_SUBST(IPV6SR,[-DIPV6SR=${with_ipv6sr}])
-
-AM_CONDITIONAL(WITH_APICLI, test "$with_apicli" = "1")
-AC_SUBST(APICLI,[-DVPP_API_TEST_BUILTIN=${with_apicli}])
-
-AC_OUTPUT([Makefile])
diff --git a/vpp/suffix-rules.mk b/vpp/suffix-rules.mk
deleted file mode 120000 (symlink)
index f609840..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../build-data/suffix-rules.mk
\ No newline at end of file
diff --git a/vpp/vpp-api/api_format.c b/vpp/vpp-api/api_format.c
deleted file mode 120000 (symlink)
index f37e657..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../vpp-api-test/vat/api_format.c
\ No newline at end of file
diff --git a/vpp/vpp-api/vat.h b/vpp/vpp-api/vat.h
deleted file mode 120000 (symlink)
index b7a00e9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../vpp-api-test/vat/vat.h
\ No newline at end of file
diff --git a/vppinfra/.gitignore b/vppinfra/.gitignore
deleted file mode 100644 (file)
index b25c15b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*~
diff --git a/vppinfra/INSTALL b/vppinfra/INSTALL
deleted file mode 100644 (file)
index 23e5f25..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-Installation Instructions
-*************************
-
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
-Software Foundation, Inc.
-
-This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
-
-Basic Installation
-==================
-
-These are generic installation instructions.
-
-   The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, and a
-file `config.log' containing compiler output (useful mainly for
-debugging `configure').
-
-   It can also use an optional file (typically called `config.cache'
-and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring.  (Caching is
-disabled by default to prevent problems with accidental use of stale
-cache files.)
-
-   If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If you are using the cache, and at
-some point `config.cache' contains results you don't want to keep, you
-may remove or edit it.
-
-   The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'.  You only need
-`configure.ac' if you want to change it or regenerate `configure' using
-a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
-
-     Running `configure' takes awhile.  While running, it prints some
-     messages telling which features it is checking for.
-
-  2. Type `make' to compile the package.
-
-  3. Optionally, type `make check' to run any self-tests that come with
-     the package.
-
-  4. Type `make install' to install the programs and any data files and
-     documentation.
-
-  5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
-     for the package's developers.  If you use it, you may have to get
-     all sorts of other programs in order to regenerate files that came
-     with the distribution.
-
-Compilers and Options
-=====================
-
-Some systems require unusual options for compilation or linking that the
-`configure' script does not know about.  Run `./configure --help' for
-details on some of the pertinent environment variables.
-
-   You can give `configure' initial values for configuration parameters
-by setting variables in the command line or in the environment.  Here
-is an example:
-
-     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
-
-   *Note Defining Variables::, for more details.
-
-Compiling For Multiple Architectures
-====================================
-
-You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory.  To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'.  `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
-   If you have to use a `make' that does not support the `VPATH'
-variable, you have to compile the package for one architecture at a
-time in the source code directory.  After you have installed the
-package for one architecture, use `make distclean' before reconfiguring
-for another architecture.
-
-Installation Names
-==================
-
-By default, `make install' installs the package's commands under
-`/usr/local/bin', include files under `/usr/local/include', etc.  You
-can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
-
-   You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files.  If you
-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
-PREFIX as the prefix for installing programs and libraries.
-Documentation and other data files still use the regular prefix.
-
-   In addition, if you use an unusual directory layout you can give
-options like `--bindir=DIR' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
-
-   If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
-Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
-   For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
-There may be some features `configure' cannot figure out automatically,
-but needs to determine by the type of machine the package will run on.
-Usually, assuming the package is built to be run on the _same_
-architectures, `configure' can figure that out, but if it prints a
-message saying it cannot guess the machine type, give it the
-`--build=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name which has the form:
-
-     CPU-COMPANY-SYSTEM
-
-where SYSTEM can have one of these forms:
-
-     OS KERNEL-OS
-
-   See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the machine type.
-
-   If you are _building_ compiler tools for cross-compiling, you should
-use the option `--target=TYPE' to select the type of system they will
-produce code for.
-
-   If you want to _use_ a cross compiler, that generates code for a
-platform different from the build platform, you should specify the
-"host" platform (i.e., that on which the generated programs will
-eventually be run) with `--host=TYPE'.
-
-Sharing Defaults
-================
-
-If you want to set default values for `configure' scripts to share, you
-can create a site shell script called `config.site' that gives default
-values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Defining Variables
-==================
-
-Variables not defined in a site shell script can be set in the
-environment passed to `configure'.  However, some packages may run
-configure again during the build, and the customized values of these
-variables may be lost.  In order to avoid this problem, you should set
-them in the `configure' command line, using `VAR=value'.  For example:
-
-     ./configure CC=/usr/local2/bin/gcc
-
-causes the specified `gcc' to be used as the C compiler (unless it is
-overridden in the site shell script).  Here is a another example:
-
-     /bin/bash ./configure CONFIG_SHELL=/bin/bash
-
-Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
-configuration-related scripts to be executed by `/bin/bash'.
-
-`configure' Invocation
-======================
-
-`configure' recognizes the following options to control how it operates.
-
-`--help'
-`-h'
-     Print a summary of the options to `configure', and exit.
-
-`--version'
-`-V'
-     Print the version of Autoconf used to generate the `configure'
-     script, and exit.
-
-`--cache-file=FILE'
-     Enable the cache: use and save the results of the tests in FILE,
-     traditionally `config.cache'.  FILE defaults to `/dev/null' to
-     disable caching.
-
-`--config-cache'
-`-C'
-     Alias for `--cache-file=config.cache'.
-
-`--quiet'
-`--silent'
-`-q'
-     Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
-     messages will still be shown).
-
-`--srcdir=DIR'
-     Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
-
-`configure' also accepts some other, not widely useful, options.  Run
-`configure --help' for more details.
-
diff --git a/vppinfra/Make.defs b/vppinfra/Make.defs
deleted file mode 100644 (file)
index dcb51e1..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright (c) 2001, 2002 Eliot Dresselhaus
-#
-# Permission is hereby granted, free of charge, to any person obtaining
-# a copy of this software and associated documentation files (the
-# "Software"), to deal in the Software without restriction, including
-# without limitation the rights to use, copy, modify, merge, publish,
-# distribute, sublicense, and/or sell copies of the Software, and to
-# permit persons to whom the Software is furnished to do so, subject to
-# the following conditions:
-#
-#  The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# Basic toolchain defines.
-CC = $(CROSS_COMPILE)gcc
-LD = $(CROSS_COMPILE)ld
-AR = $(CROSS_COMPILE)ar
-RANLIB = $(CROSS_COMPILE)ranlib
-INSTALL = install
-
-ifneq ($(origin CROSS_COMPILE), undefined)
-  IS_CROSS_COMPILE=yes
-endif
-
-CLIB_ARCH = $(shell $(CC) -dumpmachine)
-
-# Where to get linux kernel includes.
-# By default get linux includes from /usr/include/linux...
-KERNEL_PREFIX ?= /usr
-
-# Where to find compiler include directory (since we may
-# be using -nostdinc).
-CC_PREFIX = $(shell dirname `$(CC) --print-libgcc-file-name`)
-
-# Where to get LIBC includes for cross compiles
-LIBC_PREFIX ?= $(CC_PREFIX)/../../../../$(CLIB_ARCH)
-
-# Where to find CLIB includes/libraries for cross compiles
-CLIB_PREFIX ?= /usr/local/$(CLIB_ARCH)
-
-OBJ = $(CLIB_ARCH).o
-SHARED_OBJ = shared.$(OBJ)
-KERNEL_OBJ = kernel.$(OBJ)
-MODULE_OBJ = module.$(OBJ)
-
-DEP = $(CLIB_ARCH).d
-SHARED_DEP = shared.$(DEP)
-KERNEL_DEP = kernel.$(DEP)
-
-STATIC_LIB = $(CLIB_ARCH).a
-SHARED_LIB = $(CLIB_ARCH).so
-KERNEL_LIB = kernel.$(CLIB_ARCH).a
-
-STATIC_CFLAGS = $(DEFAULT_CFLAGS)
-SHARED_CFLAGS = $(STATIC_CFLAGS) -fPIC
-
-# Compile flags common to user/kernel
-CLIB_COMMON_CFLAGS += -Wall
-
-DEBUG ?= no
-ifeq ($(DEBUG),yes)
-       COPTS ?= -g -O0
-       CLIB_COMMON_CFLAGS += -DDEBUG
-else
-       COPTS ?= -O2
-endif
-
-CLIB_COMMON_CFLAGS += $(COPTS) 
-
-CLIB_USER_CFLAGS = $(CLIB_COMMON_CFLAGS)
-
-ifeq ($(IS_CROSS_COMPILE),yes)
-  CLIB_USER_CFLAGS += -nostdinc
-  CLIB_USER_CFLAGS += -idirafter $(CC_PREFIX)/include
-  CLIB_USER_CFLAGS += -idirafter $(KERNEL_PREFIX)/include
-  CLIB_USER_CFLAGS += -idirafter $(LIBC_PREFIX)/include
-  CLIB_COMMON_CFLAGS += -idirafter $(CLIB_PREFIX)/include
-endif
-
-STATIC_CFLAGS = $(CLIB_USER_CFLAGS)
-SHARED_CFLAGS = $(STATIC_CFLAGS) -fPIC
-
-%.$(SHARED_OBJ): %.c
-       $(CC) -c $(SHARED_CFLAGS) -o $@ $<
-
-%.$(OBJ): %.c
-       $(CC) -c $(STATIC_CFLAGS) -o $@ $<
-
-# Kernel version of clib
-
-CLIB_KERNEL_CFLAGS = $(CLIB_COMMON_CFLAGS)
-
-CLIB_KERNEL_CFLAGS += -nostdinc
-CLIB_KERNEL_CFLAGS += -idirafter $(CC_PREFIX)/include
-CLIB_KERNEL_CFLAGS += -idirafter $(KERNEL_PREFIX)/include
-
-# Kernel always uses mheap allocator (no malloc)
-CLIB_KERNEL_CFLAGS += -DCLIB_MEM_MHEAP
-
-CLIB_KERNEL_CFLAGS += -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB
-
-CLIB_KERNEL_CFLAGS += -fno-common -fomit-frame-pointer -fno-strict-aliasing
-
-ifeq ($(findstring mips,$(CLIB_ARCH)),mips)
-  CLIB_KERNEL_CFLAGS += -G0 \
-       -mno-abicalls -fno-pic -mlong-calls \
-       -mcpu=r8000 -mips2 -Wa,--trap 
-endif
-
-%.$(KERNEL_OBJ): %.c
-       $(CC) $(CLIB_KERNEL_CFLAGS) -c -o $@ $<
-
-# Dependencies
-%.$(DEP): %.c
-       $(CC) $(CLIB_USER_CFLAGS) -c -M $< | sed -e s/.o:/.$(OBJ):/ > $@
-
-%.$(SHARED_DEP): %.c
-       $(CC) $(CLIB_USER_CFLAGS) -c -M $< | sed -e s/.o:/.$(SHARED_OBJ):/ > $@
-
-%.$(KERNEL_DEP): %.c
-       $(CC) $(CLIB_KERNEL_CFLAGS) -c -M $< | sed -e s/.o:/.$(KERNEL_OBJ):/ > $@
diff --git a/vppinfra/configure.ac b/vppinfra/configure.ac
deleted file mode 100644 (file)
index 8893938..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-# Process this file with autoconf to produce a configure script.
-AC_INIT(libvppinfra,1.0,)
-AC_CONFIG_AUX_DIR(config)
-AC_CONFIG_HEADERS(config/config.h)
-AC_CANONICAL_BUILD
-AC_CANONICAL_HOST
-AM_INIT_AUTOMAKE([gnu no-dist-gzip dist-bzip2])
-AM_SILENT_RULES([yes])
-
-# Checks for programs.
-AC_PROG_CC
-AM_PROG_AS
-AM_PROG_LIBTOOL
-
-######################################################################
-
-dnl ------------
-dnl Check CFLAGS, CC
-dnl ------------
-AC_ARG_WITH(cc,
-           AC_HELP_STRING([--with-cc],[Set CC for use as C compiler.]),
-           [CC="$with_cc"])
-
-AC_ARG_WITH(cflags,
-           AC_HELP_STRING([--with-cflags],[Set CFLAGS for use by C compiler.]),
-           [CFLAGS="$with_cflags"])
-
-AC_ARG_WITH(ldflags,
-           AC_HELP_STRING([--with-ldflags],[Set LDFLAGS for linking.]),
-           [LDFLAGS="$with_ldflags"])
-
-######################################################################
-
-AC_ARG_ENABLE(tests,
-              AC_HELP_STRING([--enable-tests],[Enable unit tests]),
-              [enable_tests=1],
-              [enable_tests=0])
-
-AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "1")
-
-AC_ARG_WITH(unix,
-            AC_HELP_STRING([--with-unix],[Compile unix version of clib]),
-           [],
-           [case $host_os in
-             darwin* | linux*) with_unix=yes;;
-             *) with_unix=no;;
-             esac])
-
-AM_CONDITIONAL(WITH_UNIX, test "$with_unix" = "yes")
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/vppinfra/dir.dox b/vppinfra/dir.dox
deleted file mode 100644 (file)
index dee0cd9..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2016 Cisco and/or its affiliates.
- * Copyright (c) 2016 Comcast Cable Communications Management, LLC.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at:
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/** @dir
- * @brief VPP infrastructure library and tools.
- */
diff --git a/vppinfra/mkinstalldirs b/vppinfra/mkinstalldirs
deleted file mode 100755 (executable)
index d2d5f21..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Public domain
-
-errstatus=0
-dirmode=""
-
-usage="\
-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
-
-# process command line arguments
-while test $# -gt 0 ; do
-  case $1 in
-    -h | --help | --h*)         # -h for help
-      echo "$usage" 1>&2
-      exit 0
-      ;;
-    -m)                         # -m PERM arg
-      shift
-      test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
-      dirmode=$1
-      shift
-      ;;
-    --)                         # stop option processing
-      shift
-      break
-      ;;
-    -*)                         # unknown option
-      echo "$usage" 1>&2
-      exit 1
-      ;;
-    *)                          # first non-opt arg
-      break
-      ;;
-  esac
-done
-
-for file
-do
-  if test -d "$file"; then
-    shift
-  else
-    break
-  fi
-done
-
-case $# in
-  0) exit 0 ;;
-esac
-
-case $dirmode in
-  '')
-    if mkdir -p -- . 2>/dev/null; then
-      echo "mkdir -p -- $*"
-      exec mkdir -p -- "$@"
-    fi
-    ;;
-  *)
-    if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
-      echo "mkdir -m $dirmode -p -- $*"
-      exec mkdir -m "$dirmode" -p -- "$@"
-    fi
-    ;;
-esac
-
-for file
-do
-  set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
-  shift
-
-  pathcomp=
-  for d
-  do
-    pathcomp="$pathcomp$d"
-    case $pathcomp in
-      -*) pathcomp=./$pathcomp ;;
-    esac
-
-    if test ! -d "$pathcomp"; then
-      echo "mkdir $pathcomp"
-
-      mkdir "$pathcomp" || lasterr=$?
-
-      if test ! -d "$pathcomp"; then
-       errstatus=$lasterr
-      else
-       if test ! -z "$dirmode"; then
-         echo "chmod $dirmode $pathcomp"
-         lasterr=""
-         chmod "$dirmode" "$pathcomp" || lasterr=$?
-
-         if test ! -z "$lasterr"; then
-           errstatus=$lasterr
-         fi
-       fi
-      fi
-    fi
-
-    pathcomp="$pathcomp/"
-  done
-done
-
-exit $errstatus
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# End:
-# mkinstalldirs ends here