Home
last modified time | relevance | path

Searched refs:socklen (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h109 #if !defined (socklen)
112 # define socklen(X) ((X)->sa_len) macro
115 # define socklen(X) ((X)->sa_family == AF_INET6 ? (socklen_t) sizeof (struct sockaddr_in6) : (… macro
117 # define socklen(X) ((X)->sa_family == AF_INET ? (socklen_t) sizeof (struct sockaddr_in) : (so… macro
/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Dirp.c162 int socklen = 0; in irs_irp_connect() local
184 socklen = SUN_LEN(&uaddr); in irs_irp_connect()
186 uaddr.sun_len = socklen; in irs_irp_connect()
198 socklen = sizeof iaddr; in irs_irp_connect()
200 iaddr.sin_len = socklen; in irs_irp_connect()
214 if (connect(pvt->fdCxn, addr, socklen) != 0) { in irs_irp_connect()
/titanic_50/usr/src/lib/libbsm/common/
H A Daudit_settid.c47 int socklen = sizeof (sock); in audit_settid() local
61 if (getsockname(fd, (struct sockaddr *)&sock, (socklen_t *)&socklen) in audit_settid()
H A Dadt.c628 int socklen = sizeof (sock); in adt_load_termid() local
646 (socklen_t *)&socklen) < 0) { in adt_load_termid()
/titanic_50/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c132 if (getnameinfo(sa, socklen(sa), in paddr()
385 if (bind(sock, addr, socklen(addr)) == -1) { in setup_a_tcp_listener()
510 err = getnameinfo(addr, socklen(addr), haddrbuf, sizeof(haddrbuf), in setup_udp_port()
558 if (bind (sock, (struct sockaddr *)addr, socklen (addr)) == -1) { in setup_udp_port()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c1094 socklen_t socklen; in sockaddr2str() local
1103 socklen = sizeof (struct sockaddr_in); in sockaddr2str()
1106 socklen = sizeof (struct sockaddr_in6); in sockaddr2str()
1116 (void) getnameinfo(sp, socklen, buf, bufsize, NULL, 0, flags); in sockaddr2str()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c166 err = getnameinfo (sa, socklen (sa), buf, sizeof (buf), 0, 0, in printaddr()
1073 len = socklen (sa); in print_addr()
1417 err2 = getnameinfo (ss2sa(&ss), socklen (ss2sa (&ss)), in get_localaddrs()
H A Dsendto_kdc.c497 err = getnameinfo (sa, socklen (sa), buf, sizeof (buf), 0, 0, in krb5_sendto_kdc2()
500 err = getnameinfo (sa, socklen (sa), buf, in krb5_sendto_kdc2()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1549 socklen_t socklen; in sockaddr2str() local
1554 socklen = sizeof (struct sockaddr_in); in sockaddr2str()
1557 socklen = sizeof (struct sockaddr_in6); in sockaddr2str()
1564 (void) getnameinfo(sp, socklen, buf, bufsize, NULL, 0, in sockaddr2str()
/titanic_50/usr/src/cmd/sendmail/src/
H A Dmci.c379 SOCKADDR_LEN_T socklen = sizeof(CurHostAddr); local
383 (struct sockaddr *) &CurHostAddr, &socklen);
/titanic_50/usr/src/cmd/krb5/klist/
H A Dklist.c759 err = getnameinfo (ss2sa (&ss), socklen (ss2sa (&ss)),