Lines Matching full:portid
899 u32 portid, u32 seq, u16 flags, int event, in tc_fill_qdisc() argument
913 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
997 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify() local
1004 if (tc_fill_qdisc(skb, q, clid, portid, n->nlmsg_seq, 0, in qdisc_get_notify()
1010 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_get_notify()
1024 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1034 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1039 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1045 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1840 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1862 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1943 unsigned long cl, u32 portid, u32 seq, u16 flags, in tc_fill_tclass() argument
1953 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1998 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local
2007 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event, extack) < 0) { in tclass_notify()
2012 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_notify()
2021 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_get_notify() local
2027 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, RTM_NEWTCLASS, in tclass_get_notify()
2033 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_get_notify()
2043 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local
2055 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, in tclass_del_notify()
2070 err = rtnetlink_maybe_send(skb, net, portid, RTNLGRP_TC, in tclass_del_notify()
2101 u32 portid; member
2136 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2144 args.portid = portid; in tc_bind_tclass()
2153 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2171 u32 portid; in __tc_ctl_tclass() local
2191 portid = tcm->tcm_parent; in __tc_ctl_tclass()
2195 if (portid != TC_H_ROOT) { in __tc_ctl_tclass()
2196 u32 qid1 = TC_H_MAJ(portid); in __tc_ctl_tclass()
2210 * TC_H_MAJ(portid) still may be unspecified, complete it now. in __tc_ctl_tclass()
2212 if (portid) in __tc_ctl_tclass()
2213 portid = TC_H_MAKE(qid, portid); in __tc_ctl_tclass()
2231 if (portid == TC_H_ROOT) in __tc_ctl_tclass()
2254 tc_bind_tclass(q, portid, clid, 0); in __tc_ctl_tclass()
2279 err = cops->change(q, clid, portid, tca, &new_cl, extack); in __tc_ctl_tclass()
2284 tc_bind_tclass(q, portid, clid, new_cl); in __tc_ctl_tclass()
2326 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()