Projects STRLCPY tun2socks Commits 7ab86fd9
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    core/device/iobased/endpoint.go
    skipped 7 lines
    8 8   "io"
    9 9   "sync"
    10 10   
    11  - "gvisor.dev/gvisor/pkg/bufferv2"
     11 + "gvisor.dev/gvisor/pkg/buffer"
    12 12   "gvisor.dev/gvisor/pkg/tcpip"
    13 13   "gvisor.dev/gvisor/pkg/tcpip/header"
    14 14   "gvisor.dev/gvisor/pkg/tcpip/link/channel"
    skipped 95 lines
    110 110   }
    111 111   
    112 112   pkt := stack.NewPacketBuffer(stack.PacketBufferOptions{
    113  - Payload: bufferv2.MakeWithData(data[offset : offset+n]),
     113 + Payload: buffer.MakeWithData(data[offset : offset+n]),
    114 114   })
    115 115   
    116 116   switch header.IPVersion(data[offset:]) {
    skipped 25 lines
    142 142   buf := pkt.ToBuffer()
    143 143   defer buf.Release()
    144 144   if e.offset != 0 {
    145  - v := bufferv2.NewViewWithData(make([]byte, e.offset))
     145 + v := buffer.NewViewWithData(make([]byte, e.offset))
    146 146   _ = buf.Prepend(v)
    147 147   }
    148 148   
    skipped 6 lines
Please wait...
Page is in error, reload to recover