Lines Matching refs:res
221 int res;
223 res = dhcp_option_parse(dhcp, size, check_options, NULL, NULL);
224 assert_se(res == DHCP_DISCOVER);
234 int res, r;
253 res = sd_dhcp_client_start(client);
255 assert_se(res == 0 || res == -EINPROGRESS);
388 int res;
390 res = dhcp_option_parse(request, size, check_options, NULL, NULL);
391 assert_se(res == DHCP_REQUEST);
405 res = write(test_fd[1], test_addr_acq_ack,
407 assert_se(res == sizeof(test_addr_acq_ack));
418 int res;
420 res = dhcp_option_parse(discover, size, check_options, NULL, NULL);
421 assert_se(res == DHCP_DISCOVER);
436 res = write(test_fd[1], test_addr_acq_offer,
438 assert_se(res == sizeof(test_addr_acq_offer));
449 int res, r;
473 res = sd_dhcp_client_start(client);
474 assert_se(res == 0 || res == -EINPROGRESS);