Home
last modified time | relevance | path

Searched refs:sa_len (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.timed/
H A Din.timed.c72 machtime_dg(int s, const struct sockaddr *sap, int sa_len, const void *buf, in machtime_dg() argument
77 (void) safe_sendto(s, &result, sizeof (result), 0, sap, sa_len); in machtime_dg()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.h116 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \
117 sizeof(struct sockaddr) : ((struct sockaddr*)&(X))->sa_len )
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c565 if (lifreq.lifr_addr.sa_len == 0)
566 lifreq.lifr_addr.sa_len = 16;
570 if (lifreq.lifr_addr.sa_len > sizeof (struct sockaddr))
571 cpsize += (int)lifreq.lifr_addr.sa_len -
574 cpsize = sizeof lifreq.lifr_name + lifreq.lifr_addr.sa_len;
744 if (u.ifreq.ifr_addr.sa_len == 0)
745 u.ifreq.ifr_addr.sa_len = 16;
749 if (u.ifreq.ifr_addr.sa_len > sizeof (struct sockaddr))
750 cpsize += (int)u.ifreq.ifr_addr.sa_len -
753 cpsize = sizeof u.ifreq.ifr_name + u.ifreq.ifr_addr.sa_len;
H A Dgetnameinfo.c127 len = sa->sa_len;
H A Dgetaddrinfo.c936 ai->ai_addr->sa_len = afd->a_socklen;
/titanic_41/usr/src/uts/common/os/
H A Dshm.c763 size_t len = sap->sa_len; in shm_detach()
796 template.sa_len = 0; in shmdt()
1007 } else if (sa2->sa_len != 0) { in shm_sacompar()
1008 if (sa1->sa_addr >= sa2->sa_addr + sa2->sa_len) { in shm_sacompar()
1010 } else if (sa1->sa_len != 0) { in shm_sacompar()
1034 nsap->sa_len = len; in sa_add()
1084 sa_add(cpp, sap->sa_addr, sap->sa_len, sap->sa_flags, in shmfork()
1302 template.sa_len = 0; in shmgetid()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1659 int next, token, sa_len, alloclen, totallen = sizeof (msg), prefix; in doaddup() local
1952 sa_len = parseaddr(*argv, &srchp, in doaddup()
1964 alloclen = sizeof (*src) + roundup(sa_len, 8); in doaddup()
1993 sa_len = parseaddr(*argv, &dsthp, in doaddup()
2001 alloclen = sizeof (*dst) + roundup(sa_len, 8); in doaddup()
2056 sa_len = parseaddr(pstr, &isrchp, in doaddup()
2067 alloclen = sizeof (*isrc) + roundup(sa_len, 8); in doaddup()
2145 sa_len = parseaddr(pstr, &idsthp, in doaddup()
2156 alloclen = sizeof (*idst) + roundup(sa_len, 8); in doaddup()
2207 sa_len = parseaddr(*argv, &natt_lhp, 0, ebuf); in doaddup()
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_etm_proto.h136 uint32_t sa_len; /* message string length */ member
H A Detm.c1198 + sizeof (sa_hdrp->sa_len), in etm_hdr_read()
1205 sa_hdrp->sa_len = ntohl(sa_hdrp->sa_len); in etm_hdr_read()
2546 body_sz = sa_hdrp->sa_len; in etm_handle_new_conn()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h112 # define socklen(X) ((X)->sa_len)
/titanic_41/usr/src/uts/common/sys/
H A Dshm_impl.h91 size_t sa_len; member
/titanic_41/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c755 nbio_connect(int sockfd, const struct sockaddr *sa, int sa_len) in nbio_connect() argument
763 return (connect(sockfd, sa, sa_len)); in nbio_connect()
765 if ((rc = connect(sockfd, sa, sa_len)) != 0) { in nbio_connect()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c591 int sa_len; in new_req() local
598 sa_len = sizeof (sa); in new_req()
599 if ((new_sd = accept(listener, &sa, &sa_len)) == -1) { in new_req()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c145 sizeof((i).ifr_name)+(i).ifr_addr.sa_len)
227 if (s1->sa_len != s2->sa_len) in addr_eq()
229 return !memcmp (s1, s2, s1->sa_len); in addr_eq()
H A Dforeachaddr.c130 sizeof((i).ifr_name)+(i).ifr_addr.sa_len)
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c564 if (sa->sa_len)
565 return (sa->sa_len);
/titanic_41/usr/src/cmd/sendmail/src/
H A Dconf.c4826 if (sa->sa.sa_len > sizeof(ifr->lifr_addr)) in load_if_names()
4827 i += sizeof(ifr->lifr_name) + sa->sa.sa_len; in load_if_names()
4833 max(sizeof(ifr->ifr_addr), ifr->ifr_addr.sa_len); in load_if_names()
5015 if (sa->sa.sa_len > sizeof(ifr->ifr_addr)) in load_if_names()
5016 i += sizeof(ifr->ifr_name) + sa->sa.sa_len; in load_if_names()
H A Ddaemon.c409 RealHostAddr.sa.sa_len == 0 ||
/titanic_41/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c818 cliaddr.sa.sa_len == 0 ||
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c3221 socklen_t sa_len; in isnst_handle_esi_req() local
3336 sa_len = sizeof (server_ss); in isnst_handle_esi_req()
3337 if (ksocket_getpeername(ks, (struct sockaddr *)&server_ss, &sa_len, in isnst_handle_esi_req()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c1285 ai->ai_addr->sa_len = ai->ai_addrlen; in getaddrinfo()