aboutgitcodebugslistschat
path: root/tap.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-19 12:43:28 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-20 08:29:30 +0200
commit087b5f4dbb9e3f767a8afbb6c1001c509965940b (patch)
tree109597a7fdd95e24b04ada3b7bfcb3c67015fa6d /tap.h
parentf154a0489aa99ea48fa89a2724536f4c98815977 (diff)
downloadpasst-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar.gz
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar.bz2
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar.lz
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar.xz
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.tar.zst
passt-087b5f4dbb9e3f767a8afbb6c1001c509965940b.zip
LICENSES: Add license text files, add missing notices, fix SPDX tags
SPDX tags don't replace license files. Some notices were missing and some tags were not according to the SPDX specification, too. Now reuse --lint from the REUSE tool (https://reuse.software/) passes. Reported-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.h')
-rw-r--r--tap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tap.h b/tap.h
index a87c121..c437f5f 100644
--- a/tap.h
+++ b/tap.h
@@ -1,3 +1,8 @@
+/* SPDX-License-Identifier: AGPL-3.0-or-later
+ * Copyright (c) 2021 Red Hat GmbH
+ * Author: Stefano Brivio <sbrivio@redhat.com>
+ */
+
void tap_ip_send(struct ctx *c, struct in6_addr *src, uint8_t proto,
char *in, size_t len, uint32_t flow);
int tap_send(struct ctx *c, void *data, size_t len, int vnet_pre);