NLMSG_PAYLOAD function

int NLMSG_PAYLOAD(
  1. Pointer<nlmsghdr> nlh,
  2. int len
)

Implementation

int NLMSG_PAYLOAD(ffi.Pointer<nlmsghdr> nlh, int len) {
  return nlh.ref.nlmsg_len - NLMSG_SPACE(len);
}