summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/BUILD
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-01-03 12:58:40 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-03 13:00:19 -0800
commitd1d878a801e066d6a54838ac3b2cdb43d65743e1 (patch)
treed89bd23bc5d562508a6f803af51555e008a67ea6 /pkg/tcpip/header/BUILD
parent1f384ac42b9ee8b52000dc2bff79d975853519ed (diff)
Support generating opaque interface identifiers as defined by RFC 7217
Support generating opaque interface identifiers as defined by RFC 7217 for auto-generated IPv6 link-local addresses. Opaque interface identifiers will also be used for IPv6 addresses auto-generated via SLAAC in a later change. Note, this change does not handle retries in response to DAD conflicts yet. That will also come in a later change. Tests: Test that when configured to generated opaque IIDs, they are properly generated as outlined by RFC 7217. PiperOrigin-RevId: 288035349
Diffstat (limited to 'pkg/tcpip/header/BUILD')
-rw-r--r--pkg/tcpip/header/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/header/BUILD b/pkg/tcpip/header/BUILD
index f1d837196..f2061c778 100644
--- a/pkg/tcpip/header/BUILD
+++ b/pkg/tcpip/header/BUILD
@@ -44,6 +44,7 @@ go_test(
],
deps = [
":header",
+ "//pkg/rand",
"//pkg/tcpip",
"//pkg/tcpip/buffer",
"@com_github_google_go-cmp//cmp:go_default_library",