Lines Matching refs:clid
903 static int tc_fill_qdisc(struct sk_buff *skb, struct Qdisc *q, u32 clid, in tc_fill_qdisc() argument
925 tcm->tcm_parent = clid; in tc_fill_qdisc()
992 struct nlmsghdr *n, u32 clid, in qdisc_notify() argument
1003 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1008 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1023 struct nlmsghdr *n, u32 clid, in notify_and_destroy() argument
1027 qdisc_notify(net, skb, n, clid, old, new); in notify_and_destroy()
1441 u32 clid; in tc_get_qdisc() local
1455 clid = tcm->tcm_parent; in tc_get_qdisc()
1456 if (clid) { in tc_get_qdisc()
1457 if (clid != TC_H_ROOT) { in tc_get_qdisc()
1458 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc()
1459 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_get_qdisc()
1464 q = qdisc_leaf(p, clid); in tc_get_qdisc()
1494 if (!clid) { in tc_get_qdisc()
1502 err = qdisc_graft(dev, p, skb, n, clid, NULL, q, extack); in tc_get_qdisc()
1506 qdisc_notify(net, skb, n, clid, NULL, q); in tc_get_qdisc()
1522 u32 clid; in tc_modify_qdisc() local
1534 clid = tcm->tcm_parent; in tc_modify_qdisc()
1542 if (clid) { in tc_modify_qdisc()
1543 if (clid != TC_H_ROOT) { in tc_modify_qdisc()
1544 if (clid != TC_H_INGRESS) { in tc_modify_qdisc()
1545 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_modify_qdisc()
1550 q = qdisc_leaf(p, clid); in tc_modify_qdisc()
1645 qdisc_notify(net, skb, n, clid, NULL, q); in tc_modify_qdisc()
1653 if (clid == TC_H_INGRESS) { in tc_modify_qdisc()
1683 err = qdisc_graft(dev, p, skb, n, clid, q, NULL, extack); in tc_modify_qdisc()
1933 u32 clid; member
1957 arg.classid = a->clid; in tc_bind_class_walker()
1967 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
1976 args.clid = clid; in tc_bind_tclass()
1984 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2003 u32 clid; in tc_ctl_tclass() local
2032 clid = tcm->tcm_handle; in tc_ctl_tclass()
2033 qid = TC_H_MAJ(clid); in tc_ctl_tclass()
2070 if (clid == 0) { in tc_ctl_tclass()
2072 clid = qid; in tc_ctl_tclass()
2074 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
2076 if (clid) in tc_ctl_tclass()
2077 cl = cops->find(q, clid); in tc_ctl_tclass()
2094 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2113 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2118 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()