/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | rights.c | 400 msg.msg_controllen = CMSG_SPACE(sizeof (int) * t->send); in sendtest() 404 msg.msg_controllen += CMSG_SPACE(t->predata); in sendtest() 407 msg.msg_control = alloca(msg.msg_controllen); in sendtest() 408 bzero(msg.msg_control, msg.msg_controllen); in sendtest() 433 printf("Sending: controllen=%u\n", msg.msg_controllen); in sendtest() 552 msg.msg_controllen = bufsize; in recvtest() 554 bzero(msg.msg_control, msg.msg_controllen); in recvtest() 559 printf("Receiving: controllen=%u, \n", msg.msg_controllen); in recvtest() 571 msg.msg_controllen, msg.msg_flags); in recvtest() 575 check(msg.msg_controllen, t->x_controllen, "msg_controllen"); in recvtest() [all …]
|
H A D | recvmsg.c | 273 msg.msg_controllen = sizeof (cbuf); in servertest() 286 r, msg.msg_flags, msg.msg_controllen)); in servertest()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket.h | 369 socklen_t msg_controllen; /* ancillary data buffer len */ member 412 uint32_t msg_controllen; /* ancillary data buffer len */ member 490 (((m)->msg_controllen < sizeof (struct cmsghdr)) ? \ 498 ((uintptr_t)((struct msghdr *)(m))->msg_controllen))) ? \
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 864 controllen = msg->msg_controllen; in recvit() 877 free_controllen = msg->msg_controllen; in recvit() 899 (msg->msg_controllen > controllen || control == NULL)) { in recvit() 901 msg->msg_controllen, controllen, control)); in recvit() 921 if (msg->msg_controllen > controllen || control == NULL) { in recvit() 932 so_closefds(msg->msg_control, msg->msg_controllen, in recvit() 947 msg->msg_controllen, controllen); in recvit() 948 msg->msg_controllen = controllen; in recvit() 953 msg->msg_control, msg->msg_controllen); in recvit() 972 if (msg->msg_controllen != 0) in recvit() [all …]
|
H A D | sockcommon_sops.c | 357 if (!(flags & MSG_XPG4_2) && msg->msg_controllen != 0) { in so_sendmsg() 1659 controllen = msg->msg_controllen; in so_recvmsg() 1661 msg->msg_controllen = 0; in so_recvmsg() 1826 msg->msg_controllen = controllen; in so_recvmsg() 1882 msg->msg_controllen = controllen; in so_recvmsg()
|
/illumos-gate/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 274 hdr.msg_controllen = sizeof (cinmsg) - in sctp_recvmsg() 278 hdr.msg_controllen = 0; in sctp_recvmsg() 322 hdr.msg_controllen = sizeof (*cmsg) + sizeof (*sinfo); in sctp_send_common()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | socket.h | 413 socklen_t msg_controllen; /* ancillary data buffer len */ member 506 (char *)(mhdr)->msg_control + (mhdr)->msg_controllen) ? \ 516 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_impl.c | 1111 if (msg == NULL || msg->msg_controllen == 0) { in rdsv3_put_cmsg() 1116 msg->msg_controllen = 0; in rdsv3_put_cmsg() 1120 bufsz = msg->msg_controllen + cmspace; in rdsv3_put_cmsg() 1125 bcopy(msg->msg_control, bp, msg->msg_controllen); in rdsv3_put_cmsg() 1126 kmem_free(msg->msg_control, (size_t)msg->msg_controllen); in rdsv3_put_cmsg() 1130 cp = (struct cmsghdr *)(bp + msg->msg_controllen); in rdsv3_put_cmsg() 1139 msg->msg_controllen = bufsz; in rdsv3_put_cmsg()
|
H A D | rds_recv.c | 372 msghdr->msg_controllen / CMSG_SPACE(sizeof (cmsg)); in rdsv3_notify_queue_get() 613 msg->msg_controllen = 0; in rdsv3_recvmsg()
|
/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 565 msg.msg_controllen = CMSG_SPACE(sizeof (int)); in oclo_rights_common() 567 msg.msg_control = calloc(1, msg.msg_controllen); in oclo_rights_common() 571 msg.msg_controllen); in oclo_rights_common() 601 if (msg.msg_controllen < CMSG_SPACE(sizeof (int))) { in oclo_rights_common() 605 msg.msg_controllen); in oclo_rights_common()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 132 msgp->msg_controllen = 0; in set_ancillary_data() 182 msgp->msg_controllen = bufspace; in set_ancillary_data() 266 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control; in set_ancillary_data()
|
H A D | traceroute.c | 1443 msg6.msg_controllen = 0; in trace_it() 1697 in_msg.msg_controllen = sizeof (ancillary_data); in traceroute() 1706 in_msg.msg_controllen = in traceroute()
|
/illumos-gate/usr/src/test/os-tests/tests/minttl/ |
H A D | minttl.c | 510 if (msg->msg_controllen != CMSG_SPACE(sizeof (int))) { in ttl_check_ancil() 513 msg->msg_controllen); in ttl_check_ancil() 594 msg.msg_controllen = sizeof (ancil); in ttl_sendrecv()
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 219 msghdr.msg_controllen = 0; in ksocket_send() 273 msghdr.msg_controllen = 0; in ksocket_sendto() 378 msghdr.msg_controllen = 0; in ksocket_recv() 431 msghdr.msg_controllen = 0; in ksocket_recvfrom()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdsv3_impl.h | 312 (((m)->msg_controllen < sizeof (struct cmsghdr)) ? \ 320 ((uintptr_t)((struct msghdr *)(m))->msg_controllen))) ? \
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 146 msgp->msg_controllen = bufspace; in set_ancillary_data() 240 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control; in set_ancillary_data() 866 if (verbose && msg->msg_controllen > 0) in check_reply6()
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 503 controllen = msg->msg_controllen; in sosctp_recvmsg() 507 msg->msg_controllen = 0; in sosctp_recvmsg() 754 if (msg->msg_controllen != 0) { in sosctp_sendmsg() 755 optlen = msg->msg_controllen; in sosctp_sendmsg() 953 cmsg = sosctp_find_cmsg(msg->msg_control, msg->msg_controllen, in sosctp_seq_sendmsg() 968 if (msg->msg_controllen > 0) { in sosctp_seq_sendmsg() 969 optlen = msg->msg_controllen; in sosctp_seq_sendmsg()
|
H A D | socksdp.c | 469 msg->msg_controllen = 0; in sosdp_recvmsg() 498 if (msg->msg_controllen != 0) { in sosdp_sendmsg()
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 103 msg.msg_controllen = sizeof (struct cmsghdr) + sizeof (int); in recvfd()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 992 msg.msg_controllen = sizeof (*cmsg) + _MAX_ALIGNMENT + in send_pkt_internal() 994 msg.msg_control = alloca(msg.msg_controllen); in send_pkt_internal() 1014 msg.msg_controllen = (char *)cmsg - (char *)msg.msg_control; in send_pkt_internal() 1288 msg.msg_controllen = sizeof (ctrl); in sock_recvpkt()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | output.c | 218 msg.msg_controllen = sizeof (*cmsgp) + _MAX_ALIGNMENT + in sendtoif() 220 msg.msg_control = alloca(msg.msg_controllen); in sendtoif() 234 msg.msg_controllen = (caddr_t)cmsgp - (caddr_t)msg.msg_control; in sendtoif()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | radius_packet.c | 186 msg.msg_controllen = 0; in rcv_radius_response()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_radiuspacket.c | 190 msg.msg_controllen = 0; in iscsit_rcv_radius_response()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | mDNSUNP.c | 854 msg.msg_controllen = sizeof(control_un.control); in recvfrom_flags() 892 if (msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr) || in recvfrom_flags()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 84 rmsg.msg_controllen = IPV6_MAX_PACKET; in in_data()
|