MCPcopy Index your code
hub / github.com/coder/coder / AsNetip

Method AsNetip

tailnet/conn.go:434–438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

432}
433
434func (p ServicePrefix) AsNetip() netip.Prefix {
435 out := [16]byte{}
436 copy(out[:], p[:])
437 return netip.PrefixFrom(netip.AddrFrom16(out), 48)
438}
439
440// Conn is an actively listening Wireguard connection.
441type Conn struct {

Callers 2

ExistsViaCoderConnectFunction · 0.80
reconfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected