/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 61 * *addrp is a pointer to the array, *sizep is the number of elements. 62 * If *addrp is NULL (*sizep * elsize) bytes are allocated. 67 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument 71 caddr_t target = *addrp; 94 *addrp = target = malloc(nodesize); 118 free(*addrp); 119 *addrp = NULL;
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 88 get_network_prefix(in_addr_t *addrp) argument 93 addr = ntohl(*addrp); 96 *addrp = htonl(addr);
|
H A D | tsol_getrhent.c | 54 tsol_getrhbyaddr(const void *addrp, size_t len, int af) argument 65 arg.key.hostaddr.addr = (const char *)addrp; 76 (char *)addrp, rhstrp ? rhstrp->rhstr_template : "NULL");
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 114 struct in_addr *addrp; local 170 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, 171 sizeof (*addrp)); 172 addrp -= naddr; 173 addrvec = (char **)ROUND_DOWN(addrp, sizeof (*addrvec)); 214 addrvec[i] = (char *)&addrp[i]; 215 if ((addrp[i].s_addr = inet_addr(addrbuf)) ==
|
H A D | netdir_inet.c | 2234 struct in_addr *addrp; local 2242 result->h_length = (af == AF_INET) ? sizeof (*addrp): 2254 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, 2255 sizeof (*addrp)); 2258 if ((char *)(&addrvec[count + 1]) > (char *)(&addrp[-count])) 2264 --addrp; 2265 (void) memcpy(addrp, 2267 sizeof (*addrp)); 2268 *addrvec++ = (char *)addrp;
|
/osnet-11/usr/src/lib/libdscp/ |
H A D | libdscp.c | 457 * Returns: 0 upon success, with 'addrp' updated. 458 * -1 upon failure, with 'addrp' undefined. 461 convert_ipv6(struct sockaddr_in6 *addr6, uint32_t *addrp) argument 491 *addrp = ntohl(addr);
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 203 void *addrp; local 210 addrp = &unmapv4; 213 (void) memcpy(addrp, &argp->key.hostaddr.addr[12], addrlen); 215 addrp = (void *)argp->key.hostaddr.addr; 219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
|
H A D | dns_common.c | 108 struct in_addr *addrp; local 130 addrp = (struct in_addr *)ROUND_DOWN(limit, sizeof (*addrp)); 134 (char **)&addrp, DNS_ADDRLIST, &count, af_type); 140 (char **)&addrp, DNS_ALIASES, &count, af_type);
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 299 PRNetAddr *addrp, int port, int timeout, unsigned long options ) 305 PRLDAP_DEFAULT_ADDRESS_FAMILY, (PRUint16)port, addrp )) { 334 if ( PR_SUCCESS != PR_NetAddrToString( addrp, buf, sizeof(buf ))) { 345 fprintf( stderr, fmtstr, p, PR_ntohs( addrp->ipv6.port )); 352 if ( PR_SUCCESS != PR_Connect( prsockp->prsock_prfd, addrp, 298 prldap_try_one_address( struct lextiof_socket_private *prsockp, PRNetAddr *addrp, int port, int timeout, unsigned long options ) argument
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 1030 char *addrp; local 1037 addrp = (char *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; 1041 addrp = (char *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr; 1059 if (memcmp(*tap, addrp, addrlen) == 0) 1064 memcpy(*hap = bp, addrp, addrlen);
|
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.c | 365 * Using `handle', get the address information associated with address `addrp' 371 struct sockaddr_storage *addrp, ipmp_addrinfo_t **adinfopp) 379 adinfop = ipmp_snap_getaddrinfo(statep->st_snap, grname, addrp); 387 retval = ipmp_sendquery(statep, IPMP_ADDRINFO, grname, addrp, &end); 767 ipmp_addrinfo_create(struct sockaddr_storage *addrp, ipmp_addr_state_t state, argument 776 adinfop->ad_addr = *addrp; 1007 * Retrieve the information for the address `addrp' on group `grname' in 1013 struct sockaddr_storage *addrp) 1019 sockaddrcmp(addrp, &adlp->adl_adinfop->ad_addr)) 370 ipmp_getaddrinfo(ipmp_handle_t handle, const char *grname, struct sockaddr_storage *addrp, ipmp_addrinfo_t **adinfopp) argument 1012 ipmp_snap_getaddrinfo(ipmp_snap_t *snap, const char *grname, struct sockaddr_storage *addrp) argument
|
/osnet-11/usr/src/lib/libvdp/common/ |
H A D | vdp_impl.c | 1259 uint8_t *addrp = (uint8_t *) local 1263 addrp[0], addrp[1], addrp[2], addrp[3], addrp[4], addrp[5],
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 210 const char **namep, int *namelen, void *addrp, int *addrsize) 241 addrp, v6flag, addrsize)) { 265 addrp, v6flag, addrsize)); 449 void *addrp, int v6flag, int *h_length) 462 addrpv4 = (in_addr_t *)addrp; 467 addrpv6 = (struct in6_addr *)addrp; 663 void *addrp; local 735 addrp = (type == AF_INET) ? 739 &namelen, addrp, &i)) { 814 addrp 209 check_name_host(nss_XbyY_args_t *argp, const char *line, int linelen, int type, const char **namep, int *namelen, void *addrp, int *addrsize) argument 448 __nss_files_get_addr(int af, const char *addrstart, int addrlen, void *addrp, int v6flag, int *h_length) argument 853 struct in_addr *addrp; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | localaddr.c | 1398 void *addrp = 0; local 1409 addrp = &sinp->sin_addr; 1420 addrp = &sin6p->sin6_addr; 1431 if (addrp) 1432 memcpy (addrp, addr[0][j]->contents, addr[0][j]->length);
|
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 272 uint8_t *sapp, *addrp; local 379 sapp = addrp = (uint8_t *)datap; 381 addrp += dip->dli_saplen; 385 _DLPI_INFO_COPY(infop, version, di_physaddr, addrp, 549 i_dlpi_multi(dlpi_handle_t dh, t_uscalar_t op, const uint8_t *addrp, argument 568 (void) memcpy(&multireqp[1], addrp, addrlen); 574 dlpi_enabmulti(dlpi_handle_t dh, const void *addrp, size_t addrlen) argument 576 return (i_dlpi_multi(dh, DL_ENABMULTI_REQ, addrp, addrlen)); 580 dlpi_disabmulti(dlpi_handle_t dh, const void *addrp, size_t addrlen) argument 582 return (i_dlpi_multi(dh, DL_DISABMULTI_REQ, addrp, addrle 622 dlpi_get_physaddr(dlpi_handle_t dh, uint_t type, void *addrp, size_t *addrlenp) argument 671 dlpi_set_physaddr(dlpi_handle_t dh, uint_t type, const void *addrp, size_t addrlen) argument [all...] |