aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/util.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06unix: mkdir VPP_RUN_DIR before opening a socket in itChris Luke1-0/+13
Change https://gerrit.fd.io/r/#/c/7230/ added a Unix domain CLI socket in the default startup.conf; however unless you had previously run VPP with the DPDK plugin enabled the directory that it is created in. /run/vpp, would not exist and startup would fail. This directory is typically hosted in a tmpfs ramdisk and is thus ephemeral. This patch adds a function that attempts to mkdir VPP_RUN_DIR and uses it in both the DPDK plugin and the CLI code if the CLI socket is to be created in that directory. Change-Id: Ibbf925819099dce2b5eb0fa238b9edca1036d6fd Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+231
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>