NLMSG_ALIGN function

int NLMSG_ALIGN(
  1. int len
)

Round the length of a netlink message up to align it properly.

Implementation

int NLMSG_ALIGN(int len) => (len + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1);