MCPcopy Create free account
hub / github.com/coder/wush / randv6

Function randv6

overlay/overlay.go:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51var TailscaleServicePrefix6 = [6]byte{0xfd, 0x7a, 0x11, 0x5c, 0xa1, 0xe0}
52
53func randv6() netip.Addr {
54 uid := uuid.New()
55 copy(uid[:], TailscaleServicePrefix6[:])
56 return netip.AddrFrom16(uid)
57}

Callers 2

NewWasmOverlayFunction · 0.85
NewSendOverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected