Lines Matching refs:portid
913 u32 portid, u32 seq, u16 flags, int event, in tc_fill_qdisc() argument
927 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1012 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1019 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1024 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1030 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1785 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1807 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1882 unsigned long cl, u32 portid, u32 seq, u16 flags, in tc_fill_tclass() argument
1892 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1937 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local
1943 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event, extack) < 0) { in tclass_notify()
1948 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_notify()
1958 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local
1969 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, in tclass_del_notify()
1981 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_del_notify()
2012 u32 portid; member
2047 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2055 args.portid = portid; in tc_bind_tclass()
2064 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2082 u32 portid; in tc_ctl_tclass() local
2111 portid = tcm->tcm_parent; in tc_ctl_tclass()
2115 if (portid != TC_H_ROOT) { in tc_ctl_tclass()
2116 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass()
2132 if (portid) in tc_ctl_tclass()
2133 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2151 if (portid == TC_H_ROOT) in tc_ctl_tclass()
2174 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2193 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2198 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()
2215 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()