def nlmsg_total_size(payload):
return int(libnl.linux_private.netlink.NLMSG_ALIGN(nlmsg_msg_size(payload)))<EOL>
Calculate size of Netlink message including padding based on payload length.

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

    This function is identical to nlmsg_size() + nlmsg_padlen().

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

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