Lines Matching defs:msgp
90 set_ancillary_data(struct msghdr *msgp, int hoplimit,
152 * We need to temporarily set the msgp->msg_controllen to bufspace
157 msgp->msg_controllen = bufspace;
166 msgp->msg_control = (struct cmsghdr *)malloc(bufspace);
167 if (msgp->msg_control == NULL) {
173 cmsgp = CMSG_FIRSTHDR(msgp);
188 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
223 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
248 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
251 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control;