tools: ynl: give up on libmnl for auto-ints
authorJakub Kicinski <kuba@kernel.org>
Tue, 27 Feb 2024 22:30:18 +0000 (14:30 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Feb 2024 23:25:41 +0000 (15:25 -0800)
commit21f6986d19b01ecda3d8ae2e79780aa3603d4eeb
tree1cfd0f752f08eb5391d8deb9cde4a24ea958c5a9
parent3bfe90527d6387e19078c9f774d6328448bac201
tools: ynl: give up on libmnl for auto-ints

The temporary auto-int helpers are not really correct.
We can't treat signed and unsigned ints the same when
determining whether we need full 8B. I realized this
before sending the patch to add support in libmnl.
Unfortunately, that patch has not been merged,
so time to fix our local helpers. Use the mnl* name
for now, subsequent patches will address that.

Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240227223032.1835527-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/lib/ynl-priv.h