From 576e70e92c6fc252dcc431ce11dccfe53a795d61 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 5 Mar 2016 15:14:52 -0800 Subject: [PATCH] Add copyright/license headers to source. --- dhcp/dhcp.go | 14 ++++++++++++++ dhcp/dhcp_test.go | 14 ++++++++++++++ dhcp/options.go | 14 ++++++++++++++ dhcp/options_test.go | 14 ++++++++++++++ pcap/reader.go | 14 ++++++++++++++ pcap/reader_test.go | 14 ++++++++++++++ pcap/writer.go | 14 ++++++++++++++ pcap/writer_test.go | 14 ++++++++++++++ tftp/handlers.go | 14 ++++++++++++++ tftp/interop_test.go | 14 ++++++++++++++ tftp/tftp.go | 14 ++++++++++++++ 11 files changed, 154 insertions(+) diff --git a/dhcp/dhcp.go b/dhcp/dhcp.go index e33415c..746c461 100644 --- a/dhcp/dhcp.go +++ b/dhcp/dhcp.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package dhcp implements parsing and serialization of DHCP packets. package dhcp diff --git a/dhcp/dhcp_test.go b/dhcp/dhcp_test.go index 3f29398..14361f8 100644 --- a/dhcp/dhcp_test.go +++ b/dhcp/dhcp_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dhcp import ( diff --git a/dhcp/options.go b/dhcp/options.go index 87c92a1..b608226 100644 --- a/dhcp/options.go +++ b/dhcp/options.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dhcp import ( diff --git a/dhcp/options_test.go b/dhcp/options_test.go index 1483dd8..1f33520 100644 --- a/dhcp/options_test.go +++ b/dhcp/options_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package dhcp import "testing" diff --git a/pcap/reader.go b/pcap/reader.go index 1d07312..88440ad 100644 --- a/pcap/reader.go +++ b/pcap/reader.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package pcap implements reading and writing the "classic" libpcap format. package pcap diff --git a/pcap/reader_test.go b/pcap/reader_test.go index 9fc09e0..32acc4f 100644 --- a/pcap/reader_test.go +++ b/pcap/reader_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package pcap import ( diff --git a/pcap/writer.go b/pcap/writer.go index 8f45453..f823885 100644 --- a/pcap/writer.go +++ b/pcap/writer.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package pcap import ( diff --git a/pcap/writer_test.go b/pcap/writer_test.go index 5f99364..a5d0827 100644 --- a/pcap/writer_test.go +++ b/pcap/writer_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package pcap import ( diff --git a/tftp/handlers.go b/tftp/handlers.go index 218e761..c99da40 100644 --- a/tftp/handlers.go +++ b/tftp/handlers.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tftp import ( diff --git a/tftp/interop_test.go b/tftp/interop_test.go index 5240688..b59573a 100644 --- a/tftp/interop_test.go +++ b/tftp/interop_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tftp import ( diff --git a/tftp/tftp.go b/tftp/tftp.go index 75b7402..58820c1 100644 --- a/tftp/tftp.go +++ b/tftp/tftp.go @@ -1,3 +1,17 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package tftp implements a read-only TFTP server. package tftp