Home
last modified time | relevance | path

Searched refs:msg_namelen (Results 1 – 25 of 39) sorted by relevance

12

/titanic_44/usr/src/uts/common/sys/
H A Dsocket.h350 socklen_t msg_namelen; /* size of address */ member
373 socklen_t msg_namelen; /* size of address */ member
386 uint32_t msg_namelen; /* size of address */ member
395 uint32_t msg_namelen; /* size of address */ member
/titanic_44/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c185 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_lla_optlen_test()
248 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_pi_optlen_test()
318 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_plen_test()
349 msg6.msg_namelen = sizeof (sin6_t); in spoof_link_local_test()
377 msg6.msg_namelen = sizeof (sin6_t); in spoof_good_test()
/titanic_44/usr/src/uts/common/io/ksocket/
H A Dksocket.c218 msghdr.msg_namelen = 0; in ksocket_send()
272 msghdr.msg_namelen = namelen; in ksocket_sendto()
377 msghdr.msg_namelen = 0; in ksocket_recv()
430 msghdr.msg_namelen = *namelen; in ksocket_recvfrom()
445 bcopy(msghdr.msg_name, name, msghdr.msg_namelen); in ksocket_recvfrom()
446 bcopy(&msghdr.msg_namelen, namelen, sizeof (msghdr.msg_namelen)); in ksocket_recvfrom()
/titanic_44/usr/src/lib/libsctp/common/
H A Dsctp.c271 hdr.msg_namelen = (fromlen != NULL) ? *fromlen : 0; in sctp_recvmsg()
290 *fromlen = hdr.msg_namelen; in sctp_recvmsg()
320 hdr.msg_namelen = tolen; in sctp_send_common()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c853 namelen = msg->msg_namelen; in recvit()
869 msg->msg_name, msg->msg_namelen); in recvit()
922 if (msg->msg_namelen != 0) in recvit()
923 kmem_free(msg->msg_name, (size_t)msg->msg_namelen); in recvit()
936 if (msg->msg_namelen != 0) in recvit()
937 kmem_free(msg->msg_name, (size_t)msg->msg_namelen); in recvit()
969 lmsg.msg_namelen = 0; in recv()
1001 if (copyin(namelenp, &lmsg.msg_namelen, in recvfrom()
1002 sizeof (lmsg.msg_namelen))) in recvfrom()
1005 lmsg.msg_namelen = 0; in recvfrom()
[all …]
H A Dsockcommon_sops.c1639 namelen = msg->msg_namelen; in so_recvmsg()
1641 msg->msg_namelen = 0; in so_recvmsg()
1782 msg->msg_namelen = addrlen; in so_recvmsg()
1797 if (msg->msg_namelen != 0) in so_recvmsg()
1799 msg->msg_namelen); in so_recvmsg()
H A Dsocktpi.c3124 namelen = msg->msg_namelen; in sotpi_recvmsg()
3126 msg->msg_namelen = 0; in sotpi_recvmsg()
3407 msg->msg_namelen = addrlen; in sotpi_recvmsg()
3423 if (msg->msg_namelen != 0) in sotpi_recvmsg()
3425 msg->msg_namelen); in sotpi_recvmsg()
4224 namelen = msg->msg_namelen; in sotpi_sendmsg()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drds_recv.c491 if (msg && msg->msg_namelen) { in rdsv3_recvmsg()
499 msg->msg_namelen = sizeof (struct sockaddr_in); in rdsv3_recvmsg()
598 if (msg->msg_namelen) { in rdsv3_recvmsg()
605 msg->msg_namelen = sizeof (struct sockaddr_in); in rdsv3_recvmsg()
H A Dsend.c950 if (msg->msg_namelen) { in rdsv3_sendmsg()
952 if (msg->msg_namelen < sizeof (*usin) || in rdsv3_sendmsg()
/titanic_44/usr/src/lib/libresolv2/common/bsd/
H A Dwritev.c36 mesg.msg_namelen = 0; in __writev()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_packet.c142 msg.msg_namelen = sizeof (struct sockaddr_in); in snd_radius_request()
184 msg.msg_namelen = 0; in rcv_radius_response()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dsocket.h161 int msg_namelen; /* size of address */ member
/titanic_44/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c113 msg.msg_namelen = 0; in recvfd()
H A Dlpd-port.c96 msg.msg_namelen = 0; in sendfd()
/titanic_44/usr/src/lib/libslp/clib/
H A Dslp_ipc.c179 msghdr->msg_namelen = 0; in slp_send2slpd_iov()
H A Dslp_net.c684 msg->msg_namelen = 16; in udp_make_msghdr()
/titanic_44/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c495 namelen = msg->msg_namelen; in sosctp_recvmsg()
499 msg->msg_namelen = 0; in sosctp_recvmsg()
575 msg->msg_namelen = len; in sosctp_recvmsg()
870 error = sosctp_connect(so, msg->msg_name, msg->msg_namelen, in sosctp_sendmsg()
887 mctl = sctp_alloc_hdr(msg->msg_name, msg->msg_namelen, in sosctp_sendmsg()
957 namelen = msg->msg_namelen; in sosctp_seq_sendmsg()
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c188 msg.msg_namelen = 0; in iscsit_rcv_radius_response()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c82 rmsg.msg_namelen = (socklen_t)sizeof (from); in in_data()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c799 msg.msg_namelen = *salenptr; in recvfrom_flags()
808 *salenptr = msg.msg_namelen; /* pass back results */ in recvfrom_flags()
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c916 msg.msg_namelen = sizeof (struct sockaddr_in6); in send_pkt_internal()
1251 msg.msg_namelen = sizeof (plp->pktfrom); in sock_recvpkt()
/titanic_44/usr/src/uts/common/c2/
H A Daudit_event.c4080 socklen_t msg_namelen; in auf_recvmsg() local
4152 msg_namelen = (socklen_t)STRUCT_FGET(msg, msg_namelen); in auf_recvmsg()
4153 if (msg_namelen == 0) { in auf_recvmsg()
4485 socklen_t msg_namelen; in auf_sendmsg() local
4541 msg_namelen = (socklen_t)STRUCT_FGET(msg, msg_namelen); in auf_sendmsg()
4543 if (msg_namelen == 0) in auf_sendmsg()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c441 msg.msg_namelen = sizeof (from); in query_loop()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c1889 in_msg.msg_namelen = sizeof (from6); in recv_icmp_packet()
2077 msg6->msg_namelen = sizeof (struct sockaddr_in6); in pinger()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c1515 msg6->msg_namelen = sizeof (struct sockaddr_in6); in traceroute()
1664 in_msg.msg_namelen = pr->sock_size; in traceroute()

12