Searched refs:qops (Results 1 – 3 of 3) sorted by relevance
53 struct Qdisc_ops qops; member442 struct Qdisc_ops *ops = &master->qops; in teql_master_setup()494 strscpy(master->qops.id, dev->name, IFNAMSIZ); in teql_init()495 err = register_qdisc(&master->qops); in teql_init()516 unregister_qdisc(&master->qops); in teql_exit()
133 int register_qdisc(struct Qdisc_ops *qops) in register_qdisc() argument140 if (!strcmp(qops->id, q->id)) in register_qdisc()143 if (qops->enqueue == NULL) in register_qdisc()144 qops->enqueue = noop_qdisc_ops.enqueue; in register_qdisc()145 if (qops->peek == NULL) { in register_qdisc()146 if (qops->dequeue == NULL) in register_qdisc()147 qops->peek = noop_qdisc_ops.peek; in register_qdisc()151 if (qops->dequeue == NULL) in register_qdisc()152 qops->dequeue = noop_qdisc_ops.dequeue; in register_qdisc()154 if (qops->cl_ops) { in register_qdisc()[all …]
95 int register_qdisc(struct Qdisc_ops *qops);96 void unregister_qdisc(struct Qdisc_ops *qops);