diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2019-02-13 14:52:06 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-13 14:53:03 -0800 |
commit | e0b3d3323fbb4b27280f0087427bb04c3e71238b (patch) | |
tree | 4ad81ee05445e0f11a9c1c6fe1227bf49ecbbbab /pkg/tcpip/header/arp.go | |
parent | 0e84ae72e086c77cea066000a898b7bc951ba790 (diff) |
Add support for using PACKET_RX_RING to receive packets.
PACKET_RX_RING allows the use of an mmapped buffer to receive packets from the
kernel. This should cut down the number of host syscalls that need to be made
to receive packets when the underlying fd is a socket of the AF_PACKET type.
PiperOrigin-RevId: 233834998
Change-Id: I8060025c6ced206986e94cc46b8f382b81bfa47f
Diffstat (limited to 'pkg/tcpip/header/arp.go')
0 files changed, 0 insertions, 0 deletions