Lines Matching refs:dcb
202 struct dcbmsg *dcb; in dcbnl_newmsg() local
209 nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags); in dcbnl_newmsg()
212 dcb = nlmsg_data(nlh); in dcbnl_newmsg()
213 dcb->dcb_family = AF_UNSPEC; in dcbnl_newmsg()
214 dcb->cmd = cmd; in dcbnl_newmsg()
215 dcb->dcb_pad = 0; in dcbnl_newmsg()
1665 struct dcbmsg *dcb = nlmsg_data(nlh); in dcb_doit() local
1676 ret = nlmsg_parse(nlh, sizeof(*dcb), tb, DCB_ATTR_MAX, in dcb_doit()
1681 if (dcb->cmd > DCB_CMD_MAX) in dcb_doit()
1685 fn = &reply_funcs[dcb->cmd]; in dcb_doit()
1701 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit()