Lines Matching refs:pid
171 static int dcbnl_reply(u8 value, u8 event, u8 cmd, u8 attr, u32 pid,
183 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, event, sizeof(*dcb), flags);
196 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
208 u32 pid, u32 seq, u16 flags)
217 DCB_CMD_GSTATE, DCB_ATTR_STATE, pid, seq, flags);
223 u32 pid, u32 seq, u16 flags)
247 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
277 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
290 u32 pid, u32 seq, u16 flags)
305 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
318 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
331 u32 pid, u32 seq, u16 flags)
354 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
384 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
397 u32 pid, u32 seq, u16 flags)
424 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
460 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
475 u32 pid, u32 seq, u16 flags)
507 DCB_ATTR_NUMTCS, pid, seq, flags);
514 u32 pid, u32 seq, u16 flags)
523 pid, seq, flags);
529 u32 pid, u32 seq, u16 flags)
542 pid, seq, flags);
548 u32 pid, u32 seq, u16 flags)
587 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
608 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
623 u32 pid, u32 seq, u16 flags)
656 pid, seq, flags);
662 u32 pid, u32 seq, u16 flags, int dir)
692 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
800 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
819 u32 pid, u32 seq, u16 flags)
821 return __dcbnl_pg_getcfg(netdev, tb, pid, seq, flags, 0);
825 u32 pid, u32 seq, u16 flags)
827 return __dcbnl_pg_getcfg(netdev, tb, pid, seq, flags, 1);
831 u32 pid, u32 seq, u16 flags)
843 pid, seq, flags);
849 u32 pid, u32 seq, u16 flags)
874 pid, seq, flags);
880 u32 pid, u32 seq, u16 flags)
888 DCB_CMD_SET_ALL, DCB_ATTR_SET_ALL, pid, seq, flags);
894 u32 pid, u32 seq, u16 flags, int dir)
979 DCB_ATTR_PG_CFG, pid, seq, flags);
986 u32 pid, u32 seq, u16 flags)
988 return __dcbnl_pg_setcfg(netdev, tb, pid, seq, flags, 0);
992 u32 pid, u32 seq, u16 flags)
994 return __dcbnl_pg_setcfg(netdev, tb, pid, seq, flags, 1);
998 u32 pid, u32 seq, u16 flags)
1025 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags);
1064 ret = rtnl_unicast(dcbnl_skb, &init_net, pid);
1081 u32 pid, u32 seq, u16 flags)
1116 pid, seq, flags);
1127 u32 pid = skb ? NETLINK_CB(skb).pid : 0;
1150 ret = dcbnl_getstate(netdev, tb, pid, nlh->nlmsg_seq,
1154 ret = dcbnl_getpfccfg(netdev, tb, pid, nlh->nlmsg_seq,
1158 ret = dcbnl_getperm_hwaddr(netdev, tb, pid, nlh->nlmsg_seq,
1162 ret = dcbnl_pgtx_getcfg(netdev, tb, pid, nlh->nlmsg_seq,
1166 ret = dcbnl_pgrx_getcfg(netdev, tb, pid, nlh->nlmsg_seq,
1170 ret = dcbnl_bcn_getcfg(netdev, tb, pid, nlh->nlmsg_seq,
1174 ret = dcbnl_setstate(netdev, tb, pid, nlh->nlmsg_seq,
1178 ret = dcbnl_setpfccfg(netdev, tb, pid, nlh->nlmsg_seq,
1183 ret = dcbnl_setall(netdev, tb, pid, nlh->nlmsg_seq,
1187 ret = dcbnl_pgtx_setcfg(netdev, tb, pid, nlh->nlmsg_seq,
1191 ret = dcbnl_pgrx_setcfg(netdev, tb, pid, nlh->nlmsg_seq,
1195 ret = dcbnl_getcap(netdev, tb, pid, nlh->nlmsg_seq,
1199 ret = dcbnl_getnumtcs(netdev, tb, pid, nlh->nlmsg_seq,
1203 ret = dcbnl_setnumtcs(netdev, tb, pid, nlh->nlmsg_seq,
1207 ret = dcbnl_getpfcstate(netdev, tb, pid, nlh->nlmsg_seq,
1211 ret = dcbnl_setpfcstate(netdev, tb, pid, nlh->nlmsg_seq,
1215 ret = dcbnl_bcn_setcfg(netdev, tb, pid, nlh->nlmsg_seq,
1219 ret = dcbnl_getapp(netdev, tb, pid, nlh->nlmsg_seq,
1223 ret = dcbnl_setapp(netdev, tb, pid, nlh->nlmsg_seq,