Searched refs:weight (Results 1 - 4 of 4) sorted by relevance
/sssd/src/tests/cmocka/ |
H A D | test_resolv_fake.c | 48 uint16_t weight; member in struct:srv_rrdata 149 NS_PUT16(rr->weight, a); 280 assert_int_equal(srv_replies->weight, 40); 287 assert_int_equal(srv_replies->weight, 60); 314 rr[0].weight = 40; 320 rr[1].weight = 60;
|
H A D | test_fo_srv.c | 329 int weight, int priority, int port) 344 s->weight = weight; 328 mock_ares_reply(TALLOC_CTX *mem_ctx, const char *hostname, int weight, int priority, int port) argument
|
/sssd/src/tests/ |
H A D | resolv-tests.c | 508 "SRV Record: %d %d %d %s\n", srvptr->weight, 718 r->weight = i; 747 * random weight-selection */ 753 r->weight = i; 808 r->weight = 0;
|
/sssd/src/resolv/ |
H A D | async_resolv.c | 1533 ptr->weight = old_list->weight; 2183 /* promote all servers with weight==0 to the top */ 2187 if (r->weight == 0 && r != *start) { 2211 totals[i] = r->weight + total; 2294 /* rearrange each priority level according to the weight field */
|
Completed in 1178 milliseconds