Home
last modified time | relevance | path

Searched refs:qops (Results 1 – 3 of 3) sorted by relevance

/external/libnl/lib/route/
Dqdisc_api.c40 int rtnl_qdisc_register(struct rtnl_qdisc_ops *qops) in rtnl_qdisc_register() argument
44 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() argument
66 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() local
81 for (qops = qdisc_ops_list; qops; qops = qops->qo_next) in __rtnl_qdisc_lookup_ops()
[all …]
Dqdisc_obj.c32 struct rtnl_qdisc_ops *qops; in qdisc_free_data() local
36 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() local
52 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() local
66 qops = rtnl_qdisc_lookup_ops(qdisc); in qdisc_dump_line()
[all …]
Dqdisc.c103 struct rtnl_qdisc_ops *qops; in qdisc_msg_parser() local
117 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() local
157 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()