MCPcopy
hub / github.com/WireGuard/wireguard-go / Lookup

Method Lookup

device/indextable.go:94–98  ·  view source on GitHub ↗
(id uint32)

Source from the content-addressed store, hash-verified

92}
93
94func (table *IndexTable) Lookup(id uint32) IndexTableEntry {
95 table.RLock()
96 defer table.RUnlock()
97 return table.table[id]
98}

Callers 6

goroutineLeakCheckFunction · 0.45
RoutineHandshakeMethod · 0.45
RoutineReadFromTUNMethod · 0.45

Calls

no outgoing calls

Tested by 1

goroutineLeakCheckFunction · 0.36