diff options
| author | Phil Sutter <phil@nwl.cc> | 2026-01-29 00:08:27 +0100 |
|---|---|---|
| committer | Phil Sutter <phil@nwl.cc> | 2026-01-29 15:04:01 +0100 |
| commit | 5c5a8385dc974ea7887119963022ae988e2a16cc (patch) | |
| tree | d8a51fbfa8723ae65beacf457ef9bba2783fd2fb /include/json.h | |
| parent | b587e4a7bbc8d6b574545617f2639dbd8905ec5d (diff) | |
This storage in rules and set elements is opaque by design, neither
libnftnl nor kernel should deal with its content. Yet nftables enters data
in host byte order which will lead to changing output depending on
host's byte order. Avoid this problem for test suites checking the debug
output by merely printing the number and sum of all the bytes in the
buffer. This likely detects changes in userdata but deliberately ignores
data reordering.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/json.h')
0 files changed, 0 insertions, 0 deletions
