Function

mbuf_get_csum_requested

Declaration

errno_t mbuf_get_csum_requested(mbuf_t mbuf, mbuf_csum_request_flags_t *request, u_int32_t *value);

Parameters

mbuf

The mbuf containing the packet.

request

Flags indicating which checksums are being requested for this packet.

value

This parameter is currently unsupported.

Return Value

0 upon success otherwise the errno error.

Discussion

This function is used by the driver to determine which checksum operations should be performed in hardware.