Searched refs:ctlbuf (Results 1 – 2 of 2) sorted by relevance
785 u_char *ctlbuf = msg->msg_control; in sock_receive_internal() local799 memcpy(ctlbuf, mtod(m, caddr_t), tocopy); in sock_receive_internal()800 ctlbuf += tocopy; in sock_receive_internal()805 (socklen_t)((uintptr_t)ctlbuf - (uintptr_t)msg->msg_control); in sock_receive_internal()
2028 user_addr_t ctlbuf; in copyout_control() local2040 ctlbuf = control; in copyout_control()2085 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()2107 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()2119 ctlbuf += tocopy; in copyout_control()2130 *controllen = (socklen_t)(ctlbuf - control); in copyout_control()