On Wed, Jul 31, 2024 at 09:35:51AM +0300, Danielle Ratson wrote: > NLA_UINT attributes have a 4-byte payload if possible, and an 8-byte one > if necessary. > > There are some NLA_UINT attributes that lack an appropriate getter function. > > Add a function mnl_attr_get_uint() to cover that extract these. Since we > need to dispatch on length anyway, make the getter truly universal by > supporting also u8 and u16. > > Signed-off-by: Danielle Ratson <danieller@xxxxxxxxxx> Patch applied, thanks!