https://github.com/thom311/libnl/blob/libnl3_2_25/lib/cache_mngt.c#L41.

    Positional arguments:
    name -- string.

    Returns:
    nl_cache_ops instance or None.

def _nl_cache_ops_lookup(name):
    """https://github.com/thom311/libnl/blob/libnl3_2_25/lib/cache_mngt.c#L41.

    Positional arguments:
    name -- string.

    Returns:
    nl_cache_ops instance or None.
    """
    ops = cache_ops
    while ops:  # Loop until `ops` is None.
        if ops.co_name == name:
            return ops
        ops = ops.co_next
    return None