Build a rule cache including all rules currently configured in the kernel.
Allocates a new rule cache, initializes it properly and updates it to include all rules currently configured in the kernel.
- The caller is responsible for destroying and freeing the cache after using it. (nl_cache_destroy_and_free())
- The new cache or NULL if an error occured.
Definition at line 479 of file rule.c.