MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / udp_done

Function udp_done

sshuttle/client.py:534–538  ·  view source on GitHub ↗
(chan, data, method, sock, dstip)

Source from the content-addressed store, hash-verified

532
533
534def udp_done(chan, data, method, sock, dstip):
535 (src, srcport, data) = data.split(b",", 2)
536 srcip = (src, int(srcport))
537 debug3('doing send from %r to %r' % (srcip, dstip,))
538 method.send_udp(sock, srcip, dstip, data)
539
540
541def onaccept_udp(listener, method, mux, handlers):

Callers 1

onaccept_udpFunction · 0.85

Calls 2

debug3Function · 0.90
send_udpMethod · 0.45

Tested by

no test coverage detected