MCPcopy Create free account
hub / github.com/encodeous/nylon / Addr

Method Addr

polyamide/tun/netstack/tun.go:307–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305}
306
307func (ia PingAddr) Addr() netip.Addr {
308 return ia.addr
309}
310
311func PingAddrFromAddr(addr netip.Addr) *PingAddr {
312 return &PingAddr{addr}

Callers 15

DstIPMethod · 0.45
DstIPMethod · 0.45
udp4PacketMutateIPFieldsFunction · 0.45
udp6PacketMutateIPFieldsFunction · 0.45
tcp4PacketMutateIPFieldsFunction · 0.45
tcp6PacketMutateIPFieldsFunction · 0.45
convertToFullAddrFunction · 0.45
DialContextMethod · 0.45
RemoveMethod · 0.45
InsertMethod · 0.45
PrefixToMaskStringFunction · 0.45
ConfigureRouteFunction · 0.45

Calls

no outgoing calls

Tested by 4

udp4PacketMutateIPFieldsFunction · 0.36
udp6PacketMutateIPFieldsFunction · 0.36
tcp4PacketMutateIPFieldsFunction · 0.36
tcp6PacketMutateIPFieldsFunction · 0.36