/*
This file is part of GNUnet.
- (C) 2008--2013 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2008--2013 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
* @file testbed/testbed_api_underlay.c
* @brief testbed underlay API implementation
- * @author Sree Harsha Totakura <sreeharsha@totakura.in>
+ * @author Sree Harsha Totakura <sreeharsha@totakura.in>
*/
#include "testbed_api_peers.h"
* latency of the link in microseconds
*/
uint32_t latency;
-
+
/**
* data loss on the link expressed as percentage
*/
enum GNUNET_TESTBED_UnderlayLinkModelType type)
{
struct GNUNET_TESTBED_UnderlayLinkModel *m;
-
+
GNUNET_assert (0 == peer->underlay_model_exists);
m = GNUNET_new (struct GNUNET_TESTBED_UnderlayLinkModel);
peer->underlay_model_exists = 1;
/**
* Set the metrics for a link to the given peer in the underlay model. The link
* SHOULD be permittable according to the given model.
- *
+ *
* @ingroup underlay
* @param model the model
* @param peer the other end peer of the link