Home | History | Annotate | Download | only in tests-mx32

Lines Matching refs:NLMSG_HDRLEN

208 	void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(*err) + 4);
213 nlh->nlmsg_len = NLMSG_HDRLEN + 4;
222 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN,
225 nlh->nlmsg_len = NLMSG_HDRLEN + 2;
230 rc = sendto(fd, nlh, NLMSG_HDRLEN + 2, MSG_DONTWAIT, NULL, 0);
234 fd, NLMSG_HDRLEN + 2, NLMSG_HDRLEN + 2, sprintrc(rc));
238 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(err->error);
265 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN,
270 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(*err);
277 err->msg.nlmsg_len = NLMSG_HDRLEN;
294 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(*err) + 4;
301 err->msg.nlmsg_len = NLMSG_HDRLEN + 4;
324 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(num));
330 .nlmsg_len = NLMSG_HDRLEN + sizeof(num),
338 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN,
342 nlh->nlmsg_len = NLMSG_HDRLEN + 2;
348 rc = sendto(fd, nlh, NLMSG_HDRLEN + 2, MSG_DONTWAIT, NULL, 0);
351 fd, NLMSG_HDRLEN + 2, NLMSG_HDRLEN + 2, sprintrc(rc));
356 .nlmsg_len = NLMSG_HDRLEN + sizeof(num),