package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
DecodeRxBufferHeader decodes the header of a buffer posted on an rx queue.
DecodeTxBufferHeader decodes the header of the i-th buffer of a packet sent over a tx queue.
DecodeTxPacketHeader decodes the header of a packet sent over a tx queue.
EncodeRxCompletion encodes an rx completion header.
EncodeRxCompletionBuffer encodes the i-th rx completion buffer header.
EncodeTxCompletion encodes a tx completion header.
RxCompletionSize returns the number of bytes needed to encode an rx completion containing "count" buffers.
# Constants
EventFDDisabled is the value stored at the start of the shared data region when notifications using eventFD has been disabled.
EventFDEnabled is the value stored at the start of the shared data region when eventFD should be notified as the peer might be blocked waiting on notifications.
The following are the allowed states of the shared data area.