aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin.rs4
-rw-r--r--src/config.rs4
-rw-r--r--src/ip.rs4
-rw-r--r--src/main.rs4
-rw-r--r--src/proto.rs4
-rw-r--r--src/wg.rs4
6 files changed, 24 insertions, 0 deletions
diff --git a/src/bin.rs b/src/bin.rs
index 99ff766..ecef739 100644
--- a/src/bin.rs
+++ b/src/bin.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
#[inline]
pub fn i64_to_be(v: i64) -> [u8; 8] {
u64_to_be(v as u64)
diff --git a/src/config.rs b/src/config.rs
index 4a3c385..eab10fe 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
use crate::ip::{Ipv4Set, Ipv6Set};
use serde_derive;
diff --git a/src/ip.rs b/src/ip.rs
index 6668059..46d635a 100644
--- a/src/ip.rs
+++ b/src/ip.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
use crate::bin;
use serde;
use std::iter::{FromIterator, IntoIterator};
diff --git a/src/main.rs b/src/main.rs
index f0fa41b..0ef17aa 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
#[macro_use]
extern crate arrayref;
diff --git a/src/proto.rs b/src/proto.rs
index 609dbd9..414eee8 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
use serde_derive;
use std::time::SystemTime;
diff --git a/src/wg.rs b/src/wg.rs
index 650aef9..94f9603 100644
--- a/src/wg.rs
+++ b/src/wg.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 Hristo Venev
+//
+// See COPYING.
+
use crate::ip::{Endpoint, Ipv4Net, Ipv6Net};
use crate::{config, proto};
use hash_map::HashMap;