Searched defs:fromlen (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/ucblib/librpcsoc/
H A Drtime.c86 int fromlen; local
120 fromlen = sizeof (from);
122 (struct sockaddr *)&from, &fromlen);
H A Dclnt_udp.c230 int fromlen; local
378 fromlen = sizeof (struct sockaddr);
381 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/lib/libsctp/common/
H A Dsctp.c262 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags)
271 hdr.msg_namelen = (fromlen != NULL) ? *fromlen : 0;
289 if (fromlen != NULL) {
290 *fromlen = hdr.msg_namelen;
261 sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from, socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) argument
/illumos-gate/usr/src/lib/libc/port/gen/
H A Diconv.c278 size_t tolen, fromlen; local
316 fromlen = search_alias(&p, buflen, fromcode);
317 if (fromlen) {
318 from_canonical = alloca(fromlen + 1);
319 (void) memcpy(from_canonical, p, fromlen);
320 from_canonical[fromlen] = '\0';
325 if (tolen == 0 && fromlen == 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c312 socklen_t fromlen; local
321 fromlen = sizeof (from);
323 (struct sockaddr *)&from, &fromlen) < 0)
H A Dtftp.c122 socklen_t fromlen; local
175 fromlen = (socklen_t)sizeof (from);
178 (struct sockaddr *)&from, &fromlen);
249 socklen_t fromlen; local
303 fromlen = (socklen_t)sizeof (from);
305 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c139 socklen_t fromlen; local
159 fromlen = (socklen_t)sizeof (from);
160 if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
H A Din.rexecd.c114 socklen_t fromlen; local
118 fromlen = (socklen_t)sizeof (from);
119 if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) {
H A Din.rshd.c182 int on = 1, fromlen; local
194 fromlen = sizeof (from);
336 &fromlen)) < 0) {
347 (socklen_t *)&fromlen) < 0) {
H A Din.tftpd.c94 static socklen_t fromlen; variable
355 fromlen = (socklen_t)sizeof (struct sockaddr_in);
358 fromlen = (socklen_t)sizeof (struct sockaddr_in6);
368 (struct sockaddr *)&from, &fromlen);
H A Din.rlogind.c184 socklen_t fromlen; local
296 fromlen = sizeof (from);
297 if ((fd = accept(s, (struct sockaddr *)&from, &fromlen)) < 0) {
311 fromlen = sizeof (from);
312 if (getpeername(fd, (struct sockaddr *)&from, &fromlen) < 0)
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt_btcp.c409 uint_t fromlen = sizeof (from); local
419 &fromlen)) == 0) {
H A Dclnt_budp.c240 socklen_t fromlen; local
333 fromlen = sizeof (struct sockaddr);
337 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c573 int fromlen; local
583 fromlen = sizeof (from);
586 &fromlen)) < 0) {
/illumos-gate/usr/src/cmd/sed/
H A Ddefs.h79 size_t fromlen; member in struct:s_tr::trmulti
/illumos-gate/usr/src/cmd/man/
H A Dmakewhatis.c430 de_nroff_copy(char *from, char *to, int fromlen) argument
432 char *from_end = &from[fromlen];
/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c237 struct sockaddr *from, socklen_t *fromlen)
240 return (recvfrom(sd, buf, len, flags, from, fromlen));
669 socklen_t fromlen; local
686 fromlen = sizeof (from);
688 (struct sockaddr *)&from, &fromlen)) <= 0) {
236 st_local_recvfrom(int sd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) argument
H A Dsocket.c795 socklen_t *fromlen)
885 if (from != NULL && fromlen != NULL) {
889 bcopy(&(sockets[sock_id].remote), from, MIN(*fromlen,
895 if (*fromlen > sizeof (icp->igm_saddr))
896 *fromlen = sizeof (icp->igm_saddr);
898 MIN(*fromlen, sizeof (struct sockaddr_in)));
794 recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) argument
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c837 ISC_SOCKLEN_T fromlen; local
958 fromlen = sizeof(from);
960 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c1088 int fromlen; local
1099 fromlen = sizeof (struct sockaddr_in);
1104 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c1434 socklen_t fromlen; local
1444 fromlen = (socklen_t)sizeof (from);
1446 (struct sockaddr *)&from, &fromlen);
1467 (struct sockaddr *)&from, fromlen);
1480 fromlen);
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkpropd.c324 int finet, fromlen, s; local
525 socklen_t fromlen; local
563 fromlen = (socklen_t)sizeof (from);
564 if (getpeername(fd, (struct sockaddr *) &from, &fromlen) < 0) {
575 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop),
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c1713 socklen_t fromlen; local
1719 fromlen = (socklen_t)sizeof (from);
1721 (struct sockaddr *)&from, &fromlen);
1733 (struct sockaddr *)&from, fromlen);
1771 (struct sockaddr *)&from, fromlen);
1796 (struct sockaddr *)&from, fromlen);
1810 (struct sockaddr *)&from, fromlen);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c468 socklen_t fromlen = (socklen_t)sizeof (from); local
474 &fromlen)) < 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c1703 socklen_t fromlen = sizeof (from); local
1709 s = accept(data, (struct sockaddr *)&from, &fromlen);

Completed in 101 milliseconds

12