summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-28 21:54:48 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-28 21:54:48 +0200
commit9d572f3b53259e0cae8c396539f9b0226016e24d (patch)
tree2928712b5f76fb40655edb337f7028762cb9c2a0 /src
parentae9df63aa9cb400e7c169b654f23a5b9e368aa7e (diff)
downloadfastd-9d572f3b53259e0cae8c396539f9b0226016e24d.tar
fastd-9d572f3b53259e0cae8c396539f9b0226016e24d.zip
Add license headers to Flex and Bison files; also remove Quicktun note as we don't actually use any of is code
Diffstat (limited to 'src')
-rw-r--r--src/config.c1
-rw-r--r--src/config.l26
-rw-r--r--src/config.y26
-rw-r--r--src/fastd.c1
-rw-r--r--src/fastd.h1
-rw-r--r--src/handshake.c1
-rw-r--r--src/handshake.h1
-rw-r--r--src/packet.h1
-rw-r--r--src/peer.c1
-rw-r--r--src/peer.h1
-rw-r--r--src/printf.c1
-rw-r--r--src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c1
-rw-r--r--src/protocol_null.c1
-rw-r--r--src/queue.c1
-rw-r--r--src/queue.h1
-rw-r--r--src/random.c1
-rw-r--r--src/task.c1
-rw-r--r--src/task.h1
-rw-r--r--src/types.h1
19 files changed, 52 insertions, 17 deletions
diff --git a/src/config.c b/src/config.c
index 6fd8def..f57696d 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/config.l b/src/config.l
index b1e61e6..808f96e 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1,3 +1,29 @@
+/*
+ Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
%option prefix="fastd_config_yy"
%option noyywrap
%option bison-bridge
diff --git a/src/config.y b/src/config.y
index da2015b..c1d6053 100644
--- a/src/config.y
+++ b/src/config.y
@@ -1,3 +1,29 @@
+/*
+ Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
%define api.pure
%define api.push-pull push
%name-prefix "fastd_config_"
diff --git a/src/fastd.c b/src/fastd.c
index af17c24..423c8c2 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/fastd.h b/src/fastd.h
index 5ea4260..fd6fead 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/handshake.c b/src/handshake.c
index 735a80c..53224b0 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/handshake.h b/src/handshake.h
index c485576..5e5e67f 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/packet.h b/src/packet.h
index b99f7de..4da0110 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/peer.c b/src/peer.c
index a15efb1..8fbc598 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/peer.h b/src/peer.h
index 8754d2f..725ea9a 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/printf.c b/src/printf.c
index 15ca844..912953c 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c b/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c
index 33f20b3..6d7e652 100644
--- a/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c
+++ b/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/protocol_null.c b/src/protocol_null.c
index 77839d9..7ed4cd3 100644
--- a/src/protocol_null.c
+++ b/src/protocol_null.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/queue.c b/src/queue.c
index 4b5a3f0..a2ef3dc 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/queue.h b/src/queue.h
index 60e7818..50456ee 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/random.c b/src/random.c
index 0681d77..f3f0dd5 100644
--- a/src/random.c
+++ b/src/random.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/task.c b/src/task.c
index 472d491..48da733 100644
--- a/src/task.c
+++ b/src/task.c
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/task.h b/src/task.h
index 80c6852..951f30a 100644
--- a/src/task.h
+++ b/src/task.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/types.h b/src/types.h
index 0713250..9828c8f 100644
--- a/src/types.h
+++ b/src/types.h
@@ -1,6 +1,5 @@
/*
Copyright (c) 2012, Matthias Schiffer <mschiffer@universe-factory.net>
- Partly based on QuickTun Copyright (c) 2010, Ivo Smits <Ivo@UCIS.nl>.
All rights reserved.
Redistribution and use in source and binary forms, with or without