| /netbsd-src/dist/pf/sbin/pflogd/ |
| H A D | privsep_fdpass.c | 68 cmsg->cmsg_type = SCM_RIGHTS; in send_fd() 116 if (cmsg->cmsg_type != SCM_RIGHTS) in receive_fd() 118 SCM_RIGHTS, cmsg->cmsg_type); in receive_fd()
|
| /netbsd-src/lib/libc/net/ |
| H A D | sctp_sys_calls.c | 439 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_sendmsg() 501 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_send() 634 if (cmsg->cmsg_type == SCTP_SNDRCV) { in sctp_recvmsg() 699 if (cmsg->cmsg_type == SCTP_RCVINFO) { in sctp_recvv() 707 if (cmsg->cmsg_type == SCTP_NXTINFO) { in sctp_recvv() 798 cmsg->cmsg_type = SCTP_SNDINFO; in sctp_sendv() 812 cmsg->cmsg_type = SCTP_PRINFO; in sctp_sendv() 825 cmsg->cmsg_type = SCTP_AUTHINFO; in sctp_sendv() 840 cmsg->cmsg_type = SCTP_SNDINFO; in sctp_sendv() 849 cmsg->cmsg_type = SCTP_PRINFO; in sctp_sendv() [all …]
|
| H A D | ip6opt.c | 108 ch->cmsg_type = type; in inet6_option_init() 288 (cmsg->cmsg_type != IPV6_HOPOPTS && in inet6_option_next() 289 cmsg->cmsg_type != IPV6_DSTOPTS)) in inet6_option_next() 347 (cmsg->cmsg_type != IPV6_HOPOPTS && in inet6_option_find() 348 cmsg->cmsg_type != IPV6_DSTOPTS)) in inet6_option_find()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | monitor_fdpass.c | 70 cmsg->cmsg_type = SCM_RIGHTS; in mm_send_fd() 151 if (cmsg->cmsg_type != SCM_RIGHTS) { in mm_receive_fd() 152 error_f("expected %d got %d", SCM_RIGHTS, cmsg->cmsg_type); in mm_receive_fd()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/internal/ |
| H A D | ktls.h | 98 cmsg->cmsg_type = TLS_SET_RECORD_TYPE; in ktls_send_ctrl_message() 167 if (cmsg->cmsg_level != IPPROTO_TCP || cmsg->cmsg_type != TLS_GET_RECORD in ktls_read_record() 315 cmsg->cmsg_type = TLS_SET_RECORD_TYPE; in ktls_send_ctrl_message() 386 if (cmsg->cmsg_type == TLS_GET_RECORD_TYPE) { in ktls_read_record()
|
| /netbsd-src/tests/net/fdpass/ |
| H A D | fdpass.c | 70 cmsg->cmsg_type = SCM_RIGHTS; in send_fd() 145 if (cmsg->cmsg_type != SCM_RIGHTS) in recv_fd() 147 SCM_RIGHTS, cmsg->cmsg_type); in recv_fd()
|
| /netbsd-src/sys/external/bsd/libnv/dist/ |
| H A D | msgio.c | 87 cmsg->cmsg_type = SCM_RIGHTS; in msghdr_add_fd() 100 cmsg->cmsg_type != SCM_RIGHTS || in msghdr_get_fd() 210 cmsg->cmsg_type = SCM_CREDS; in cred_send() 245 cmsg->cmsg_level != SOL_SOCKET || cmsg->cmsg_type != SCM_CREDS) { in cred_recv()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | unix_recv_fd.c | 113 if (cmptr->cmsg_type != SCM_RIGHTS) in unix_recv_fd() 115 myname, cmptr->cmsg_type); in unix_recv_fd()
|
| H A D | unix_send_fd.c | 95 cmptr->cmsg_type = SCM_RIGHTS; in unix_send_fd()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | sockmisc.c | 255 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);) 260 && cm->cmsg_type == IPV6_PKTINFO 285 && cm->cmsg_type == IP_PKTINFO 302 && cm->cmsg_type == IPV6_RECVDSTADDR 319 && cm->cmsg_type == IP_RECVDSTADDR 421 cm->cmsg_type = IPV6_PKTINFO; 481 cm->cmsg_type = IP_PKTINFO;
|
| /netbsd-src/tests/include/sys/ |
| H A D | t_socket.c | 49 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY() 138 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY()
|
| /netbsd-src/tests/net/net/ |
| H A D | t_pktinfo.c | 128 switch (cmsg->cmsg_type) { in receive() 137 ERRX("bad type %d", cmsg->cmsg_type); in receive()
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
| H A D | getpeereid.c | 150 cmsg->cmsg_type == SCM_RIGHTS in lutil_getpeereid() 205 if (cmp->cmsg_level != SOL_SOCKET || cmp->cmsg_type != SCM_CREDS) { in lutil_getpeereid()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| H A D | socket.d | 181 int cmsg_type; in version() member 594 int cmsg_type; 733 int cmsg_type; 891 int cmsg_type; 1061 int cmsg_type; 1339 int cmsg_type; 1441 int cmsg_type;
|
| /netbsd-src/usr.sbin/mld6query/ |
| H A D | mld6.c | 215 cmsgp->cmsg_type = IPV6_PKTINFO; in make_msg() 224 cmsgp->cmsg_type = IPV6_HOPOPTS; in make_msg()
|
| /netbsd-src/regress/sys/kern/unfdpass/ |
| H A D | unfdpass.c | 253 switch (cmp->cmsg_type) { 423 cmp->cmsg_type = SCM_RIGHTS; in child()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_socket.c | 544 switch(l_cmsg.cmsg_type) { in linux_sys_sendmsg() 599 cmsg->cmsg_type = l_cmsg.cmsg_type; in linux_sys_sendmsg() 707 linux_cmsg.cmsg_type = cmsg->cmsg_type; in linux_copyout_msg_control() 718 && linux_cmsg.cmsg_type == SCM_RIGHTS) in linux_copyout_msg_control() 727 switch (linux_cmsg.cmsg_type) { in linux_copyout_msg_control()
|
| H A D | linux_socket.h | 181 int cmsg_type; member
|
| /netbsd-src/sys/compat/common/ |
| H A D | uipc_syscalls_43.c | 253 && cmsg->cmsg_type == SCM_RIGHTS in compat_43_sys_recvmsg() 326 cmsg->cmsg_type = SCM_RIGHTS; in compat43_set_accrights()
|
| /netbsd-src/usr.sbin/inetd/ |
| H A D | inetd.c | 1015 cmsg->cmsg_type == IP_RECVDSTADDR) { in recvfromto() 1025 cmsg->cmsg_type == IP_PKTINFO) { in recvfromto() 1037 cmsg->cmsg_type == IPV6_PKTINFO) { in recvfromto() 1114 cmsg->cmsg_type = IP_PKTINFO; in sendfromto() 1134 cmsg->cmsg_type = IPV6_PKTINFO; in sendfromto()
|
| /netbsd-src/sys/compat/netbsd32/ |
| H A D | netbsd32_socket.c | 97 && cmsg->cmsg_type == SCM_RIGHTS) { in copyout32_msg_control_mbuf() 446 cmsg->cmsg_type = cmsg32.cmsg_type; in copyin32_msg_control()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/ |
| H A D | mswsock.d | 163 INT cmsg_type;
|
| /netbsd-src/sbin/mount_portal/ |
| H A D | activate.c | 148 cmsg->cmsg_type = SCM_RIGHTS; in send_reply()
|
| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-pipe-sendmsg.c | 137 cmsg->cmsg_type = SCM_RIGHTS; in TEST_IMPL()
|
| /netbsd-src/sbin/ping6/ |
| H A D | ping6.c | 781 scmsgp->cmsg_type = IPV6_PKTINFO; in main() 799 scmsgp->cmsg_type = IPV6_HOPLIMIT; in main() 1582 switch (cm->cmsg_type) { in pr_exthdrs() 1875 cm->cmsg_type == IPV6_HOPLIMIT && in get_hoplim() 1894 cm->cmsg_type == IPV6_PKTINFO && in get_rcvpktinfo() 1915 cm->cmsg_type == IPV6_PATHMTU && in get_pathmtu()
|