diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-18 18:22:53 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-18 18:22:53 +0000 |
commit | 38e95b7a0943ef013f72de2e004af96fbf50883a (patch) | |
tree | 78b933e606bac1a2125473bb2bbe302f5bd4345a /pkg/tcpip/transport/udp | |
parent | 89d431b577df59d1f3bf52e2c21c4b54d60cb9db (diff) | |
parent | fc342fb43960e5f75103e727cd122479e015d321 (diff) |
Merge release-20201109.0-71-gfc342fb43 (automated)
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r-- | pkg/tcpip/transport/udp/endpoint.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go index 835dcc54e..81601f559 100644 --- a/pkg/tcpip/transport/udp/endpoint.go +++ b/pkg/tcpip/transport/udp/endpoint.go @@ -1535,10 +1535,12 @@ func isBroadcastOrMulticast(a tcpip.Address) bool { return a == header.IPv4Broadcast || header.IsV4MulticastAddress(a) || header.IsV6MulticastAddress(a) } +// SetOwner implements tcpip.Endpoint.SetOwner. func (e *endpoint) SetOwner(owner tcpip.PacketOwner) { e.owner = owner } +// SocketOptions implements tcpip.Endpoint.SocketOptions. func (e *endpoint) SocketOptions() *tcpip.SocketOptions { return &e.ops } |