Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 25 of 54) sorted by relevance

123

/titanic_44/usr/src/cmd/sgs/rtld/common/
H A Dlocale.c94 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_44/usr/src/uts/common/io/ksocket/
H A Dksocket.c188 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_44/usr/src/lib/libslp/clib/
H A Dslp_ipc.c163 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 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]; 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_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_opipe.c302 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_44/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c171 struct msghdr msg6; in spoof_bad_lla_optlen_test()
183 bzero(&msg6, sizeof (struct msghdr)); in spoof_bad_lla_optlen_test()
234 struct msghdr msg6; in spoof_bad_pi_optlen_test()
246 bzero(&msg6, sizeof (struct msghdr)); in spoof_bad_pi_optlen_test()
305 struct msghdr msg6; in spoof_bad_plen_test()
316 bzero(&msg6, sizeof (struct msghdr)); in spoof_bad_plen_test()
336 struct msghdr msg6; in spoof_link_local_test()
347 bzero(&msg6, sizeof (struct msghdr)); in spoof_link_local_test()
364 struct msghdr msg6; in spoof_good_test()
375 bzero(&msg6, sizeof (struct msghdr)); in spoof_good_test()
/titanic_44/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);
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 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; in trace_it()
1491 traceroute(union any_in_addr *ip_addr, struct msghdr *msg6, struct pr_set *pr, in traceroute()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drds_recv.c344 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_44/usr/src/uts/common/sys/
H A Dsocket.h348 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_44/usr/src/lib/libsocket/socket/
H A Dweaks.c132 _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_44/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);
/titanic_44/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,
/titanic_44/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) 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_44/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c164 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_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c66 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_44/usr/src/lib/libbc/libc/sys/common/
H A Drecv.c74 struct msghdr *msg;
H A Dsend.c155 struct msghdr *msg;
/titanic_44/usr/src/lib/libresolv2/common/bsd/
H A Dwritev.c32 struct msghdr mesg; in __writev()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dsocket.h159 struct msghdr { struct
/titanic_44/usr/src/lib/libsctp/common/
H A Dsctp.c264 struct msghdr hdr; in sctp_recvmsg()
313 struct msghdr hdr; in sctp_send_common()
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c40 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_44/usr/src/uts/common/fs/sockfs/
H A Dsock_notsupp.c103 struct msghdr *msg, struct cred *cr) in sock_send_notsupp()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c53 find_ancillary(struct msghdr *rmsg, int cmsg_type) in find_ancillary()
75 struct msghdr rmsg; in in_data()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c110 static uint_t incoming_interface(struct msghdr *);
379 struct msghdr msg; in query_loop()
767 incoming_interface(struct msghdr *msg) in incoming_interface()

123