/demos/trunk/tracer/udp/udptrace.c |
---|
36,7 → 36,7 |
* along with this program; if not, write to the Free Software |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* CVS : $Id: udptrace.c,v 1.4 2003-12-10 16:58:32 giacomo Exp $ |
* CVS : $Id: udptrace.c,v 1.3 2003-10-07 09:37:47 giacomo Exp $ |
*/ |
/* |
46,6 → 46,7 |
#include <ll/i386/cons.h> |
#include <kernel/func.h> |
#include <kernel/trace.h> |
#include <fs/bdevinit.h> |
#include <fs/fsinit.h> |
54,8 → 55,8 |
#include <drivers/keyb.h> |
#include <drivers/udpip.h> |
#include <tracer.h> |
#include <queues.h> |
#include <trace/trace.h> |
#include <trace/queues.h> |
#include <sys/mount.h> |
#include <stddef.h> |
71,8 → 72,8 |
UDP_ADDR local, remote; |
/* these are the IP numbers of my home PCs ;-) */ |
strcpy(myipaddr, "192.168.82.120"); |
strcpy(toipaddr, "192.168.82.20"); |
strcpy(myipaddr, "192.168.1.2"); |
strcpy(toipaddr, "192.168.1.1"); |
clear(); |
/demos/trunk/tracer/udp/makefile |
---|
13,7 → 13,7 |
include $(BASE)/config/example.mk |
udptrace: |
make -f $(SUBMAKE) BASE=$(BASE) APP=udptrace INIT= OTHEROBJS=initfile.o OTHERINCL="-I$(BASE)/tracer/include" SHARKOPT=__OLDCHAR__ |
make -f $(SUBMAKE) BASE=$(BASE) APP=udptrace INIT= OTHEROBJS=initfile.o SHARKOPT=__OLDCHAR__ |
/demos/trunk/tracer/udp/initfile.c |
---|
36,11 → 36,11 |
*/ |
/* |
* CVS : $Id: initfile.c,v 1.2 2003-12-10 16:58:32 giacomo Exp $ |
* CVS : $Id: initfile.c,v 1.1 2002-10-28 08:10:10 pj Exp $ |
* |
* File: $File$ |
* Revision: $Revision: 1.2 $ |
* Last update: $Date: 2003-12-10 16:58:32 $ |
* Revision: $Revision: 1.1 $ |
* Last update: $Date: 2002-10-28 08:10:10 $ |
*/ |
#include "kernel/kern.h" |
62,7 → 62,7 |
#include "drivers/keyb.h" |
/*+ sysyem tick in us +*/ |
#define TICK 0 |
#define TICK 1000 |
/*+ RR tick in us +*/ |
#define RRTICK 10000 |