Send a Generic Netlink message consisting only of a header.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/genl.c#L84

    This function is a shortcut for sending a Generic Netlink message without any message payload. The message will only
    consist of the Netlink and Generic Netlink headers. The header is constructed based on the specified parameters and
    passed on to nl_send_simple() to send it on the specified socket.

    Positional arguments:
    sk -- Generic Netlink socket (nl_sock class instance).
    family -- numeric family identifier (integer).
    cmd -- numeric command identifier (integer).
    version -- interface version (integer).
    flags -- additional Netlink message flags (integer).

    Returns:
    0 on success or a negative error code.

def genl_send_simple(sk, family, cmd, version, flags):
    """Send a Generic Netlink message consisting only of a header.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/genl.c#L84

    This function is a shortcut for sending a Generic Netlink message without any message payload. The message will only
    consist of the Netlink and Generic Netlink headers. The header is constructed based on the specified parameters and
    passed on to nl_send_simple() to send it on the specified socket.

    Positional arguments:
    sk -- Generic Netlink socket (nl_sock class instance).
    family -- numeric family identifier (integer).
    cmd -- numeric command identifier (integer).
    version -- interface version (integer).
    flags -- additional Netlink message flags (integer).

    Returns:
    0 on success or a negative error code.
    """
    hdr = genlmsghdr(cmd=cmd, version=version)
    return int(nl_send_simple(sk, family, flags, hdr, hdr.SIZEOF))