Lines Matching refs:params

57 	struct dhcpv4_parameter_request_list params;  member
269 struct dhcpv4_parameter_request_list *params) in dhcpv4_find_parameter_request_list_option() argument
280 if (optlen > sizeof(params->list)) { in dhcpv4_find_parameter_request_list_option()
282 optlen = sizeof(params->list); in dhcpv4_find_parameter_request_list_option()
285 memcpy(params->list, opt, optlen); in dhcpv4_find_parameter_request_list_option()
286 params->count = optlen; in dhcpv4_find_parameter_request_list_option()
506 struct dhcpv4_parameter_request_list *params) in dhcpv4_encode_requested_params() argument
508 for (uint8_t i = 0; i < params->count; i++) { in dhcpv4_encode_requested_params()
509 switch (params->list[i]) { in dhcpv4_encode_requested_params()
610 struct dhcpv4_parameter_request_list *params, in dhcpv4_send_offer() argument
628 buf = dhcpv4_encode_requested_params(buf, &buflen, ctx, params); in dhcpv4_send_offer()
650 struct dhcpv4_parameter_request_list *params, in dhcpv4_send_ack() argument
673 buf = dhcpv4_encode_requested_params(buf, &buflen, ctx, params); in dhcpv4_send_ack()
887 struct dhcpv4_parameter_request_list *params, in dhcpv4_server_probe_setup() argument
903 ctx->probe_ctx.params = *params; in dhcpv4_server_probe_setup()
918 slot->lease_time, &ctx->probe_ctx.params, in dhcpv4_server_probe_timeout()
944 struct dhcpv4_parameter_request_list params = { 0 }; in dhcpv4_handle_discover() local
955 (void)dhcpv4_find_parameter_request_list_option(options, optlen, &params); in dhcpv4_handle_discover()
1069 &params, &client_id) < 0) { in dhcpv4_handle_discover()
1081 lease_time, &params, &client_id) < 0) { in dhcpv4_handle_discover()
1104 struct dhcpv4_parameter_request_list params = { 0 }; in dhcpv4_handle_request() local
1124 (void)dhcpv4_find_parameter_request_list_option(options, optlen, &params); in dhcpv4_handle_request()
1166 &params, &client_id, false) < 0) { in dhcpv4_handle_request()
1216 lease_time, &params, in dhcpv4_handle_request()
1263 &params, &client_id, false) < 0) { in dhcpv4_handle_request()
1381 struct dhcpv4_parameter_request_list params = { 0 }; in dhcpv4_handle_inform() local
1383 (void)dhcpv4_find_parameter_request_list_option(options, optlen, &params); in dhcpv4_handle_inform()
1385 &params, NULL, true); in dhcpv4_handle_inform()