summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp/BUILD
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2018-11-09 14:37:42 -0800
committerShentubot <shentubot@google.com>2018-11-09 14:38:46 -0800
commit33089561b1d53dada959a312ab69574cd6635b4b (patch)
tree7b497da71c6c238eafe4faf49bb2a9bbb0b4cddf /pkg/tcpip/transport/tcp/BUILD
parent93e88760b0d0c9c6656f7773f68540b1853d169b (diff)
Add an implementation of a SACK scoreboard as per RFC6675.
PiperOrigin-RevId: 220866996 Change-Id: I89d48215df57c00d6a6ec512fc18712a2ea9080b
Diffstat (limited to 'pkg/tcpip/transport/tcp/BUILD')
-rw-r--r--pkg/tcpip/transport/tcp/BUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/pkg/tcpip/transport/tcp/BUILD b/pkg/tcpip/transport/tcp/BUILD
index 5a77ee232..18e6a5dc6 100644
--- a/pkg/tcpip/transport/tcp/BUILD
+++ b/pkg/tcpip/transport/tcp/BUILD
@@ -28,6 +28,7 @@ go_library(
"rcv.go",
"reno.go",
"sack.go",
+ "sack_scoreboard.go",
"segment.go",
"segment_heap.go",
"segment_queue.go",
@@ -50,14 +51,24 @@ go_library(
"//pkg/tcpip/stack",
"//pkg/tmutex",
"//pkg/waiter",
+ "@com_github_google_btree//:go_default_library",
],
)
+filegroup(
+ name = "autogen",
+ srcs = [
+ "tcp_segment_list.go",
+ ],
+ visibility = ["//:sandbox"],
+)
+
go_test(
name = "tcp_test",
size = "small",
srcs = [
"dual_stack_test.go",
+ "sack_scoreboard_test.go",
"tcp_sack_test.go",
"tcp_test.go",
"tcp_timestamp_test.go",
@@ -79,11 +90,3 @@ go_test(
"//pkg/waiter",
],
)
-
-filegroup(
- name = "autogen",
- srcs = [
- "tcp_segment_list.go",
- ],
- visibility = ["//:sandbox"],
-)