Lines Matching refs:portid

886 			 u32 portid, u32 seq, u16 flags, int event)  in tc_fill_qdisc()  argument
899 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()
1698 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1720 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1795 u32 portid, u32 seq, u16 flags, int event) in tc_fill_tclass() argument
1804 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1844 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local
1850 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event) < 0) { in tclass_notify()
1855 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_notify()
1865 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local
1876 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, in tclass_del_notify()
1888 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_del_notify()
1919 u32 portid; member
1954 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
1962 args.portid = portid; in tc_bind_tclass()
1971 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
1989 u32 portid; in tc_ctl_tclass() local
2022 portid = tcm->tcm_parent; in tc_ctl_tclass()
2026 if (portid != TC_H_ROOT) { in tc_ctl_tclass()
2027 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass()
2043 if (portid) in tc_ctl_tclass()
2044 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2062 if (portid == TC_H_ROOT) in tc_ctl_tclass()
2085 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2104 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2109 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()
2126 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()