def nla_len(nla):
return int(nla.nla_len - NLA_HDRLEN)<EOL>
Return length of the payload.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L131

    Positional arguments:
    nla -- attribute (nlattr class instance).

    Returns:
    Length of payload in bytes.