/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_rr.c | 56 list_t *servers; local 63 servers = &rr_alg->rr_servers; 64 if (list_is_empty(servers)) { 69 rr_alg->rr_next = list_head(servers); 72 rr_alg->rr_next = list_next(servers, rr_alg->rr_next); 74 rr_alg->rr_next = list_head(servers); 82 rr_alg->rr_next = list_next(servers, rr_alg->rr_next); 91 list_t *servers = &rr_alg->rr_servers; local 95 for (tmp_server = list_head(servers); tmp_server != NULL; 96 tmp_server = list_next(servers, tmp_serve 136 rr_server_toggle(list_t *servers, ilb_server_t *host, boolean_t value) argument 160 list_t *servers; local 174 list_t *servers; local 219 list_t *servers; local [all...] |
H A D | ilb.c | 82 * servers and ilb_conn_hash entries, ILB delays such processing to a taskq. 840 * of servers are dropped. So dispatch a task to finish the deletion. 1738 * the servers are currently disabled. 1953 ilb_server_info_t *servers, uint32_t *num_servers) 1964 server = server->iser_next, cnt--, servers++) { 1965 (void) memcpy(servers->name, server->iser_name, 1967 servers->addr = server->iser_addr_v6; 1968 servers->min_port = htons(server->iser_min_port); 1969 servers->max_port = htons(server->iser_max_port); 1970 servers 1952 ilb_get_servers(ilb_stack_t *ilbs, zoneid_t zoneid, const char *name, ilb_server_info_t *servers, uint32_t *num_servers) argument [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_svc.c | 94 char domain[256], servers[300]; local 145 sprintf(servers, "%s/%s/ypservers", BINDING, domain); 146 if (!broadcast && access(servers, R_OK) != 0) { 148 "%s: no info on servers - run ypinit -c\n", Argv[0]);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 581 char *servers[] = {"krbKdcServers", "krbAdmServers", "krbPwdServers", NULL}; local 587 servers, 635 * to the 4 servers' list. 648 /* delete the krbRealmReferences attribute from the servers that are dis-associated. */ 659 /* add the krbRealmReferences attribute from the servers that are associated. */ 685 /* delete the krbRealmReferences attribute from the servers that are dis-associated. */ 696 /* add the krbRealmReferences attribute from the servers that are associated. */ 721 /* delete the krbRealmReferences attribute from the servers that are dis-associated. */ 732 /* add the krbRealmReferences attribute from the servers that are associated. */
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.h | 223 char **pservers; /* preferred servers defined in config */ 240 * and when the status of the configured servers change. If the config 241 * changes, new connection management will be created. If servers go up 247 * change in servers' status or if the native LDAP configuration has changed. 253 * and process the notification. For servers went from up to down, the 258 * less preferred servers will be marked as closed-when-all-user-done, 275 char **servers; /* array of server */ member in struct:ns_server_status_change
|
H A D | ns_connect.c | 99 * This function get the servers from the lists and returns 108 char **servers = NULL; local 113 ret_code = __s_api_getServers(&servers, error); 115 if (servers != NULL) { 116 __s_api_free2dArray(servers); 121 if (servers == NULL || servers[0] == NULL) { 122 __s_api_free2dArray(servers); 130 ret->server = strdup(servers[0]); 132 __s_api_free2dArray(servers); [all...] |
H A D | ns_common.c | 795 * Retrieve a list of ldap servers from the config module. 799 * OUTPUT: servers, error 803 char *** servers, 816 *servers = NULL; 859 *servers = (char **)paramVal; 862 /* Sort servers based on network. */ 863 if (*servers) { 864 netservers = sortServerNet(*servers); 866 free(*servers); 867 *servers 802 __s_api_getServers( char *** servers, ns_ldap_error_t ** error) argument [all...] |
H A D | ns_connmgmt.c | 1162 * check only if preferred servers are defined 1215 * For case 1 and 2, both servers are preferred ones: 2014 /* handle down servers first */ 2019 s = chg->servers[i]; 2065 * Next handle servers whose status changed to up. 2085 s = chg->servers[i]; 2430 char **servers = NULL; local 2452 if (chg.servers != NULL) 2453 free(chg.servers); 2559 servers [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | request.c | 99 LDAPServer *servers; local 106 if (( servers = dn2servers( ld, dn )) == NULL ) { 117 for ( srv = servers; srv != NULL; 134 servers = NULL; 141 servers, NULL, ( msgtype == LDAP_REQ_BIND ) ? dn : NULL, 0 )); 152 LDAPServer *srvlist, /* servers to connect to (NULL for default) */ 1321 /* add to end of list of servers */
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ilb.h | 116 /* Get number of servers command struct */ 150 /* Add/list servers command struct */ 155 ilb_server_info_t servers[1]; member in struct:__anon4698 172 ilb_server_arg_t servers[1]; member in struct:__anon4700
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 654 char **servers = NULL; local 663 rc = __s_api_getServers(&servers, &errorp); 672 for (i = 0; servers[i] != NULL; i++) { 688 info->sinfo[0].addr = strdup(servers[i]); 695 info->sinfo[1].addr = strdup(servers[i]); 712 * profile is refreshed, all servers are good. 726 __s_api_free2dArray(servers); 968 "servers. pid %ld", pid); 1151 * a buffer containing info for all the servers. 1416 * value. Also, at any time, if all the servers o [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.c | 378 ad_disc_ds_t *servers = NULL; local 444 if ((servers = calloc(count + 1, sizeof (*servers))) == NULL) { 460 servers[i].priority = 0; 461 servers[i].weight = 100; 462 servers[i].port = defport; 467 servers[i].port = strtol(portstr, 469 if (servers[i].port == 0) 470 servers[i].port = defport; 484 if (len >= sizeof (servers [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 3165 mdb_warn("list walk failed for iSNS servers"); 3177 int portals = 0, esi = 0, targets = 0, verbose = 0, servers = 0; local 3189 's', MDB_OPT_SETBITS, TRUE, &servers, 3196 if ((esi + portals + targets + servers) > 1) { 3201 if ((esi | portals | targets | servers) == 0) { 3217 if (servers) {
|