Lines Matching refs:state
24 static void fuzz_client(sd_dhcp6_client *client, const uint8_t *data, size_t size, DHCP6State state… in fuzz_client() argument
25 …assert_se(sd_dhcp6_client_set_information_request(client, state == DHCP6_STATE_INFORMATION_REQUEST… in fuzz_client()
28 client->state = state; in fuzz_client()
34 if (IN_SET(client->state, DHCP6_STATE_INFORMATION_REQUEST, DHCP6_STATE_SOLICITATION)) in fuzz_client()
42 if (client->state != state) in fuzz_client()
43 switch (state) { in fuzz_client()
45 assert_se(client->state == DHCP6_STATE_STOPPED); in fuzz_client()
48 assert_se(IN_SET(client->state, DHCP6_STATE_REQUEST, DHCP6_STATE_BOUND)); in fuzz_client()
51 assert_se(client->state == DHCP6_STATE_BOUND); in fuzz_client()
58 … if (state != DHCP6_STATE_INFORMATION_REQUEST && sd_dhcp6_client_get_lease(client, NULL) >= 0) { in fuzz_client()
59 client->state = DHCP6_STATE_REQUEST; in fuzz_client()