diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-05 15:32:28 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-05 21:46:17 +0100 |
| commit | 008175636c789d36ef585a94eee4d62536cac7d6 (patch) | |
| tree | 6f64364fb4d365739f7333c20410487a8c9b4e10 /contrib | |
| parent | 52419a64f2dfa31707b31148e6a311bb57be6e5f (diff) | |
| download | passt-008175636c789d36ef585a94eee4d62536cac7d6.tar passt-008175636c789d36ef585a94eee4d62536cac7d6.tar.gz passt-008175636c789d36ef585a94eee4d62536cac7d6.tar.bz2 passt-008175636c789d36ef585a94eee4d62536cac7d6.tar.lz passt-008175636c789d36ef585a94eee4d62536cac7d6.tar.xz passt-008175636c789d36ef585a94eee4d62536cac7d6.tar.zst passt-008175636c789d36ef585a94eee4d62536cac7d6.zip | |
ip: Helpers to access IPv6 flow label
The flow label is a 20-bit field in the IPv6 header. The length and
alignment make it awkward to pass around as is. Obviously, it can be
packed into a 32-bit integer though, and we do this in two places. We
have some further upcoming places where we want to manipulate the flow
label, so make some helpers for marshalling and unmarshalling it to an
integer.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
