#include <unistd.h>
#include <xseg/xseg.h>
#include <xseg/protocol.h>
-#include <mpeer.h>
+#include <speer.h>
#include <sched.h>
#include <sys/syscall.h>
return 0;
}
-int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req)
+int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req,
+ enum dispatch_reason reason)
{
struct vlmc_io *vio = __get_vlmcio(pr);
struct vlmcd *vlmc = __get_vlmcd(peer);