MCPcopy Create free account
hub / github.com/celzero/firestack / makeWgTun

Function makeWgTun

intra/ipn/wgproxy.go:910–998  ·  view source on GitHub ↗

ref: github.com/WireGuard/wireguard-go/blob/469159ecf7/tun/netstack/tun.go#L54

(pctx context.Context, id, cfg string, ctl protect.Controller, px ProxyProvider, lp LinkProps, ifopts wgifopts)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewWgProxyFunction · 0.85

Calls 15

allowedIPsMethod · 0.95
whoMethod · 0.95
maybeSpoofMethod · 0.95
setupReverserIfNeededMethod · 0.95
setRoutesMethod · 0.95
tagMethod · 0.95
SetNetstackOptsFunction · 0.92
MakeNsRDialFunction · 0.92
NewVolatileFunction · 0.92
LocFunction · 0.92
LocStrFunction · 0.92
StackAddrsFunction · 0.92

Tested by

no test coverage detected