diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-03-27 15:34:17 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-28 14:35:43 +0100 |
| commit | b7a471813b03cf296c37bd93f45f5bb17147ccd4 (patch) | |
| tree | e5ce8e257c6593c62ee910e268cab1f2718fccad /doc/platform-requirements | |
| parent | 8081aa597be4007f3ef15fe8ce11ec8ad0ab8b42 (diff) | |
| download | passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar.gz passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar.bz2 passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar.lz passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar.xz passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.tar.zst passt-b7a471813b03cf296c37bd93f45f5bb17147ccd4.zip | |
serialise: Add helpers for serialising unsigned integers
Add helpers to serialise/deserialise unsigned integers, handling endian
conversion so that the stream format is consistent regardless of host
endiannness. Currently we only use this on one place: sending the number
of flows during migration. We're going to have more use for this as we
add dynamic configuration updates, so these will become more useful.
For now we only need a 32-bit version, however define the functions with
a macro so we can easily add other integer widths when we need them.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements')
0 files changed, 0 insertions, 0 deletions
