2 #include <linux_list.h>
6 static LIST_HEAD(expr_ops_list);
8 void nft_expr_ops_register(
struct expr_ops *ops)
10 list_add_tail(&ops->head, &expr_ops_list);
13 struct expr_ops *nft_expr_ops_lookup(
const char *name)
17 list_for_each_entry(ops, &expr_ops_list, head) {
18 if (strcmp(ops->name, name) == 0)