Logo Search packages:      
Sourcecode: libnl version File versions  Download package

int rtnl_cls_unregister ( struct rtnl_cls_ops ops  ) 

Unregister a classifier module

  • ops classifier module operations

Definition at line 94 of file classifier.c.

References rtnl_cls_ops::co_kind, and rtnl_cls_ops::co_next.

      struct rtnl_cls_ops *o, **op;

      for (op = &cls_ops_list; (o = *op) != NULL; op = &o->co_next)
            if (!strcasecmp(ops->co_kind, o->co_kind))

      if (!o)
            return nl_errno(ENOENT);

      *op = ops->co_next;

      return 0;

Generated by  Doxygen 1.6.0   Back to index