Home | History | Annotate | Download | only in netbsd32

Lines Matching defs:control

130 copyout32_msg_control(struct lwp *l, struct msghdr *mp, struct mbuf *control)
138 if (len <= 0 || control == 0) {
140 free_control_mbuf(l, control, control);
146 for (m = control; len > 0 && m != NULL; m = m->m_next) {
150 m = control;
157 free_control_mbuf(l, control, m);
194 struct mbuf *from, struct mbuf *control)
199 error = copyout32_msg_control(l, msg, control);
232 struct mbuf *from, *control;
243 &from, msg.msg_control != NULL ? &control : NULL, retval);
248 from, control);
272 struct mbuf *from, *control;
326 msg->msg_control != NULL ? &control : NULL, retval);
333 from, control);
389 uint8_t *control;
394 control = mtod(ctl_mbuf, void *);
395 memset(control, 0, clen);
404 * Sanity check the control message length.
425 nc = realloc(clen <= MLEN ? NULL : control,
433 memcpy(nc, control, cidx);
438 control = nc;
443 cmsg = (void *)&control[cidx];
461 MEXTADD(ctl_mbuf, control, clen, M_MBUF, NULL, NULL);
464 control = NULL;
474 if (control != mtod(ctl_mbuf, void *))
475 free(control, M_MBUF);