def genl_family_get_id(family):
return int(family.gf_id if family.ce_mask & FAMILY_ATTR_ID else GENL_ID_GENERATE)<EOL>
Return numeric identifier.

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

    Positional arguments:
    family -- Generic Netlink family object (genl_family class instance).

    Returns:
    Numeric identifier or 0 if not available.