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

Function dns_done

sshuttle/client.py:563–567  ·  view source on GitHub ↗
(chan, data, method, sock, srcip, dstip, mux)

Source from the content-addressed store, hash-verified

561
562
563def dns_done(chan, data, method, sock, srcip, dstip, mux):
564 debug3('dns_done: channel=%d src=%r dst=%r' % (chan, srcip, dstip))
565 del mux.channels[chan]
566 del dnsreqs[chan]
567 method.send_udp(sock, srcip, dstip, data)
568
569
570def ondns(listener, method, mux, handlers):

Callers 1

ondnsFunction · 0.85

Calls 2

debug3Function · 0.90
send_udpMethod · 0.45

Tested by

no test coverage detected