Lines Matching refs:clid
911 static int tc_fill_qdisc(struct sk_buff *skb, struct Qdisc *q, u32 clid, in tc_fill_qdisc() argument
934 tcm->tcm_parent = clid; in tc_fill_qdisc()
1006 struct nlmsghdr *n, u32 clid, struct Qdisc *q, in qdisc_get_notify() argument
1017 if (tc_fill_qdisc(skb, q, clid, portid, n->nlmsg_seq, 0, in qdisc_get_notify()
1032 struct nlmsghdr *n, u32 clid, in qdisc_notify() argument
1047 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1052 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1067 struct nlmsghdr *n, u32 clid, in notify_and_destroy() argument
1072 qdisc_notify(net, skb, n, clid, old, new, extack); in notify_and_destroy()
1515 u32 clid; in tc_get_qdisc() local
1529 clid = tcm->tcm_parent; in tc_get_qdisc()
1530 if (clid) { in tc_get_qdisc()
1531 if (clid != TC_H_ROOT) { in tc_get_qdisc()
1532 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc()
1533 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_get_qdisc()
1538 q = qdisc_leaf(p, clid); in tc_get_qdisc()
1568 if (!clid) { in tc_get_qdisc()
1576 err = qdisc_graft(dev, p, skb, n, clid, NULL, q, extack); in tc_get_qdisc()
1580 qdisc_get_notify(net, skb, n, clid, q, NULL); in tc_get_qdisc()
1614 u32 clid; in tc_modify_qdisc() local
1626 clid = tcm->tcm_parent; in tc_modify_qdisc()
1634 if (clid) { in tc_modify_qdisc()
1635 if (clid != TC_H_ROOT) { in tc_modify_qdisc()
1636 if (clid != TC_H_INGRESS) { in tc_modify_qdisc()
1637 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_modify_qdisc()
1642 q = qdisc_leaf(p, clid); in tc_modify_qdisc()
1686 if (clid == TC_H_INGRESS) { in tc_modify_qdisc()
1754 qdisc_notify(net, skb, n, clid, NULL, q, extack); in tc_modify_qdisc()
1763 if (clid == TC_H_INGRESS) { in tc_modify_qdisc()
1793 err = qdisc_graft(dev, p, skb, n, clid, q, NULL, extack); in tc_modify_qdisc()
2076 u32 clid; member
2100 arg.classid = a->clid; in tc_bind_class_walker()
2110 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2119 args.clid = clid; in tc_bind_tclass()
2127 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2146 u32 clid; in tc_ctl_tclass() local
2175 clid = tcm->tcm_handle; in tc_ctl_tclass()
2176 qid = TC_H_MAJ(clid); in tc_ctl_tclass()
2213 if (clid == 0) { in tc_ctl_tclass()
2215 clid = qid; in tc_ctl_tclass()
2217 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
2219 if (clid) in tc_ctl_tclass()
2220 cl = cops->find(q, clid); in tc_ctl_tclass()
2237 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2256 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2261 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()