2011-04-20 20:33:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
|
|
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
|
|
|
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
|
|
|
*
|
|
|
|
* This code is distributed under a BSD style license, see the LICENSE file
|
|
|
|
* for complete information.
|
|
|
|
*/
|
|
|
|
|
2009-07-23 18:22:24 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2012-12-11 22:41:37 -08:00
|
|
|
#include <sys/time.h>
|
2009-07-23 18:22:24 +00:00
|
|
|
|
2010-07-09 00:29:51 +00:00
|
|
|
#include "iperf_util.h"
|
2009-07-23 18:22:24 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
2012-08-10 12:43:50 -07:00
|
|
|
char cookie[37];
|
|
|
|
make_cookie(cookie);
|
|
|
|
printf("cookie: '%s'\n", cookie);
|
|
|
|
if (strlen(cookie) != 36)
|
2009-07-23 18:22:24 +00:00
|
|
|
{
|
2012-08-10 12:43:50 -07:00
|
|
|
printf("Not 36 characters long!\n");
|
2009-10-19 22:35:18 +00:00
|
|
|
exit(-1);
|
2009-07-23 18:22:24 +00:00
|
|
|
}
|
|
|
|
exit(0);
|
|
|
|
}
|