/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_ipc.c | 163 struct msghdr msghdr[1]; local 177 /* populate the msghdr for sendmsg */ 178 msghdr->msg_name = NULL; 179 msghdr->msg_namelen = 0; 180 msghdr->msg_iov = msg; 181 msghdr->msg_iovlen = iovlen; 182 msghdr->msg_accrights = NULL; 183 msghdr->msg_accrightslen = 0; 196 while (sendmsg(slpdfd, msghdr, [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 94 msgid_to_msgstr(const Msghdr *msghdr, const char *msgid) argument 105 list = (const Msglst *)&msghdr[1]; 106 ids = (const char *)&list[msghdr->hdr_lstcnt]; 107 strs = (const char *)&ids[msghdr->hdr_msgidsz]; 109 off = msghdr->hdr_midlst; 148 const Msghdr *msghdr; local 167 if ((msghdr = (Msghdr *)mmap(0, status.st_size, PROT_READ, MAP_SHARED, 176 count = msghdr->hdr_lstcnt; 177 if (((count - 1) / 2) != msghdr->hdr_midlst) { 178 (void) munmap((caddr_t)msghdr, statu [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_notify.c | 164 sctp_sendfail(sctp_t *sctp, mblk_t *msghdr, uint16_t flags, int error) argument 173 freemsg(msghdr); 177 smh = (sctp_msg_hdr_t *)msghdr->b_rptr; 193 mp->b_cont = msghdr->b_cont; 195 freeb(msghdr);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rds_recv.c | 341 * If msghdr is NULL, we will just purge the error queue. 344 rdsv3_notify_queue_get(struct rdsv3_sock *rs, struct msghdr *msghdr) argument 369 if (msghdr) { 371 msghdr->msg_controllen / CMSG_SPACE(sizeof (cmsg)); 390 if (msghdr) { 394 err = rdsv3_put_cmsg(msghdr, SOL_RDS, 423 rdsv3_notify_cong(struct rdsv3_sock *rs, struct msghdr *msghdr) argument 428 err = rdsv3_put_cmsg(msghdr, SOL_RD [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_opipe.c | 305 struct nmsghdr msghdr; local 325 bzero(&msghdr, sizeof (msghdr)); 326 msghdr.msg_iov = uio->uio_iov; 327 msghdr.msg_iovlen = uio->uio_iovcnt; 334 rc = ksocket_sendmsg(sock, &msghdr, 0, &sent, ofile->f_cr); 355 struct nmsghdr msghdr; local 375 bzero(&msghdr, sizeof (msghdr)); 376 msghdr [all...] |
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 189 struct nmsghdr msghdr; local 218 msghdr.msg_name = NULL; 219 msghdr.msg_namelen = 0; 220 msghdr.msg_control = NULL; 221 msghdr.msg_controllen = 0; 222 msghdr.msg_flags = flags | MSG_EOR; 224 error = socket_sendmsg(KSTOSO(ks), &msghdr, &auio, cr); 241 struct nmsghdr msghdr; local 270 msghdr.msg_iov = &iov; 271 msghdr 348 struct nmsghdr msghdr; local 401 struct nmsghdr msghdr; local [all...] |
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | socket.h | 159 struct msghdr { struct
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 281 uchar_t msghdr[4]; local 304 msghdr[0] = (uchar_t)ssl->msg.type; 306 msghdr[1] = (uchar_t)(msglen >> 16); 307 msghdr[2] = (uchar_t)(msglen >> 8); 308 msghdr[3] = (uchar_t)(msglen); 309 kssl_update_handshake_hashes(ssl, msghdr, 4);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket.h | 348 struct msghdr { struct 380 #define nmsghdr msghdr 479 (((uintptr_t)((struct msghdr *)(m))->msg_control) + \ 480 ((uintptr_t)((struct msghdr *)(m))->msg_controllen))) ? \ 539 extern ssize_t recvmsg(int, struct msghdr *, int); 541 extern ssize_t sendmsg(int, const struct msghdr *, int);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | socket.h | 395 * versions of msghdr structs. */ 407 struct msghdr { struct 605 struct msghdr msg_hdr; /* message header */ 629 ssize_t recvmsg(int, struct msghdr *, int); 638 ssize_t sendmsg(int, const struct msghdr *, int);
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 3794 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; local 3839 " src=%lx:%llx\n", path, msghdr->rsmipc_src, src_hwaddr)); 3875 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; local 3912 if (path->local_incn != msghdr->rsmipc_incn) { 3918 msghdr->rsmipc_incn)); 3923 " src=%lx:%llx\n", path, msghdr->rsmipc_src, src_hwaddr)); 3955 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; local 3986 if (path->local_incn != msghdr->rsmipc_incn) { 3992 msghdr->rsmipc_incn)); 3999 path->sendq_token.msgbuf_avail, msghdr 4891 rsmipc_msghdr_t *msghdr; local 4992 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)data; local 5100 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)data; local [all...] |