Home | History | Annotate | Download | only in tests

Lines Matching refs:req

48 	static const struct req {
53 .nlmsg_len = sizeof(struct req),
59 struct req *const req = tail_memdup(&c_req, sizeof(c_req));
64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0);
66 fd, (unsigned) sizeof(*req), sprintrc(rc));
69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0);
85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0);
88 fd, (unsigned) sizeof(req->magic), sprintrc(rc));
91 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0);
95 fd, req->nlh.nlmsg_len, NLM_F_DUMP,
96 (unsigned) sizeof(*req), sprintrc(rc));
99 req->nlh.nlmsg_len = sizeof(req->nlh);
100 rc = sendto(fd, &req->nlh, sizeof(req->nlh), MSG_DONTWAIT, NULL, 0);
103 fd, req->nlh.nlmsg_len, NLM_F_DUMP,
104 (unsigned) sizeof(req->nlh), sprintrc(rc));
107 req->nlh.nlmsg_len = sizeof(*req) + 8;
108 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0);
112 fd, req->nlh.nlmsg_len, NLM_F_DUMP,
113 (unsigned) sizeof(*req), sprintrc(rc));
116 req->nlh.nlmsg_len = 8;
117 rc = sendto(fd, req, sizeof(*req), MSG_DONTWAIT, NULL, 0);
120 fd, req->nlh.nlmsg_len, NLM_F_DUMP,
121 (unsigned) sizeof(*req), sprintrc(rc));
125 struct req req1;
126 char padding[NLMSG_ALIGN(sizeof(struct req)) - sizeof(struct req)];
127 struct req req2;
153 rc = sendto(fd, reqs, sizeof(*reqs) - sizeof(req->nlh), MSG_DONTWAIT,
160 sizeof(reqs->req2) - sizeof(req->nlh));
162 (unsigned) (sizeof(*reqs) - sizeof(req->nlh)), errstr);