Searched refs:qops (Results 1 – 3 of 3) sorted by relevance
40 int rtnl_qdisc_register(struct rtnl_qdisc_ops *qops) in rtnl_qdisc_register() argument44 if (!qops->qo_kind[0]) in rtnl_qdisc_register()48 if (!strcasecmp(qops->qo_kind, o->qo_kind)) in rtnl_qdisc_register()51 qops->qo_next = NULL; in rtnl_qdisc_register()52 *op = qops; in rtnl_qdisc_register()61 int rtnl_qdisc_unregister(struct rtnl_qdisc_ops *qops) in rtnl_qdisc_unregister() argument66 if (!strcasecmp(qops->qo_kind, o->qo_kind)) in rtnl_qdisc_unregister()72 *op = qops->qo_next; in rtnl_qdisc_unregister()79 struct rtnl_qdisc_ops *qops; in __rtnl_qdisc_lookup_ops() local81 for (qops = qdisc_ops_list; qops; qops = qops->qo_next) in __rtnl_qdisc_lookup_ops()[all …]
32 struct rtnl_qdisc_ops *qops; in qdisc_free_data() local36 qops = rtnl_qdisc_lookup_ops(qdisc); in qdisc_free_data()37 if (qops && qops->qo_free_data) in qdisc_free_data()38 qops->qo_free_data(qdisc); in qdisc_free_data()45 struct rtnl_qdisc_ops *qops; in qdisc_clone() local52 qops = rtnl_qdisc_lookup_ops(src); in qdisc_clone()53 if (qops && qops->qo_clone) in qdisc_clone()54 err = qops->qo_clone(dst, src); in qdisc_clone()62 struct rtnl_qdisc_ops *qops; in qdisc_dump_line() local66 qops = rtnl_qdisc_lookup_ops(qdisc); in qdisc_dump_line()[all …]
103 struct rtnl_qdisc_ops *qops; in qdisc_msg_parser() local117 qops = rtnl_qdisc_lookup_ops(qdisc); in qdisc_msg_parser()118 if (qops && qops->qo_msg_parser) { in qdisc_msg_parser()119 err = qops->qo_msg_parser(qdisc); in qdisc_msg_parser()150 struct rtnl_qdisc_ops *qops; in qdisc_build() local157 qops = rtnl_qdisc_lookup_ops(qdisc); in qdisc_build()158 if (qops && qops->qo_get_opts) { in qdisc_build()161 opts = qops->qo_get_opts(qdisc); in qdisc_build()172 else if (qops && qops->qo_build_msg) { in qdisc_build()173 err = qops->qo_build_msg(qdisc, *result); in qdisc_build()