Lines Matching defs:reqs
125 struct reqs {
130 TAIL_ALLOC_OBJECT_CONST_PTR(struct reqs, reqs);
131 memcpy(&reqs->req1, &c_req, sizeof(c_req));
132 memcpy(&reqs->req2, &c_req, sizeof(c_req));
134 rc = sendto(fd, reqs, sizeof(*reqs), MSG_DONTWAIT, NULL, 0);
140 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP,
141 reqs->req2.nlh.nlmsg_len, NLM_F_DUMP,
142 (unsigned) sizeof(*reqs), sprintrc(rc));
145 void *const efault2 = tail_memdup(&reqs->req1, sizeof(reqs->req1));
146 rc = sendto(fd, efault2, sizeof(*reqs), MSG_DONTWAIT, NULL, 0);
150 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP,
151 &((struct reqs *) efault2)->req2, (unsigned) sizeof(*reqs),
155 rc = sendto(fd, reqs, sizeof(*reqs) - sizeof(req->nlh), MSG_DONTWAIT,
160 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP);
161 print_quoted_hex(&reqs->req2.nlh,
162 sizeof(reqs->req2) - sizeof(req->nlh));
164 (unsigned) (sizeof(*reqs) - sizeof(req->nlh)), errstr);
167 reqs->req2.nlh.nlmsg_len = 4;
168 rc = sendto(fd, reqs, sizeof(*reqs), MSG_DONTWAIT, NULL, 0);
173 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP,
174 reqs->req2.nlh.nlmsg_len, NLM_F_DUMP,
175 (unsigned) sizeof(*reqs), sprintrc(rc));