/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tvsleep.c | 61 struct timespec srv; local 66 if ((r = nanosleep(&stv, &srv)) && rv) 68 rv->tv_sec = srv.tv_sec; 69 rv->tv_nsec = srv.tv_nsec;
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_nb_ssn.c | 252 struct nb_name lcl, srv; local 274 (void) snprintf(srv.nn_name, NB_NAMELEN, "%-15.15s", srvname); 275 srv.nn_type = NBT_SERVER; 276 srv.nn_scope = ctx->ct_nb->nb_scope; 281 if ((err = smbfs_nb_name_encode(&req, &srv)) != 0)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 72 struct srv_dns_entry *srv = NULL, *entry = NULL; local 140 srv = (struct srv_dns_entry *) malloc(sizeof(struct srv_dns_entry)); 141 if (srv == NULL) 144 srv->priority = priority; 145 srv->weight = weight; 146 srv->port = port; 149 if (asprintf(&srv->host, "%s.", host) < 0) { 150 free(srv); 154 if (head == NULL || head->priority > srv->priority) { 155 srv [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | open.c | 120 LDAPServer *srv; local 123 if ((srv = (LDAPServer *)calloc(1, sizeof (LDAPServer))) == 124 NULL || (ld->ld_defhost != NULL && (srv->lsrv_host = 128 srv->lsrv_port = ld->ld_defport; 130 if ((ld->ld_defconn = new_connection(ld, &srv, 1, 1, 0)) == 138 free(srv->lsrv_host); 139 free((char *)srv);
|
H A D | referral.c | 104 LDAPServer *srv; local 167 if (( srv = (LDAPServer *)calloc( 1, sizeof( LDAPServer ))) == NULL ) { 177 if (( srv->lsrv_host = strdup( ludp->lud_host ? ludp->lud_host : ld->ld_defhost)) == NULL ) { 179 free( (char *)srv ); 188 srv->lsrv_port = ludp->lud_port ? ludp->lud_port : LDAP_PORT; 190 if ( srv != NULL && send_server_request( ld, ber, ld->ld_msgid, 191 lr, srv, NULL, 1 ) >= 0 ) {
|
H A D | request.c | 62 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any ); 136 LDAPServer *srv; local 138 for ( srv = servers; srv != NULL; 139 srv = srv->lsrv_next ) { 142 srv->lsrv_host, ( srv->lsrv_dn == NULL ) ? 143 "(default)" : srv->lsrv_dn, 144 srv 303 LDAPServer *prevsrv, *srv; local 422 find_connection( LDAP *ld, LDAPServer *srv, int any ) argument 704 LDAPServer *srvlist, *prevsrv, *srv; local [all...] |
H A D | url.c | 365 LDAPServer *srv = NULL; local 391 if (( srv = (LDAPServer *)calloc( 1, sizeof( LDAPServer ))) 392 == NULL || ( srv->lsrv_host = strdup( ludp->lud_host == 394 if ( srv != NULL ) { 395 free( srv ); 401 srv->lsrv_port = LDAP_PORT; 403 srv->lsrv_port = ludp->lud_port; 411 err = send_server_request( ld, ber, ld->ld_msgid, NULL, srv, NULL, 1 );
|
/osnet-11/usr/src/lib/libilb/common/ |
H A D | ilb_rules.c | 54 i_drop_sg_srvs(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname, argument 57 return (ilb_rem_server_from_group(h, sgname, srv));
|
H A D | ilb_sg.c | 79 ilb_server_data_t *srv, ilbd_cmd_t cmd) 89 *sgname == '\0' || srv == NULL) 105 IP_COPY_CLI_2_IMPL(&srv->sd_addr, &sgs->sgs_addr); 106 h_minport = ntohs(srv->sd_minport); 107 h_maxport = ntohs(srv->sd_maxport); 108 sgs->sgs_minport = srv->sd_minport; 110 sgs->sgs_maxport = srv->sd_minport; 112 sgs->sgs_maxport = srv->sd_maxport; 114 sgs->sgs_flags = srv->sd_flags; 115 if (srv 78 i_ilb_addrem_server_to_group(ilb_handle_t h, const char *sgname, ilb_server_data_t *srv, ilbd_cmd_t cmd) argument 132 ilb_add_server_to_group(ilb_handle_t h, const char *sgname, ilb_server_data_t *srv) argument 140 ilb_rem_server_from_group(ilb_handle_t h, const char *sgname, ilb_server_data_t *srv) argument 225 ilb_sg_srv_t *srv; local 325 ilb_Xable_server(ilb_handle_t h, ilb_server_data_t *srv, void *reserved, ilbd_cmd_t cmd) argument 380 ilb_enable_server(ilb_handle_t h, ilb_server_data_t *srv, void *reserved) argument 386 ilb_disable_server(ilb_handle_t h, ilb_server_data_t *srv, void *reserved) argument 392 i_ilb_fillin_srvdata(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname, ilbd_cmd_t cmd) argument 454 ilb_srvID_to_address(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname) argument 461 ilb_address_to_srvID(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname) argument [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 410 LDAPServer *srv; local 440 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) 442 ( srv->lsrv_host = nsldapi_strdup( host )) == NULL )) { 443 if ( srv != NULL ) { 444 NSLDAPI_FREE( srv ); 451 srv->lsrv_port = ludp->lud_port; 454 srv->lsrv_port = ld->ld_defport; 457 srv->lsrv_port = LDAP_PORT; 460 srv->lsrv_port = LDAPS_PORT; 465 srv [all...] |
H A D | open.c | 607 LDAPServer *srv; local 609 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) == 610 NULL || ( ld->ld_defhost != NULL && ( srv->lsrv_host = 615 srv->lsrv_port = ld->ld_defport; 619 srv->lsrv_options |= LDAP_SRV_OPT_SECURE; 623 if (( ld->ld_defconn = nsldapi_new_connection( ld, &srv, 1, 1, 0 )) 626 NSLDAPI_FREE( srv->lsrv_host ); 628 NSLDAPI_FREE( (char *)srv );
|
H A D | request.c | 45 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any ); 114 LDAPServer *srv; local 117 for ( srv = servers; srv != NULL; 118 srv = srv->lsrv_next ) { 121 srv->lsrv_host, ( srv->lsrv_dn == NULL ) ? 122 "(default)" : srv->lsrv_dn, 123 srv 366 LDAPServer *prevsrv, *srv; local 533 find_connection( LDAP *ld, LDAPServer *srv, int any ) argument 952 LDAPServer *srv; local 1274 LDAPServer *srvlist, *prevsrv, *srv; local [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 123 get_server(char *host, nis_server *srv, endpoint eps[], int maxep) argument 151 srv->name = (nis_name) host; 152 srv->ep.ep_len = num_ep; 153 srv->ep.ep_val = eps; 154 srv->key_type = NIS_PK_NONE; 155 srv->pkey.n_bytes = NULL; 156 srv->pkey.n_len = 0; 157 return (srv); 186 __rpc_get_time_offset(struct timeval *td, nis_server *srv, argument 226 if ((srv ! [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 661 char **sdl, *srv, **sdl_save; local 761 srv = *sdl; 762 if (strncasecmp(service, srv, slen) != 0) 764 srv += slen; 765 if (*srv != COLONTOK) 767 srv++; 768 while (srv != NULL && *srv != NULL) { 770 rc = __s_api_parseASearchDesc(service, &srv, &ret);
|
H A D | ns_reads.c | 5424 char **sam, *srv, *send; local 5452 srv = *sam; 5453 if (strncasecmp(service, srv, slen) != 0) 5455 srv += slen; 5456 if (*srv != COLONTOK) 5458 send = srv; 5459 srv++; 5469 send = strchr(srv, SEMITOK); 5474 i = __s_get_enum_value(cfg, srv, NS_LDAP_AUTH_P); 5479 "serviceAuthenticationMethod: %s.\n"), srv); [all...] |
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 485 pkgcmd(PKGserver srv, void *cmd, size_t len, char **result, size_t *rlen, argument 497 if (door_call(srv->door, &da) != 0) {
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 180 const struct sockaddr_in *inp, *srv; local 188 srv = (struct sockaddr_in *)get_nsaddr(statp, ns); 189 if (srv->sin_family == inp->sin_family && 190 srv->sin_port == inp->sin_port && 191 (srv->sin_addr.s_addr == INADDR_ANY || 192 srv->sin_addr.s_addr == inp->sin_addr.s_addr))
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | dfs.c | 1701 dfs_target_init(dfs_target_t *t, const char *srv, const char *share, argument 1704 (void) strlcpy(t->t_server, (srv) ? srv : "", sizeof (t->t_server));
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 512 ldapInit(char *srv, int port, bool_t use_ssl) { argument 520 if (srv == 0) 524 ld = ldapssl_init(srv, port, 1); 526 ld = ldap_init(srv, port);
|
/osnet-11/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 303 ds_dup(const idmap_ad_disc_ds_t *srv) argument 309 for (i = 0; srv[i].host[0] != '\0'; i++) 315 (void) memcpy(new, srv, size); 666 idmap_ad_disc_ds_t *srv; local 758 for (srv = srv_res, cnt = ancount; 759 cnt > 0; --cnt, srv++) { 789 NS_GET16(srv->priority, ptr); 790 NS_GET16(srv->weight, ptr); 791 NS_GET16(srv->port, ptr); 792 len = dn_expand(msg.buf, eom, ptr, srv [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_ads.c | 394 smb_ads_validate_cache_host(char *domain, char *srv) argument 403 if (!srv) 406 if (smb_ads_is_sought_host(smb_ads_cached_host, srv)) 1093 smb_ads_reorder_servers(char **servers, uint32_t count, char *srv) argument 1100 assert(srv != NULL); 1102 if (smb_strcasecmp(srv, servers[0], 0) == 0) 1111 if (smb_strcasecmp(tmplist[i], srv, 0) == 0) {
|