package
0.0.0-20191123085552-55fcc16cd0eb
Repository: https://github.com/comzyh/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.