Home
last modified time | relevance | path

Searched refs:tmp_server (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_alg_rr.c94 rr_server_t *tmp_server; in rr_server_del() local
97 for (tmp_server = list_head(servers); tmp_server != NULL; in rr_server_del()
98 tmp_server = list_next(servers, tmp_server)) { in rr_server_del()
99 if (tmp_server->server == host) { in rr_server_del()
100 if (rr_alg->rr_next == tmp_server) { in rr_server_del()
102 tmp_server); in rr_server_del()
104 list_remove(servers, tmp_server); in rr_server_del()
109 if (tmp_server == NULL) in rr_server_del()
111 kmem_free(tmp_server, sizeof (rr_server_t)); in rr_server_del()
140 rr_server_t *tmp_server; in rr_server_toggle() local
[all …]
H A Dilb.c1142 ilb_server_t *tmp_server; in ilb_server_toggle() local
1156 for (tmp_server = rule->ir_servers; tmp_server != NULL; in ilb_server_toggle()
1157 tmp_server = tmp_server->iser_next) { in ilb_server_toggle()
1158 if (IN6_ARE_ADDR_EQUAL(&tmp_server->iser_addr_v6, addr)) in ilb_server_toggle()
1161 if (tmp_server == NULL) { in ilb_server_toggle()
1167 ret = rule->ir_alg->ilb_alg_server_enable(tmp_server, in ilb_server_toggle()
1170 tmp_server->iser_enabled = B_TRUE; in ilb_server_toggle()
1171 tmp_server->iser_die_time = 0; in ilb_server_toggle()
1174 ret = rule->ir_alg->ilb_alg_server_disable(tmp_server, in ilb_server_toggle()
1177 tmp_server->iser_enabled = B_FALSE; in ilb_server_toggle()
[all …]