diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-14 14:00:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-14 14:03:53 -0700 |
commit | 5593b8a7e6cb5fc04c1b9e23a92b880517330cd4 (patch) | |
tree | c329a36b2dd9bec88068fc02c378595f36a92e7b /pkg/syserr/syserr.go | |
parent | 2b46e2d19e642ed8a0a58ea1c62a38b53e7dfb2d (diff) |
Don't use SOL_UDP when creating sockets
SOL_UDP is used when get/set-ing socket options to specify the socket
level. When creating normal UDP sockets, the protocol need not be
specified. When creating RAW IP sockets for UDP, use IPPROTO_UDP.
PiperOrigin-RevId: 396675986
Diffstat (limited to 'pkg/syserr/syserr.go')
0 files changed, 0 insertions, 0 deletions