From 9951a917c70139ddb1e978b6e1e87502b10dcf24 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 17 Jun 2020 06:54:02 +0200 Subject: [PATCH] Updated (C) --- edge.c | 2 +- edge_utils.c | 2 +- example_edge_embed_quick_edge_init.c | 2 +- n2n.c | 2 +- n2n.h | 2 +- n2n_transforms.h | 2 +- n2n_wire.h | 2 +- pearson.c | 18 ++++++++++++++++++ pearson.h | 18 ++++++++++++++++++ sn.c | 2 +- transform_null.c | 2 +- transform_tf.c | 2 +- tuntap_freebsd.c | 2 +- tuntap_linux.c | 2 +- tuntap_netbsd.c | 2 +- tuntap_osx.c | 2 +- wire.c | 2 +- 17 files changed, 51 insertions(+), 15 deletions(-) diff --git a/edge.c b/edge.c index 8babd45..b15762d 100644 --- a/edge.c +++ b/edge.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/edge_utils.c b/edge_utils.c index 825b8ef..cf2e80e 100644 --- a/edge_utils.c +++ b/edge_utils.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/example_edge_embed_quick_edge_init.c b/example_edge_embed_quick_edge_init.c index ba0eb02..4618059 100644 --- a/example_edge_embed_quick_edge_init.c +++ b/example_edge_embed_quick_edge_init.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/n2n.c b/n2n.c index b3479ce..fe8d39a 100644 --- a/n2n.c +++ b/n2n.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/n2n.h b/n2n.h index 7041fa3..7737213 100644 --- a/n2n.h +++ b/n2n.h @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/n2n_transforms.h b/n2n_transforms.h index 1734ec1..589e36b 100644 --- a/n2n_transforms.h +++ b/n2n_transforms.h @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/n2n_wire.h b/n2n_wire.h index 0a64f4a..7cd0e41 100644 --- a/n2n_wire.h +++ b/n2n_wire.h @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/pearson.c b/pearson.c index e91bd94..0ff0e0d 100644 --- a/pearson.c +++ b/pearson.c @@ -1,3 +1,21 @@ +/** + * (C) 2007-20 - ntop.org and contributors + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not see see + * + */ + // taken from https://github.com/Logan007/pearson // This is free and unencumbered software released into the public domain. diff --git a/pearson.h b/pearson.h index 43d1f98..5e4ca66 100644 --- a/pearson.h +++ b/pearson.h @@ -1 +1,19 @@ +/** + * (C) 2007-20 - ntop.org and contributors + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not see see + * + */ + void pearson_hash_256 (uint8_t *out, const uint8_t *in, size_t len); diff --git a/sn.c b/sn.c index 9d7c26b..8c01a7b 100644 --- a/sn.c +++ b/sn.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/transform_null.c b/transform_null.c index 062ddf2..830bcfa 100644 --- a/transform_null.c +++ b/transform_null.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/transform_tf.c b/transform_tf.c index 412f65f..481e972 100644 --- a/transform_tf.c +++ b/transform_tf.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tuntap_freebsd.c b/tuntap_freebsd.c index 7404c95..d871e89 100644 --- a/tuntap_freebsd.c +++ b/tuntap_freebsd.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tuntap_linux.c b/tuntap_linux.c index 6e1e770..7a5cbb4 100644 --- a/tuntap_linux.c +++ b/tuntap_linux.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tuntap_netbsd.c b/tuntap_netbsd.c index 2d948d9..617e2b2 100644 --- a/tuntap_netbsd.c +++ b/tuntap_netbsd.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tuntap_osx.c b/tuntap_osx.c index 52a1d28..ef166ff 100644 --- a/tuntap_osx.c +++ b/tuntap_osx.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/wire.c b/wire.c index e2f2974..7febcc4 100644 --- a/wire.c +++ b/wire.c @@ -1,5 +1,5 @@ /** - * (C) 2007-18 - ntop.org and contributors + * (C) 2007-20 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by