def lookup_family_by_name(name):
for ops in nl_list_for_each_entry(genl_ops(), genl_ops_list, '<STR_LIT>'):<EOL><INDENT>if ops.o_name == name:<EOL><INDENT>return ops<EOL><DEDENT><DEDENT>return None<EOL>
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/mngt.c#L106.

    Positional arguments:
    name -- string.

    Returns:
    genl_ops class instance or None.