/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 94 msgid_to_msgstr(const Msghdr *msghdr, const char *msgid) in msgid_to_msgstr() argument 105 list = (const Msglst *)&msghdr[1]; in msgid_to_msgstr() 106 ids = (const char *)&list[msghdr->hdr_lstcnt]; in msgid_to_msgstr() 107 strs = (const char *)&ids[msghdr->hdr_msgidsz]; in msgid_to_msgstr() 109 off = msghdr->hdr_midlst; in msgid_to_msgstr() 148 const Msghdr *msghdr; in open_mofile() local 167 if ((msghdr = (Msghdr *)mmap(0, status.st_size, PROT_READ, MAP_SHARED, in open_mofile() 176 count = msghdr->hdr_lstcnt; in open_mofile() 177 if (((count - 1) / 2) != msghdr->hdr_midlst) { in open_mofile() 178 (void) munmap((caddr_t)msghdr, status.st_size); in open_mofile() [all …]
|
/titanic_41/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 188 struct nmsghdr msghdr; in ksocket_send() local 217 msghdr.msg_name = NULL; in ksocket_send() 218 msghdr.msg_namelen = 0; in ksocket_send() 219 msghdr.msg_control = NULL; in ksocket_send() 220 msghdr.msg_controllen = 0; in ksocket_send() 221 msghdr.msg_flags = flags | MSG_EOR; in ksocket_send() 223 error = socket_sendmsg(KSTOSO(ks), &msghdr, &auio, cr); in ksocket_send() 240 struct nmsghdr msghdr; in ksocket_sendto() local 269 msghdr.msg_iov = &iov; in ksocket_sendto() 270 msghdr.msg_iovlen = 1; in ksocket_sendto() [all …]
|
/titanic_41/usr/src/lib/libslp/clib/ |
H A D | slp_ipc.c | 163 struct msghdr msghdr[1]; in slp_send2slpd_iov() local 178 msghdr->msg_name = NULL; in slp_send2slpd_iov() 179 msghdr->msg_namelen = 0; in slp_send2slpd_iov() 180 msghdr->msg_iov = msg; in slp_send2slpd_iov() 181 msghdr->msg_iovlen = iovlen; in slp_send2slpd_iov() 182 msghdr->msg_accrights = NULL; in slp_send2slpd_iov() 183 msghdr->msg_accrightslen = 0; in slp_send2slpd_iov() 196 while (sendmsg(slpdfd, msghdr, 0) == -1) { in slp_send2slpd_iov()
|
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]; in slp_uc_udp_send() 338 struct msghdr msg[1]; in slp_mc_send() 682 int iovlen, struct msghdr *msg) { in udp_make_msghdr() 925 struct msghdr *msg, struct bc_ifs *bcifs) { in mc_sendmsg() 965 static SLPError bc_sendmsg(struct pollfd *fds, struct msghdr *msg, in bc_sendmsg()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_opipe.c | 302 struct nmsghdr msghdr; in smb_opipe_write() local 322 bzero(&msghdr, sizeof (msghdr)); in smb_opipe_write() 323 msghdr.msg_iov = uio->uio_iov; in smb_opipe_write() 324 msghdr.msg_iovlen = uio->uio_iovcnt; in smb_opipe_write() 331 rc = ksocket_sendmsg(sock, &msghdr, 0, &sent, ofile->f_cr); in smb_opipe_write() 352 struct nmsghdr msghdr; in smb_opipe_read() local 372 bzero(&msghdr, sizeof (msghdr)); in smb_opipe_read() 373 msghdr.msg_iov = uio->uio_iov; in smb_opipe_read() 374 msghdr.msg_iovlen = uio->uio_iovcnt; in smb_opipe_read() 381 rc = ksocket_recvmsg(sock, &msghdr, 0, in smb_opipe_read()
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rds_recv.c | 344 rdsv3_notify_queue_get(struct rdsv3_sock *rs, struct msghdr *msghdr) in rdsv3_notify_queue_get() argument 369 if (msghdr) { in rdsv3_notify_queue_get() 371 msghdr->msg_controllen / CMSG_SPACE(sizeof (cmsg)); in rdsv3_notify_queue_get() 390 if (msghdr) { in rdsv3_notify_queue_get() 394 err = rdsv3_put_cmsg(msghdr, SOL_RDS, in rdsv3_notify_queue_get() 423 rdsv3_notify_cong(struct rdsv3_sock *rs, struct msghdr *msghdr) in rdsv3_notify_cong() argument 428 err = rdsv3_put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rdsv3_notify_cong() 444 rdsv3_cmsg_recv(struct rdsv3_incoming *inc, struct msghdr *msg) in rdsv3_cmsg_recv()
|
/titanic_41/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); 122 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() 278 update_hoplimit_ancillary_data(struct msghdr *msg, int hoplimit) in update_hoplimit_ancillary_data() 301 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, in send_probe6() 375 find_ancillary_data(struct msghdr *msg, int cmsg_level, int cmsg_type) in find_ancillary_data() 399 check_reply6(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) in check_reply6()
|
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; in trace_it() 1491 traceroute(union any_in_addr *ip_addr, struct msghdr *msg6, struct pr_set *pr, in traceroute() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | socket.h | 348 struct msghdr { struct 380 #define nmsghdr msghdr argument 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);
|
/titanic_41/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 132 _recvmsg(int sock, struct msghdr *msg, int flags) in _recvmsg() 144 _sendmsg(int sock, struct msghdr *msg, int flags) in _sendmsg() 240 __xnet_recvmsg(int sock, struct msghdr *msg, int flags) in __xnet_recvmsg() 246 __xnet_sendmsg(int sock, const struct msghdr *msg, int flags) in __xnet_sendmsg()
|
/titanic_41/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);
|
/titanic_41/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,
|
/titanic_41/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) in iscsi_net_sendmsg() 456 iscsi_net_recvmsg(void *socket, struct msghdr *msg, int timeout) in iscsi_net_recvmsg() 507 struct msghdr msg; in iscsi_net_sendpdu() 616 struct msghdr msg; in iscsi_net_recvhdr() 746 struct msghdr msg; in iscsi_net_recvdata()
|
/titanic_41/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) in sctp_sendfail() argument 173 freemsg(msghdr); in sctp_sendfail() 177 smh = (sctp_msg_hdr_t *)msghdr->b_rptr; in sctp_sendfail() 193 mp->b_cont = msghdr->b_cont; in sctp_sendfail() 195 freeb(msghdr); in sctp_sendfail()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 66 void check_reply6(struct addrinfo *, struct msghdr *, int, ushort_t); 70 static void pr_ext_headers(struct msghdr *); 78 void set_ancillary_data(struct msghdr *, int, union any_in_addr *, int, uint_t); 88 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() 259 check_reply6(struct addrinfo *ai_dst, struct msghdr *msg, int cc, in check_reply6() 1018 pr_ext_headers(struct msghdr *msg) in pr_ext_headers()
|
/titanic_41/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;
|
/titanic_41/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 32 struct msghdr mesg; in __writev()
|
/titanic_41/usr/src/lib/libbc/inc/include/sys/ |
H A D | socket.h | 159 struct msghdr { struct
|
/titanic_41/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 264 struct msghdr hdr; in sctp_recvmsg() 313 struct msghdr hdr; in sctp_send_common()
|
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_radiuspacket.c | 40 static size_t iscsit_net_recvmsg(ksocket_t socket, struct msghdr *msg, 310 iscsit_net_recvmsg(ksocket_t socket, struct msghdr *msg, int timeout) in iscsit_net_recvmsg()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 103 struct msghdr *msg, struct cred *cr) in sock_send_notsupp()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 53 find_ancillary(struct msghdr *rmsg, int cmsg_type) in find_ancillary() 75 struct msghdr rmsg; in in_data()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rtquery.c | 110 static uint_t incoming_interface(struct msghdr *); 379 struct msghdr msg; in query_loop() 767 incoming_interface(struct msghdr *msg) in incoming_interface()
|
/titanic_41/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 3794 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; in rsm_proc_sqready() local 3839 " src=%lx:%llx\n", path, msghdr->rsmipc_src, src_hwaddr)); in rsm_proc_sqready() 3875 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; in rsm_proc_sqready_ack() local 3912 if (path->local_incn != msghdr->rsmipc_incn) { in rsm_proc_sqready_ack() 3918 msghdr->rsmipc_incn)); in rsm_proc_sqready_ack() 3923 " src=%lx:%llx\n", path, msghdr->rsmipc_src, src_hwaddr)); in rsm_proc_sqready_ack() 3955 rsmipc_msghdr_t *msghdr = (rsmipc_msghdr_t *)msg; in rsm_add_credits() local 3986 if (path->local_incn != msghdr->rsmipc_incn) { in rsm_add_credits() 3992 msghdr->rsmipc_incn)); in rsm_add_credits() 3999 path->sendq_token.msgbuf_avail, msghdr->rsmipc_src, in rsm_add_credits() [all …]
|