Searched refs:nlmsgerr (Results 1 – 20 of 20) sorted by relevance
141 static void rtnl_talk_error(struct nlmsghdr *h, struct nlmsgerr *err, in rtnl_talk_error()216 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(h); in __rtnl_talk_iov()219 if (l < sizeof(struct nlmsgerr)) { in __rtnl_talk_iov()
337 struct nlmsgerr *err; in netlink_recv()374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
165 struct nlmsgerr *err; in libbpf_nla_dump_errormsg()173 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
142 struct nlmsgerr *err; in libbpf_netlink_recv()188 err = (struct nlmsgerr *)NLMSG_DATA(nh); in libbpf_netlink_recv()
109 struct nlmsgerr { struct
119 struct nlmsgerr { struct
24 static int nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, in nl_error_handler()
70 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in error_handler()
65 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(nh); in nl_error()69 if (len < sizeof(struct nlmsgerr)) { in nl_error()71 sizeof(struct nlmsgerr)); in nl_error()
570 struct nlmsgerr *nle; in ncsi_send_netlink_err()582 nle = (struct nlmsgerr *)nlmsg_data(nlh); in ncsi_send_netlink_err()
361 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
478 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
157 struct nlmsgerr *err; in netlink_recv()187 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()
784 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres()786 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -ETIMEDOUT; in ip6mr_destroy_unres()1026 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve()1028 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -EMSGSIZE; in ip6mr_cache_resolve()
725 struct nlmsgerr *e; in ipmr_destroy_unres()734 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()985 struct nlmsgerr *e; in ipmr_cache_resolve()999 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
262 const struct nlmsgerr *err = ynl_nlmsg_data(nlh); in ynl_cb_error()
194 The format of ``NLMSG_ERROR`` is described by struct nlmsgerr::
1760 struct nlmsgerr *errmsg; in call_ad()
2454 struct nlmsgerr *errmsg; in netlink_ack()