summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/sighandling
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2020-02-06 14:03:49 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-06 14:07:04 -0800
commit736775e0ac592c266acac0a7415f21d54715a54c (patch)
tree902007ad71d46bebc14f362f957a4a1ee1a273cb /pkg/sentry/sighandling
parent615d66111214f5ae9b41fb2a89bb3549c03fc7af (diff)
Make gonet consistent both internally and with the net package.
The types gonet.Conn and gonet.PacketConn were confusingly named as both implemented net.Conn. Further, gonet.Conn was perhaps unexpectedly TCP-specific (net.Conn is not). This change renames them to gonet.TCPConn and gonet.UDPConn. Renames gonet.NewListener to gonet.ListenTCP and adds a new gonet.NewTCPListner function to be consistent with both the gonet.DialXxx and gonet.NewXxxConn functions as well as net.ListenTCP. Updates #1632 PiperOrigin-RevId: 293671303
Diffstat (limited to 'pkg/sentry/sighandling')
0 files changed, 0 insertions, 0 deletions