10 struct timespec delay = {0, 4000000};
12 void custom_peer_usage()
14 fprintf(stderr, "Custom peer options: \n"
17 int custom_peer_init(struct peerd *peer, int argc, char *argv[])
22 int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req,
23 enum dispatch_reason reason)
26 defer_request(peer, pr);
28 // printf("completing req id: %u (remote %u)\n", (unsigned int) (pr - peer->peer_reqs), (unsigned int) pr->req->priv);
29 // nanosleep(&delay,NULL);