NLMSG_TAIL<T extends NativeType> function
Return a pointer to the first byte after the payload of the passed nlmsghdr.
Implementation
ffi.Pointer<T> NLMSG_TAIL<T extends ffi.NativeType>(ffi.Pointer<nlmsghdr> nlh) {
final addr = nlh.address + NLMSG_ALIGN(nlh.ref.nlmsg_len);
return ffi.Pointer<T>.fromAddress(addr);
}