Update gVisor to 20230814.0

This commit is contained in:
世界 2023-09-30 22:20:33 +08:00
parent 660222a0dd
commit 56a9b85cf5
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 11 additions and 3 deletions

View file

@ -102,6 +102,10 @@ func (e *WintunEndpoint) ARPHardwareType() header.ARPHardwareType {
func (e *WintunEndpoint) AddHeader(buffer stack.PacketBufferPtr) {
}
func (e *WintunEndpoint) ParseHeader(ptr stack.PacketBufferPtr) bool {
return true
}
func (e *WintunEndpoint) WritePackets(packetBufferList stack.PacketBufferList) (int, tcpip.Error) {
var n int
for _, packet := range packetBufferList.AsSlice() {