diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2018-11-09 14:37:42 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-11-09 14:38:46 -0800 |
commit | 33089561b1d53dada959a312ab69574cd6635b4b (patch) | |
tree | 7b497da71c6c238eafe4faf49bb2a9bbb0b4cddf /pkg/tcpip/transport/tcp/BUILD | |
parent | 93e88760b0d0c9c6656f7773f68540b1853d169b (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/BUILD | 19 |
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"], -) |