gvisor/pkg/tcpip/link
Bert Muthalaly 5685d6b5ad Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView
Makes it possible to avoid copying or allocating in cases where DeliverNetworkPacket (rx)
needs to turn around and call WritePacket (tx) with its VectorisedView.

Also removes the restriction on having VectorisedViews with multiple views in the write path.

PiperOrigin-RevId: 211728717
Change-Id: Ie03a65ecb4e28bd15ebdb9c69f05eced18fdfcff
2018-09-05 17:34:25 -07:00
..
channel Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00
fdbased Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00
loopback Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00
rawfile
sharedmem Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00
sniffer Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00
tun Allow building on !linux 2018-08-22 13:31:11 -07:00
waitable Update {LinkEndpoint,NetworkEndpoint}#WritePacket to take a VectorisedView 2018-09-05 17:34:25 -07:00