diff options
author | Ian Gudger <igudger@google.com> | 2018-09-13 19:11:12 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-13 19:12:15 -0700 |
commit | 29a7271f5da9fdb7b4a9a6c9ea61421ce6844a73 (patch) | |
tree | 6b6fe019f6459d36f50cdf47e406ccb0ae034f83 /pkg/tcpip/BUILD | |
parent | bde2a91433cfbac426577a691bf13817115b53be (diff) |
Plumb monotonic time to netstack
Netstack needs to be portable, so this seems to be preferable to using raw
system calls.
PiperOrigin-RevId: 212917409
Change-Id: I7b2073e7db4b4bf75300717ca23aea4c15be944c
Diffstat (limited to 'pkg/tcpip/BUILD')
-rw-r--r-- | pkg/tcpip/BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/tcpip/BUILD b/pkg/tcpip/BUILD index 5153bd3b4..daff9a0a0 100644 --- a/pkg/tcpip/BUILD +++ b/pkg/tcpip/BUILD @@ -4,7 +4,10 @@ load("//tools/go_stateify:defs.bzl", "go_library", "go_test") go_library( name = "tcpip", - srcs = ["tcpip.go"], + srcs = [ + "tcpip.go", + "time_unsafe.go", + ], importpath = "gvisor.googlesource.com/gvisor/pkg/tcpip", visibility = ["//visibility:public"], deps = [ |