Lines Matching refs:rep
37 struct audit_message rep = {}; in get_ack() local
38 int rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack()
43 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack()
44 audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, 0); in get_ack()
45 rc = reinterpret_cast<struct nlmsgerr*>(rep.data)->error; in get_ack()
152 struct audit_message rep = {}; in audit_setup() local
153 audit_get_reply(fd, &rep, GET_REPLY_NONBLOCKING, 0); in audit_setup()
169 int audit_get_reply(int fd, struct audit_message* rep, reply_t block, int peek) { in audit_get_reply() argument
185 recvfrom(fd, rep, sizeof(*rep), flags, (struct sockaddr*)&nladdr, &nladdrlen)); in audit_get_reply()
208 if (!NLMSG_OK(&rep->nlh, (size_t)len)) { in audit_get_reply()
209 return len == sizeof(*rep) ? -EFBIG : -EBADE; in audit_get_reply()