From 5718c6391fb9c79cbe2a34fd709a424104afe8f6 Mon Sep 17 00:00:00 2001 From: Dennis Schwerdel Date: Sat, 22 Jul 2017 16:49:53 +0200 Subject: [PATCH] Updated copyright headers --- build.rs | 4 ++++ src/benches.rs | 2 +- src/c/tuntap.c | 2 +- src/cloud.rs | 2 +- src/config.rs | 4 ++++ src/crypto.rs | 2 +- src/device.rs | 2 +- src/ethernet.rs | 2 +- src/ip.rs | 2 +- src/main.rs | 2 +- src/poll/epoll.rs | 4 ++++ src/poll/mod.rs | 3 +++ src/port_forwarding.rs | 4 ++++ src/tests.rs | 2 +- src/types.rs | 2 +- src/udpmessage.rs | 2 +- src/util.rs | 2 +- 17 files changed, 31 insertions(+), 12 deletions(-) diff --git a/build.rs b/build.rs index 0705300..f00fc6a 100644 --- a/build.rs +++ b/build.rs @@ -1,3 +1,7 @@ +// VpnCloud - Peer-to-Peer VPN +// Copyright (C) 2015-2017 Dennis Schwerdel +// This software is licensed under GPL-3 or newer (see LICENSE.md) + extern crate gcc; extern crate pkg_config; diff --git a/src/benches.rs b/src/benches.rs index 761a060..026e217 100644 --- a/src/benches.rs +++ b/src/benches.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use test::Bencher; diff --git a/src/c/tuntap.c b/src/c/tuntap.c index d930205..d729cbf 100644 --- a/src/c/tuntap.c +++ b/src/c/tuntap.c @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) #include diff --git a/src/cloud.rs b/src/cloud.rs index c7c4b5a..e290400 100644 --- a/src/cloud.rs +++ b/src/cloud.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::{SocketAddr, ToSocketAddrs}; diff --git a/src/config.rs b/src/config.rs index 1aa1a7a..7b2d7d4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,3 +1,7 @@ +// VpnCloud - Peer-to-Peer VPN +// Copyright (C) 2015-2017 Dennis Schwerdel +// This software is licensed under GPL-3 or newer (see LICENSE.md) + use super::{MAGIC, Args}; use super::device::Type; diff --git a/src/crypto.rs b/src/crypto.rs index a64bb5d..42c7cd9 100644 --- a/src/crypto.rs +++ b/src/crypto.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::ptr; diff --git a/src/device.rs b/src/device.rs index b6ba9de..533bdb3 100644 --- a/src/device.rs +++ b/src/device.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::os::unix::io::{AsRawFd, RawFd}; diff --git a/src/ethernet.rs b/src/ethernet.rs index 1c3467b..be8c786 100644 --- a/src/ethernet.rs +++ b/src/ethernet.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::SocketAddr; diff --git a/src/ip.rs b/src/ip.rs index a9fd3f6..bbbb0dc 100644 --- a/src/ip.rs +++ b/src/ip.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::SocketAddr; diff --git a/src/main.rs b/src/main.rs index 27db7a7..65872bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) #![cfg_attr(feature = "bench", feature(test))] diff --git a/src/poll/epoll.rs b/src/poll/epoll.rs index 2f1c3f4..ddad7c8 100644 --- a/src/poll/epoll.rs +++ b/src/poll/epoll.rs @@ -1,3 +1,7 @@ +// VpnCloud - Peer-to-Peer VPN +// Copyright (C) 2015-2017 Dennis Schwerdel +// This software is licensed under GPL-3 or newer (see LICENSE.md) + use libc; use std::os::unix::io::RawFd; diff --git a/src/poll/mod.rs b/src/poll/mod.rs index b84cc88..77879ce 100644 --- a/src/poll/mod.rs +++ b/src/poll/mod.rs @@ -1,3 +1,6 @@ +// VpnCloud - Peer-to-Peer VPN +// Copyright (C) 2015-2017 Dennis Schwerdel +// This software is licensed under GPL-3 or newer (see LICENSE.md) #[cfg(any(target_os = "linux", target_os = "android"))] mod epoll; diff --git a/src/port_forwarding.rs b/src/port_forwarding.rs index 89a7f1e..20f050f 100644 --- a/src/port_forwarding.rs +++ b/src/port_forwarding.rs @@ -1,3 +1,7 @@ +// VpnCloud - Peer-to-Peer VPN +// Copyright (C) 2015-2017 Dennis Schwerdel +// This software is licensed under GPL-3 or newer (see LICENSE.md) + use std::net::{SocketAddrV4, UdpSocket, SocketAddr}; use std::io; diff --git a/src/tests.rs b/src/tests.rs index 7f34bb9..b5c3b6e 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::{ToSocketAddrs, SocketAddr}; diff --git a/src/types.rs b/src/types.rs index dfde678..26d8784 100644 --- a/src/types.rs +++ b/src/types.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::{SocketAddr, Ipv4Addr, Ipv6Addr}; diff --git a/src/udpmessage.rs b/src/udpmessage.rs index 8d49ab9..9bfa121 100644 --- a/src/udpmessage.rs +++ b/src/udpmessage.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::fmt; diff --git a/src/util.rs b/src/util.rs index 43c74fd..b9ba280 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1,5 +1,5 @@ // VpnCloud - Peer-to-Peer VPN -// Copyright (C) 2015-2016 Dennis Schwerdel +// Copyright (C) 2015-2017 Dennis Schwerdel // This software is licensed under GPL-3 or newer (see LICENSE.md) use std::net::{SocketAddr, ToSocketAddrs};