Searched refs:errmsg (Results 1 – 3 of 3) sorted by relevance
18 #define PKT_ERROR(pkt, errmsg) \ argument22 pr_warn(errmsg); \
1321 struct nlmsgerr *errmsg; in call_ad() local1322 size_t payload = sizeof(*errmsg) + nlmsg_len(nlh); in call_ad()1333 errmsg = nlmsg_data(rep); in call_ad()1334 errmsg->error = ret; in call_ad()1335 memcpy(&errmsg->msg, nlh, nlh->nlmsg_len); in call_ad()1336 cmdattr = (void *)&errmsg->msg + min_len; in call_ad()
2553 struct nlmsgerr *errmsg; in netlink_ack() local2554 size_t payload = sizeof(*errmsg); in netlink_ack()2578 errmsg = nlmsg_data(rep); in netlink_ack()2579 errmsg->error = err; in netlink_ack()2580 memcpy(&errmsg->msg, nlh, err ? nlh->nlmsg_len : sizeof(*nlh)); in netlink_ack()