Searched defs:portbuf (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c129 char portbuf[8], *s; local
159 bzero(portbuf, sizeof(portbuf));
160 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf);
162 portbuf[sizeof(portbuf) - 1] = '\0';
163 s = portbuf;
168 dlen, portbuf);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c795 char portbuf[32]; local
801 (void) snprintf(portbuf, sizeof (portbuf), "%d", ntohs(addr.sin_port));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c275 char portbuf[10], secportbuf[10]; local
288 sprintf(portbuf, "%d", ntohs(port));
290 err = getaddrinfo (hostname, portbuf, &hint, &addrs);
293 hostname, portbuf, err, gai_strerror (err));
H A Dsendto_kdc.c130 char addrbuf[NI_MAXHOST], portbuf[NI_MAXSERV]; local
240 portbuf, sizeof (portbuf),
247 sprintf(tmpbuf + strlen(tmpbuf), " %s.%s", addrbuf, portbuf);
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c132 char portbuf[10];
134 buf, sizeof(buf), portbuf, sizeof(portbuf),
140 if (len > 2+strlen(portbuf)) {
143 strncpy(p, portbuf, len);
131 char portbuf[10]; local
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c2798 char *portbuf = NULL; local
2806 portbuf = (char *)malloc(sizeof (sin->sin_port));
2807 if (portbuf == NULL) {
2813 (void) memcpy(portbuf, (const void *)&sin->sin_port,
2826 rsport.contents = (krb5_octet *)portbuf;
2832 char *portbuf = NULL; local
2844 portbuf = (char *)malloc(sizeof (sin6->sin6_port));
2845 if (portbuf == NULL) {
2864 (void) memcpy((void *) portbuf, (const void *)&sin6->sin6_port,
2870 rsport.contents = (krb5_octet *)portbuf;
[all...]

Completed in 65 milliseconds