NLMSG_LENGTH function
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;
Given the payload length len
, this macro returns the aligned length
to store in the nlmsghdr.nlmsg_len field.
int NLMSG_LENGTH(int len) => len + NLMSG_HDRLEN;