Update dependencies
This commit is contained in:
19
vendor/gvisor.dev/gvisor/pkg/tcpip/tcpip.go
vendored
19
vendor/gvisor.dev/gvisor/pkg/tcpip/tcpip.go
vendored
@@ -35,7 +35,6 @@ import (
|
||||
"io"
|
||||
"math"
|
||||
"math/bits"
|
||||
"math/rand"
|
||||
"net"
|
||||
"reflect"
|
||||
"strconv"
|
||||
@@ -43,6 +42,7 @@ import (
|
||||
"time"
|
||||
|
||||
"gvisor.dev/gvisor/pkg/atomicbitops"
|
||||
"gvisor.dev/gvisor/pkg/rand"
|
||||
"gvisor.dev/gvisor/pkg/sync"
|
||||
"gvisor.dev/gvisor/pkg/waiter"
|
||||
)
|
||||
@@ -1185,6 +1185,19 @@ func (*ICMPv6Filter) isGettableSocketOption() {}
|
||||
|
||||
func (*ICMPv6Filter) isSettableSocketOption() {}
|
||||
|
||||
// TpacketReq is the tpacket_req structure as described in
|
||||
// https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt
|
||||
//
|
||||
// +stateify savable
|
||||
type TpacketReq struct {
|
||||
TpBlockSize uint32
|
||||
TpBlockNr uint32
|
||||
TpFrameSize uint32
|
||||
TpFrameNr uint32
|
||||
}
|
||||
|
||||
func (*TpacketReq) isSettableSocketOption() {}
|
||||
|
||||
// EndpointState represents the state of an endpoint.
|
||||
type EndpointState uint8
|
||||
|
||||
@@ -1981,6 +1994,10 @@ type IPForwardingStats struct {
|
||||
// successfully forwarded.
|
||||
Errors *StatCounter
|
||||
|
||||
// OutgoingDeviceClosedForSend is the number of packets that were dropped due
|
||||
// to the outgoing device being closed for send.
|
||||
OutgoingDeviceClosedForSend *StatCounter
|
||||
|
||||
// LINT.ThenChange(network/internal/ip/stats.go:MultiCounterIPForwardingStats)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user