/* speeds niter -m mach -p len used with speedr.c to compute the link speed */ # include "defs.h" /* global variables */ struct daemonparms netd; main(argc,argv) char **argv;{ int n,t,i; char buf[2000]; t = atoi(argv[argc-1]); debugflg = DBV; setupdaemon(argc,argv); n = netd.dp_datasize; printf("len %d iter %d\n",netd.dp_datasize,t); sendreset(); xwrite(&n,2); for(i=0; i