Lines Matching refs:mod
77 struct cls_module *mod;
79 nl_list_for_each_entry(mod, &cls_modules, list) {
80 if (mod->ops == ops)
81 return mod;
87 void register_cls_module(struct cls_module *mod)
91 if (!(ops = __rtnl_cls_lookup_ops(mod->name)))
93 mod->name);
98 mod->ops = ops;
99 nl_list_add_tail(&mod->list, &cls_modules);
102 void unregister_cls_module(struct cls_module *mod)
104 nl_list_del(&mod->list);