Lines Matching defs:hdr
37 struct csfdhdr hdr;
45 hdr.count = n;
46 hdr.pid = getpid();
50 if (putmsg(fd, NiL, &dat, 0) < 0 || write(fd, &hdr, sizeof(hdr)) != sizeof(hdr))
52 if (write(fd, &hdr, sizeof(hdr)) != sizeof(hdr))
55 messagef((state->id, NiL, -1, "send: %d: hdr write error", fd));
79 struct cmsghdr hdr;
138 ctl.hdr.cmsg_len = msg.msg_controllen;
139 ctl.hdr.cmsg_level = SOL_SOCKET;
140 ctl.hdr.cmsg_type = SCM_RIGHTS;