NLMSG_LENGTH function

int NLMSG_LENGTH(
  1. int len
)

Given the payload length len, this macro returns the aligned length to store in the nlmsghdr.nlmsg_len field.

Implementation

int NLMSG_LENGTH(int len) => len + NLMSG_HDRLEN;