MCPcopy Index your code
hub / github.com/celzero/firestack / udpForwarder

Function udpForwarder

intra/netstack/udp.go:117–187  ·  view source on GitHub ↗

Perhaps udp conns shouldn't be closed as eagerly as its tcp counterpart Netstack's udp conn is apparently a 'connected udp' socket and it goes through a lot of motions, from what I can tell, to support both unconnected and connected udp sockets. This is untested and unconfirmed speculation from us,

(who string, s *stack.Stack, h GUDPConnHandler)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

OutboundUDPFunction · 0.85

Calls 12

EFunction · 0.92
DFunction · 0.92
remoteAddrPortFunction · 0.85
localAddrPortFunction · 0.85
makeGUDPConnFunction · 0.85
InboundUDPFunction · 0.85
handleFunction · 0.85
logeifFunction · 0.70
IDMethod · 0.65
ErrorMethod · 0.65
LoadMethod · 0.45
EstablishMethod · 0.45

Tested by

no test coverage detected