NLMSG_DATA<T extends NativeType> function
Return a pointer to the payload associated with the passed nlmsghdr.
Implementation
ffi.Pointer<T> NLMSG_DATA<T extends ffi.NativeType>(ffi.Pointer<nlmsghdr> nlh) {
final addr = nlh.address + NLMSG_HDRLEN;
return ffi.Pointer<T>.fromAddress(addr);
}