Lines Matching full:portid

912 			 u32 portid, u32 seq, u16 flags, int event,  in tc_fill_qdisc()  argument
926 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1010 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify() local
1017 if (tc_fill_qdisc(skb, q, clid, portid, n->nlmsg_seq, 0, in qdisc_get_notify()
1023 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_get_notify()
1037 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1047 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1052 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1058 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1824 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1846 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1921 unsigned long cl, u32 portid, u32 seq, u16 flags, in tc_fill_tclass() argument
1931 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1976 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local
1985 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event, extack) < 0) { in tclass_notify()
1990 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_notify()
1999 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_get_notify() local
2005 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, RTM_NEWTCLASS, in tclass_get_notify()
2011 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tclass_get_notify()
2021 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local
2033 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, in tclass_del_notify()
2048 err = rtnetlink_maybe_send(skb, net, portid, RTNLGRP_TC, in tclass_del_notify()
2079 u32 portid; member
2114 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2122 args.portid = portid; in tc_bind_tclass()
2131 static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid, in tc_bind_tclass() argument
2149 u32 portid; in tc_ctl_tclass() local
2178 portid = tcm->tcm_parent; in tc_ctl_tclass()
2182 if (portid != TC_H_ROOT) { in tc_ctl_tclass()
2183 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass()
2197 * TC_H_MAJ(portid) still may be unspecified, complete it now. in tc_ctl_tclass()
2199 if (portid) in tc_ctl_tclass()
2200 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2218 if (portid == TC_H_ROOT) in tc_ctl_tclass()
2241 tc_bind_tclass(q, portid, clid, 0); in tc_ctl_tclass()
2266 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()
2271 tc_bind_tclass(q, portid, clid, new_cl); in tc_ctl_tclass()
2288 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()