/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/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...] |
H A D | slp_net.c | 91 struct msghdr *); 97 static SLPError mc_sendmsg(struct pollfd *, struct msghdr *, 99 static SLPError bc_sendmsg(struct pollfd *, struct msghdr *, struct bc_ifs *); 195 struct msghdr msg[1]; 219 /* make the socket, msghdr and reply buf */ 338 struct msghdr msg[1]; 679 * Populates a struct msghdr suitable for use with sendmsg. 682 int iovlen, struct msghdr *msg) { 925 struct msghdr *msg, struct bc_ifs *bcifs) { 965 static SLPError bc_sendmsg(struct pollfd *fds, struct msghdr *ms [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/libsocket/common/ |
H A D | llib-lsocket | 92 ssize_t recvmsg(int s, struct msghdr *msg, int flags); 94 ssize_t sendmsg(int s, const struct msghdr *msg, int flags); 111 int _recvmsg(int s, struct msghdr *msg, int flags); 113 int _sendmsg(int s, const struct msghdr *msg, int flags); 123 int __xnet_recvmsg(int sock, struct msghdr *msg, int flags); 124 int __xnet_sendmsg(int sock, const struct msghdr *msg, int flags);
|
/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...] |
H A D | smb_net.c | 156 struct msghdr msg;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sdp_itf.h | 106 extern int sdp_send(struct sdp_conn_struct_t *conn, struct msghdr *msg, 108 extern int sdp_recv(struct sdp_conn_struct_t *conn, struct msghdr *msg,
|
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 171 struct msghdr msg6; 183 bzero(&msg6, sizeof (struct msghdr)); 234 struct msghdr msg6; 246 bzero(&msg6, sizeof (struct msghdr)); 305 struct msghdr msg6; 316 bzero(&msg6, sizeof (struct msghdr)); 336 struct msghdr msg6; 347 bzero(&msg6, sizeof (struct msghdr)); 364 struct msghdr msg6; 375 bzero(&msg6, sizeof (struct msghdr)); [all...] |
/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/lib/libsocket/socket/ |
H A D | weaks.c | 132 _recvmsg(int sock, struct msghdr *msg, int flags) 144 _sendmsg(int sock, struct msghdr *msg, int flags) 240 __xnet_recvmsg(int sock, struct msghdr *msg, int flags) 246 __xnet_sendmsg(int sock, const struct msghdr *msg, int flags)
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 32 struct msghdr mesg;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | recv.c | 74 struct msghdr *msg;
|
H A D | send.c | 155 struct msghdr *msg;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.h | 136 extern void ping_gettime(struct msghdr *, struct timeval *);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 58 int check_reply6(struct msghdr *, int, int, uchar_t *, uchar_t *); 59 void *find_ancillary_data(struct msghdr *, int, int); 65 void send_probe6(int, struct msghdr *, struct ip *, int, int, 67 void set_ancillary_data(struct msghdr *, int, union any_in_addr *, int, uint_t); 69 static boolean_t update_hoplimit_ancillary_data(struct msghdr *, int); 118 * Initialize the msghdr for specifying hoplimit, outgoing interface and routing 122 set_ancillary_data(struct msghdr *msgp, int hoplimit, 278 update_hoplimit_ancillary_data(struct msghdr *msg, int hoplimit) 301 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, 375 find_ancillary_data(struct msghdr *ms [all...] |
H A D | traceroute.c | 100 int (*check_reply_fn)(struct msghdr *, int, int, uchar_t *, uchar_t *); 189 extern int check_reply(struct msghdr *, int, int, uchar_t *, uchar_t *); 190 extern int check_reply6(struct msghdr *, int, int, uchar_t *, uchar_t *); 194 extern void *find_ancillary_data(struct msghdr *, int, int); 218 extern void send_probe6(int, struct msghdr *, struct ip *, int, int, 220 extern void set_ancillary_data(struct msghdr *, int, union any_in_addr *, int, 234 static void traceroute(union any_in_addr *, struct msghdr *, struct pr_set *, 238 static int wait_for_reply(int, struct msghdr *, struct timeval *); 1403 struct msghdr msg6; 1491 traceroute(union any_in_addr *ip_addr, struct msghdr *msg [all...] |
/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/lib/libbc/inc/include/sys/ |
H A D | socket.h | 159 struct msghdr { struct
|
/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/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 173 static size_t iscsi_net_sendmsg(void *socket, struct msghdr *msg); 175 struct msghdr *msg, int timeout); 441 iscsi_net_sendmsg(void *socket, struct msghdr *msg) 456 iscsi_net_recvmsg(void *socket, struct msghdr *msg, int timeout) 507 struct msghdr msg; 616 struct msghdr msg; 746 struct msghdr msg;
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 103 struct msghdr *msg, struct cred *cr)
|
/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/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 91 struct msghdr msg;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 227 find_ancillary(struct msghdr *msg, int cmsg_type)
|