()
| 432 | } |
| 433 | |
| 434 | func (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. |
| 441 | type Conn struct { |
no outgoing calls
no test coverage detected