Searched refs:msghdr (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dlocale.c94 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 Dslp_ipc.c163 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 Dslp_net.c91 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 Dksocket.c189 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 Dllib-lsocket92 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 Dsmb_opipe.c305 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 Dsmb_net.c156 struct msghdr msg;
/illumos-gate/usr/src/uts/common/inet/
H A Dsdp_itf.h106 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 Dspoof-ras.c171 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 Dsocket.h348 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 Dweaks.c132 _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 Dwritev.c32 struct msghdr mesg;
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Drecv.c74 struct msghdr *msg;
H A Dsend.c155 struct msghdr *msg;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h136 extern void ping_gettime(struct msghdr *, struct timeval *);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c58 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 Dtraceroute.c100 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 Drds_recv.c341 * 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 Dsocket.h159 struct msghdr { struct
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c164 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 Discsi_net.c173 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 Dsock_notsupp.c103 struct msghdr *msg, struct cred *cr)
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h395 * 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 Dlpd-misc.c91 struct msghdr msg;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c227 find_ancillary(struct msghdr *msg, int cmsg_type)

Completed in 89 milliseconds

123