diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-04-28 18:09:34 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-04-28 18:10:24 -0700 |
commit | 7fd466a09e2a80d28bc3176e8785fc00c6a98a5e (patch) | |
tree | 353dc589294e23c9a65973ff71d7c7473552d6c3 | |
parent | 913aa0a24dc3ed6cb71971e56c6ae363e8d0113d (diff) |
Add mising license headers.
PiperOrigin-RevId: 194676372
Change-Id: I2e7fce03e70a45f2a872160c33e05f822ae2d866
-rw-r--r-- | pkg/gate/gate.go | 4 | ||||
-rw-r--r-- | pkg/gate/gate_test.go | 4 | ||||
-rw-r--r-- | pkg/sleep/commit_amd64.s | 4 | ||||
-rw-r--r-- | pkg/sleep/sleep_test.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/header/tcp_test.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/link/rawfile/blockingpoll_amd64.s | 4 | ||||
-rw-r--r-- | pkg/tcpip/link/rawfile/errors.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/link/sniffer/pcap.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/link/tun/tun_unsafe.go | 1 | ||||
-rw-r--r-- | pkg/tcpip/ports/ports_test.go | 1 | ||||
-rw-r--r-- | pkg/tcpip/transport/tcp/sack.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/transport/tcp/tcp_sack_test.go | 4 | ||||
-rw-r--r-- | pkg/tcpip/transport/tcp/tcp_timestamp_test.go | 4 |
13 files changed, 46 insertions, 0 deletions
diff --git a/pkg/gate/gate.go b/pkg/gate/gate.go index 47651c761..4b332a725 100644 --- a/pkg/gate/gate.go +++ b/pkg/gate/gate.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + // Package gate provides a usage Gate synchronization primitive. package gate diff --git a/pkg/gate/gate_test.go b/pkg/gate/gate_test.go index b3b101a0c..b7f6f54fb 100644 --- a/pkg/gate/gate_test.go +++ b/pkg/gate/gate_test.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package gate_test import ( diff --git a/pkg/sleep/commit_amd64.s b/pkg/sleep/commit_amd64.s index a5b620bf8..51d4f9189 100644 --- a/pkg/sleep/commit_amd64.s +++ b/pkg/sleep/commit_amd64.s @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + #include "textflag.h" #define preparingG 1 diff --git a/pkg/sleep/sleep_test.go b/pkg/sleep/sleep_test.go index eba18014c..281927d43 100644 --- a/pkg/sleep/sleep_test.go +++ b/pkg/sleep/sleep_test.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package sleep import ( diff --git a/pkg/tcpip/header/tcp_test.go b/pkg/tcpip/header/tcp_test.go index 27d43479a..b1dfd4dc5 100644 --- a/pkg/tcpip/header/tcp_test.go +++ b/pkg/tcpip/header/tcp_test.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package header_test import ( diff --git a/pkg/tcpip/link/rawfile/blockingpoll_amd64.s b/pkg/tcpip/link/rawfile/blockingpoll_amd64.s index 88206fc87..d6778dafe 100644 --- a/pkg/tcpip/link/rawfile/blockingpoll_amd64.s +++ b/pkg/tcpip/link/rawfile/blockingpoll_amd64.s @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + #include "textflag.h" // blockingPoll makes the poll() syscall while calling the version of diff --git a/pkg/tcpip/link/rawfile/errors.go b/pkg/tcpip/link/rawfile/errors.go index b6e7b3d71..ce58ee975 100644 --- a/pkg/tcpip/link/rawfile/errors.go +++ b/pkg/tcpip/link/rawfile/errors.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package rawfile import ( diff --git a/pkg/tcpip/link/sniffer/pcap.go b/pkg/tcpip/link/sniffer/pcap.go index 6d0dd565a..732a520dd 100644 --- a/pkg/tcpip/link/sniffer/pcap.go +++ b/pkg/tcpip/link/sniffer/pcap.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package sniffer import "time" diff --git a/pkg/tcpip/link/tun/tun_unsafe.go b/pkg/tcpip/link/tun/tun_unsafe.go index 5b6c9b4ab..f2a2ec69e 100644 --- a/pkg/tcpip/link/tun/tun_unsafe.go +++ b/pkg/tcpip/link/tun/tun_unsafe.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Package tun contains methods to open TAP and TUN devices. package tun import ( diff --git a/pkg/tcpip/ports/ports_test.go b/pkg/tcpip/ports/ports_test.go index 9a4c702b2..372f77d55 100644 --- a/pkg/tcpip/ports/ports_test.go +++ b/pkg/tcpip/ports/ports_test.go @@ -1,6 +1,7 @@ // Copyright 2016 The Netstack Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. + package ports import ( diff --git a/pkg/tcpip/transport/tcp/sack.go b/pkg/tcpip/transport/tcp/sack.go index 0b66305a5..000696455 100644 --- a/pkg/tcpip/transport/tcp/sack.go +++ b/pkg/tcpip/transport/tcp/sack.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package tcp import ( diff --git a/pkg/tcpip/transport/tcp/tcp_sack_test.go b/pkg/tcpip/transport/tcp/tcp_sack_test.go index 19de96dcb..2768958ee 100644 --- a/pkg/tcpip/transport/tcp/tcp_sack_test.go +++ b/pkg/tcpip/transport/tcp/tcp_sack_test.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package tcp_test import ( diff --git a/pkg/tcpip/transport/tcp/tcp_timestamp_test.go b/pkg/tcpip/transport/tcp/tcp_timestamp_test.go index ae1b578c5..d12081bb7 100644 --- a/pkg/tcpip/transport/tcp/tcp_timestamp_test.go +++ b/pkg/tcpip/transport/tcp/tcp_timestamp_test.go @@ -1,3 +1,7 @@ +// Copyright 2016 The Netstack Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package tcp_test import ( |