Searched refs:tcm (Results 1 - 8 of 8) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dsch_api.c535 struct tcmsg *tcm = NLMSG_DATA(n); local
538 u32 clid = tcm->tcm_parent;
543 if ((dev = __dev_get_by_index(tcm->tcm_ifindex)) == NULL)
561 if (tcm->tcm_handle && q->handle != tcm->tcm_handle)
564 if ((q = qdisc_lookup(dev, tcm->tcm_handle)) == NULL)
596 struct tcmsg *tcm = NLMSG_DATA(n); local
599 u32 clid = tcm->tcm_parent;
604 if ((dev = __dev_get_by_index(tcm->tcm_ifindex)) == NULL)
624 if (!q || !tcm
738 struct tcmsg *tcm; local
840 struct tcmsg *tcm = NLMSG_DATA(n); local
955 struct tcmsg *tcm; local
1018 struct tcmsg *tcm = (struct tcmsg*)NLMSG_DATA(cb->nlh); local
[all...]
H A Dcls_api.c292 struct tcmsg *tcm; local
296 nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*tcm));
298 tcm = NLMSG_DATA(nlh);
299 tcm->tcm_family = AF_UNSPEC;
300 tcm->tcm_ifindex = tp->q->dev->ifindex;
301 tcm->tcm_parent = tp->classid;
302 tcm->tcm_handle = 0;
303 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);
305 if (tp->ops->dump && tp->ops->dump(tp, fh, skb, tcm) < 0)
356 struct tcmsg *tcm local
[all...]
H A Dsch_prio.c324 struct tcmsg *tcm)
330 tcm->tcm_handle |= TC_H_MIN(cl);
332 tcm->tcm_info = q->queues[cl-1]->handle;
323 prio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_dsmark.c377 struct sk_buff *skb, struct tcmsg *tcm)
386 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle),cl-1);
376 dsmark_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_atm.c615 struct sk_buff *skb, struct tcmsg *tcm)
622 DPRINTK("atm_tc_dump_class(sch %p,[qdisc %p],flow %p,skb %p,tcm %p)\n",
623 sch,p,flow,skb,tcm);
625 tcm->tcm_handle = flow->classid;
614 atm_tc_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_htb.c1232 struct sk_buff *skb, struct tcmsg *tcm)
1245 tcm->tcm_parent = cl->parent ? cl->parent->classid : TC_H_ROOT;
1246 tcm->tcm_handle = cl->classid;
1248 tcm->tcm_info = cl->un.leaf.q->handle;
1231 htb_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_csz.c910 static int csz_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
917 tcm->tcm_handle = sch->handle|cl;
H A Dsch_cbq.c1565 struct sk_buff *skb, struct tcmsg *tcm)
1573 tcm->tcm_parent = cl->tparent->classid;
1575 tcm->tcm_parent = TC_H_ROOT;
1576 tcm->tcm_handle = cl->classid;
1577 tcm->tcm_info = cl->q->handle;
1564 cbq_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument

Completed in 51 milliseconds