short noddt = 0;

char host_name_buf[80];
char default_host[] = "18.68.0.9"; /* Achilles */
char *host_name = 0;
long host = 0;

char file_buf[80];
char *default_file = "";
char *file = 0;

char gfile_buf[80];
char *gfile = 0;

long gateway = 0;
long net_mask = 0;
long in_me = 0;


main()
{
	extern int flags, vmbinfo;
	unsigned char *mladdr = (unsigned char *)0;
	unsigned char *net_init();
	long trash;
	char buf[2000];
	int i, j;

	printf("Hello world\n");
	printf("Press [enter] to begin");
	gets(buf);

	mladdr = net_init();

	while (1) {
	    printf("Start...");
	    for (i = 0, j = 0; i < 10000; i++) {
		if (net_read(buf, sizeof(buf)))
		  j++;
	    }
	    printf("Done, 10000 reads got %d packets\n", j);
	}
}
	


print_ip_addr (a)
     unsigned long a;
{
  unsigned char *ac;

  ac = (unsigned char *) &a;

  printf ("%u.%u.%u.%u",
	  ac[0] & 0xff, ac[1] & 0xff,
	  ac[2] & 0xff, ac[3] & 0xff);
}
 
