Home
last modified time | relevance | path

Searched refs:msg_control (Results 1 – 25 of 70) sorted by relevance

123

/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_socket.c61 (__CASTV(char *, (mhdr)->msg_control) + (mhdr)->msg_controllen)
71 (mhdr)->msg_control)
144 q = (char *)mp->msg_control; in copyout32_msg_control()
159 mp->msg_controllen = q - (char *)mp->msg_control; in copyout32_msg_control()
198 if (msg->msg_control != NULL) in msg_recv_copyout()
243 &from, msg.msg_control != NULL ? &control : NULL, retval); in netbsd32_recvmsg()
326 msg->msg_control != NULL ? &control : NULL, retval); in netbsd32_recvmmsg()
467 mp->msg_control = ctl_mbuf; in copyin32_msg_control()
498 msg->msg_control = NULL; in msg_send_copyin()
518 if (msg->msg_control) in msg_send_copyin()
[all …]
/netbsd/src/sys/compat/linux/common/
Dlinux_socket.h139 void *msg_control; member
193 (((char *)(mhdr)->msg_control) + (mhdr)->msg_controllen)) ? \
203 (struct linux_cmsghdr *)(mhdr)->msg_control : NULL)
Dlinux_socket.c416 msg.msg_control = NULL; in linux_sys_sendto()
448 bmsg->msg_control = lmsg->msg_control; in linux_to_bsd_msghdr()
461 lmsg->msg_control = bmsg->msg_control; in bsd_to_linux_msghdr()
555 msg.msg_control = NULL; in linux_sys_sendmsg()
624 msg.msg_control = ctl_mbuf; in linux_sys_sendmsg()
692 q = (char *)mp->msg_control; in linux_copyout_msg_control()
766 mp->msg_controllen = q - (char *)mp->msg_control; in linux_copyout_msg_control()
796 msg.msg_control != NULL ? &control : NULL, retval); in linux_sys_recvmsg()
800 if (msg.msg_control != NULL) in linux_sys_recvmsg()
1937 msg->msg_control != NULL ? &control : NULL, retval); in linux_sys_recvmmsg()
[all …]
/netbsd/src/sys/kern/
Duipc_syscalls.c483 msg.msg_control = NULL; in sys_sendto()
528 control = (mp->msg_flags & MSG_CONTROLMBUF) ? mp->msg_control : NULL; in do_sys_sendmsg_so()
576 if (mp->msg_control) { in do_sys_sendmsg_so()
582 error = sockargs(&control, mp->msg_control, in do_sys_sendmsg_so()
596 if (mp->msg_control) in do_sys_sendmsg_so()
649 m_freem(mp->msg_control); in do_sys_sendmsg()
680 msg.msg_control = NULL; in sys_recvfrom()
714 msg.msg_control != NULL ? &control : NULL, retval); in sys_recvmsg()
718 if (msg.msg_control != NULL) in sys_recvmsg()
855 q = (char *)mp->msg_control; in copyout_msg_control()
[all …]
/netbsd/src/sys/rump/net/lib/libsockin/
Dsockin_user.c258 void *msg_control; /* ancillary data, see below */ member
361 rv->msg_control = bmsg->msg_control; in translate_msghdr()
390 bmsg->msg_control = lmsg->msg_control; in translate_msghdr_back()
/netbsd/src/dist/pf/sbin/pflogd/
Dprivsep_fdpass.c63 msg.msg_control = (caddr_t)tmp; in send_fd()
102 msg.msg_control = tmp; in receive_fd()
/netbsd/src/crypto/external/bsd/openssh/dist/
Dmonitor_fdpass.c65 msg.msg_control = &cmsgbuf.buf; in mm_send_fd()
125 msg.msg_control = &cmsgbuf.buf; in mm_receive_fd()
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dcrypto_linux.c462 msg.msg_control = buf; in linux_af_alg_skcipher_oper()
564 msg.msg_control = buf; in rc4_skip()
585 msg.msg_control = NULL; in rc4_skip()
637 msg.msg_control = buf; in des_encrypt()
696 msg.msg_control = buf; in aes_128_cbc_oper()
805 msg.msg_control = buf; in aes_unwrap()
905 msg.msg_control = buf; in crypto_cipher_init()
943 msg.msg_control = buf; in crypto_cipher_oper()
/netbsd/src/tests/include/sys/
Dt_socket.c56 msg.msg_control = cmp; in ATF_TC_BODY()
145 msg.msg_control = cmp; in ATF_TC_BODY()
/netbsd/src/tests/net/fdpass/
Dfdpass.c65 msg.msg_control = &cmsgbuf.buf; in send_fd()
122 msg.msg_control = &cmsgbuf.buf; in recv_fd()
/netbsd/src/external/bsd/openldap/dist/libraries/liblutil/
Dgetpeereid.c131 msg.msg_control = &control_st; in lutil_getpeereid()
191 msg.msg_control = crmsg; in lutil_getpeereid()
/netbsd/src/sys/sys/
Dsocket.h485 void *msg_control; /* ancillary data, see below */ member
552 (__CASTV(char *, (mhdr)->msg_control) + (mhdr)->msg_controllen)
571 (mhdr)->msg_control)
/netbsd/src/external/bsd/mdocml/dist/
Dtest-cmsg.c9 msg.msg_control = NULL; in main()
Dmandocd.c74 msg.msg_control = u.controlbuf; in read_fds()
/netbsd/src/lib/libc/net/
Dsctp_sys_calls.c434 msg.msg_control = (caddr_t)controlVector; in sctp_sendmsg()
496 msg.msg_control = (caddr_t)controlVector; in sctp_send()
618 msg.msg_control = (caddr_t)controlVector; in sctp_recvmsg()
683 msg.msg_control = cmsgbuf; in sctp_recvv()
780 msg.msg_control = cmsgbuf; in sctp_sendv()
937 msg.msg_control = NULL; in sctp_sendv()
/netbsd/src/regress/sys/kern/unfdpass/
Dunfdpass.c226 msg.msg_control = message;
411 msg.msg_control = fdcm; in child()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/bio/
Dbss_dgram.c1009 msg.msg_control = cmsgbuf; in dgram_sctp_read()
1270 msg.msg_control = (caddr_t) cmsgbuf; in dgram_sctp_write()
1647 msg.msg_control = NULL; in dgram_sctp_wait_for_dry()
1669 msg.msg_control = NULL; in dgram_sctp_wait_for_dry()
1728 msg.msg_control = NULL; in dgram_sctp_wait_for_dry()
1779 msg.msg_control = NULL; in dgram_sctp_msg_waiting()
1802 msg.msg_control = NULL; in dgram_sctp_msg_waiting()
/netbsd/src/sys/compat/common/
Duipc_syscalls_43.c311 msg->msg_control = NULL; in compat43_set_accrights()
334 msg->msg_control = ctl; in compat43_set_accrights()
/netbsd/src/external/ibm-public/postfix/dist/src/util/
Dunix_send_fd.c86 msg.msg_control = control_un.control; in unix_send_fd()
Dunix_recv_fd.c78 msg.msg_control = control_un.control; in unix_recv_fd()
/netbsd/src/sbin/mount_portal/
Dpuffs_portal.c130 msg.msg_control = cmp; in readfd()
300 msg.msg_control = cmp; in sendfd()
304 msg.msg_control = NULL; in sendfd()
Dactivate.c153 msg.msg_control = ctl; in send_reply()
/netbsd/src/tests/net/net/
Dt_pktinfo.c116 msg.msg_control = control; in receive()
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dsockmisc.c229 m.msg_control = (caddr_t)cm; in recvfromto()
402 m.msg_control = (caddr_t)cm; in sendfromto()
462 m.msg_control = (caddr_t)cm; in sendfromto()
/netbsd/src/usr.sbin/sdpd/
Dserver.c431 msg.msg_control = srv->ctlbuf; in server_process_request()
531 msg.msg_control = NULL; in server_process_request()

123