Lines Matching refs:status

137 struct status {
170 str_port_status(enum port_status status)
172 switch (status) {
181 return "unknown port status";
185 str_srv_data_status(enum srv_lookup_status status)
187 switch (status) {
198 return "unknown SRV lookup status";
202 str_server_status(enum server_status status)
204 switch (status) {
217 return "unknown server status";
317 set_srv_data_status(struct srv_data *data, enum srv_lookup_status status)
320 data->meta->service->name, str_srv_data_status(status));
323 data->srv_lookup_status = status;
327 * This function will return the status of the server. If the status was
328 * last updated a long time ago, we will first reset the status.
347 DEBUG(SSSDBG_CONF_SETTINGS, "Reseting the server status of '%s'\n",
358 "status of '%s'\n", SERVER_NAME(server));
366 * This function will return the status of the service. If the status was
367 * last updated a long time ago, we will first reset the status.
376 "Port status of port %d for server '%s' is '%s'\n", server->port,
381 "connection request, this internal status does not necessarily "
390 "Resetting the status of port %d for server '%s'\n",
1072 enum server_status status);
1272 int status;
1284 status = get_srv_data_status(server->srv_data);
1285 DEBUG(SSSDBG_FUNC_DATA, "The status of SRV lookup is %s\n",
1286 str_srv_data_status(status));
1287 switch(status) {
1325 /* The port status was reseted to neutral but we still haven't reached
1327 * status back to not working. */
1337 "Unexpected status %d for a SRV server\n", status);
1500 enum server_status status)
1503 str_server_status(status));
1505 common->server_status = status;
1510 fo_set_server_status(struct fo_server *server, enum server_status status)
1514 "Bug: Trying to set server status of a name-less server\n");
1518 set_server_common_status(server->common, status);
1522 fo_set_port_status(struct fo_server *server, enum port_status status)
1528 SERVER_NAME(server), str_port_status(status));
1530 server->port_status = status;
1532 if (status == PORT_WORKING) {
1541 * status */
1547 str_port_status(status));
1548 siter->port_status = status;