NLMSG_SPACE function

int NLMSG_SPACE(
  1. int len
)

Return the number of bytes that a netlink message of with payload length len would occupy.

Implementation

int NLMSG_SPACE(int len) => NLMSG_ALIGN(NLMSG_LENGTH(len));