On 2024/8/14 22:48, Jakub Kicinski wrote:
On Wed, 14 Aug 2024 11:12:41 +0800 Wen Gu wrote:
Danielle added one to libmnl:
https://git.netfilter.org/libmnl/commit/?id=102942be401a99943b2c68981b238dadfa788f2d
Intention is to use it in ethtool once it appears in a released version
of libmnl.
Thanks, that is a good example.
FWIW - technically the kernel version of a uint / sint are only either
32b or 64b, because smaller types get padded to 4bytes in netlink
messages, anyway. But doesn't hurt for the get. For the put make sure
you don't narrow down too much.
Understand. Thanks.