DPDK
24.11.0-rc3
|
Go to the source code of this file.
Functions | |
static uint16_t | rte_raw_cksum (const void *buf, size_t len) |
static int | rte_raw_cksum_mbuf (const struct rte_mbuf *m, uint32_t off, uint32_t len, uint16_t *cksum) |
Protocol independent checksum utilities.
Definition in file rte_cksum.h.
|
inlinestatic |
Process the non-complemented checksum of a buffer.
buf | Pointer to the buffer. |
len | Length of the buffer. |
Definition at line 94 of file rte_cksum.h.
|
inlinestatic |
Compute the raw (non complemented) checksum of a packet.
m | The pointer to the mbuf. |
off | The offset in bytes to start the checksum. |
len | The length in bytes of the data to checksum. |
cksum | A pointer to the checksum, filled on success. |
Definition at line 117 of file rte_cksum.h.