Lines Matching refs:portid
885 u32 portid, u32 seq, u16 flags, int event) in tc_fill_qdisc() argument
898 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
978 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
985 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
990 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
996 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1754 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1776 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1852 u32 portid, u32 seq, u16 flags, int event) in tc_fill_tclass() argument
1861 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1901 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local
1908 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event) < 0) { in tclass_notify()
1913 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_notify()
1925 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local
1936 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, in tclass_del_notify()
1948 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_del_notify()
1981 u32 portid; member
2016 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2024 args.portid = portid; in tc_bind_tclass()
2033 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2051 u32 portid; in tc_ctl_tclass() local
2084 portid = tcm->tcm_parent; in tc_ctl_tclass()
2088 if (portid != TC_H_ROOT) { in tc_ctl_tclass()
2089 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass()
2105 if (portid) in tc_ctl_tclass()
2106 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2124 if (portid == TC_H_ROOT) in tc_ctl_tclass()
2147 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2166 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2171 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()
2188 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()