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

Method Name

polyamide/tun/tun_linux.go:302–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300}
301
302func (tun *NativeTun) Name() (string, error) {
303 tun.nameOnce.Do(tun.initNameCache)
304 return tun.nameCache, tun.nameErr
305}
306
307func (tun *NativeTun) initNameCache() {
308 tun.nameCache, tun.nameErr = tun.nameSlow()

Callers 4

setMTUMethod · 0.95
MTUMethod · 0.95
CreateTUNFromFileFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected