Lines Matching defs:portid
649 tca_get_fill(struct sk_buff *skb, struct tc_action *a, u32 portid, u32 seq,
657 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags);
683 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
691 if (tca_get_fill(skb, a, portid, n->nlmsg_seq, 0, event, 0, 0) <= 0) {
696 return rtnl_unicast(skb, net, portid);
700 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid)
767 struct nlmsghdr *n, u32 portid)
804 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0);
828 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC,
846 u32 portid, int event)
858 return tca_action_flush(net, tb[1], n, portid);
864 act = tcf_action_get_1(tb[i], n, portid);
879 ret = act_get_notify(net, portid, n, head, event);
889 if (tca_get_fill(skb, head, portid, n->nlmsg_seq, 0, event,
898 ret = rtnetlink_send(skb, net, portid, RTNLGRP_TC,
910 u32 portid, u32 seq, int event, u16 flags)
925 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags);
945 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, flags & NLM_F_ECHO);
958 u32 portid, int ovr)
976 ret = tcf_add_notify(net, act, portid, seq, RTM_NEWACTION, n->nlmsg_flags);
989 u32 portid = skb ? NETLINK_CB(skb).portid : 0;
1016 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, ovr);
1022 portid, RTM_DELACTION);
1026 portid, RTM_GETACTION);
1093 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
1117 if (NETLINK_CB(cb->skb).portid && ret)