Lines Matching defs:msgp
122 set_ancillary_data(struct msghdr *msgp, int hoplimit,
133 msgp->msg_control = NULL;
134 msgp->msg_controllen = 0;
179 * We need to temporarily set the msgp->msg_controllen to bufspace
184 msgp->msg_controllen = bufspace;
186 msgp->msg_control = (struct cmsghdr *)malloc(bufspace);
187 if (msgp->msg_control == NULL) {
191 cmsgp = CMSG_FIRSTHDR(msgp);
205 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
240 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
265 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
268 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control;