Sadly netlink doesn't have a stable wireformat - its host representation specific. E.g. a __u32 in the linux headers is neither u32be or u32le - its dependent on the architecture of the kernel. The current definitions in pnetlink are e.g. u32le which will fail on architectures with different byte orderings (such as various ARM and MIPS machines - common these days in IoT)
Sadly netlink doesn't have a stable wireformat - its host representation specific. E.g. a __u32 in the linux headers is neither u32be or u32le - its dependent on the architecture of the kernel. The current definitions in pnetlink are e.g. u32le which will fail on architectures with different byte orderings (such as various ARM and MIPS machines - common these days in IoT)