def nlmsg_size(payload):
return int(libnl.linux_private.netlink.NLMSG_HDRLEN + payload)<EOL>
Calculate size of Netlink message based on payload length.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/msg.c#L54

    Positional arguments:
    payload -- length of payload (integer).

    Returns:
    Size of Netlink message without padding (integer).