def nla_get_u8(nla):
return int(c_uint8.from_buffer(nla_data(nla)[:SIZEOF_U8]).value)<EOL>
Return value of 8 bit integer attribute as an int().

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

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

    Returns:
    Payload as an int().