aboutgitcodebugslistschat
path: root/qrap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2020-07-20 16:41:49 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-02-16 07:58:01 +0100
commit6709ade2bde563f31e8d28a27c473fe626216e5d (patch)
tree494189caba10a7edf151a4636073793faedd065e /qrap.c
parentb439984641edaf4e781dc424d4c8a574461d3540 (diff)
downloadpasst-6709ade2bde563f31e8d28a27c473fe626216e5d.tar
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.tar.gz
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.tar.bz2
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.tar.lz
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.tar.xz
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.tar.zst
passt-6709ade2bde563f31e8d28a27c473fe626216e5d.zip
merd: Rename to PASST
Plug A Simple Socket Transport. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'qrap.c')
-rw-r--r--qrap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/qrap.c b/qrap.c
index b246a7e..06dc5c4 100644
--- a/qrap.c
+++ b/qrap.c
@@ -1,4 +1,4 @@
-/* MERD - MacVTap Egress and Routing Daemon
+/* PASST - Plug A Simple Socket Transport
*
* qrap.c - qemu wrapper connecting UNIX domain socket to tap file descriptor
*
@@ -10,6 +10,7 @@
*/
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
@@ -17,8 +18,10 @@
#include <sys/un.h>
#include <errno.h>
#include <limits.h>
+#include <linux/if_ether.h>
+#include <net/if.h>
-#include "merd.h"
+#include "passt.h"
/**
* usage() - Print usage and exit