#include <ul_log.h>
-#include <frs_generic.h>
+#include <fra_generic.h>
#include <fwp.h>
//#include <fwp_fna.h>
#include <frsh_distributed.h>
#include <stdio.h>
-UL_LOG_CUST(ulogd_frs_fwp);
-ul_log_domain_t ulogd_frs_fwp = {UL_LOGL_MSG, "frs_fwp"};
+UL_LOG_CUST(ulogd_fra_fwp);
+ul_log_domain_t ulogd_fra_fwp = {UL_LOGL_MSG, "fra_fwp"};
static int create_vres(fres_vres_t *vres, void *priv)
{
return 0;
}
-static struct fres_scheduler fwp_scheduler = {
+static struct fres_allocator fwp_allocator = {
.res_type = FRSH_RT_NETWORK,
.res_id = FRSH_NETPF_FWP,
.create_vres = create_vres,
.priv = NULL
};
-int frs_fwp_init(forb_orb orb, fres_contract_broker fcb, forb_executor_t *executor)
+int fra_fwp_init(forb_orb orb, fres_contract_broker fcb, forb_executor_t *executor)
{
fres_block_register_fwp();
- return frs_register(orb, fcb, executor, &fwp_scheduler);
+ return fra_register(orb, fcb, executor, &fwp_allocator);
}