def nlmsg_datalen(nlh):
return int(nlh.nlmsg_len - NLMSG_HDRLEN)<EOL>
Return length of message payload.

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

    Positional arguments:
    nlh -- Netlink message header (nlmsghdr class instance).

    Returns:
    Length of message payload in bytes.