X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_tun_lib.h;h=11c43e8b74b80b6ad21461d4f5c94b31c18e2e7a;hb=6e626937fd5133188d2bd06f280a1b889219eef2;hp=a2e75eb5ff6bd1e048b6b8842e382a8cf291eda3;hpb=5c7f4f919d2569f49e4223d77000452dd2ec4e97;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h index a2e75eb5f..11c43e8b7 100644 --- a/src/include/gnunet_tun_lib.h +++ b/src/include/gnunet_tun_lib.h @@ -14,6 +14,8 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + + SPDX-License-Identifier: AGPL3.0-or-later */ /** @@ -30,7 +32,8 @@ #ifndef GNUNET_TUN_LIB_H #define GNUNET_TUN_LIB_H -#include "gnunet_util_lib.h" +#include "gnunet_common.h" +#include "gnunet_crypto_lib.h" /* see http://www.iana.org/assignments/ethernet-numbers */ @@ -55,6 +58,7 @@ * 8 bytes for IPv4, 4 bytes for port, 1 byte for "4", 2 bytes for "-", * one byte for 0-termination. */ + #define GNUNET_TUN_IPV4_REGEXLEN 16