*
* @param pg the peer group we are dealing with
* @param proc the connection processor to use
+ * @param list the peer list to use
*
* @return the number of connections created
*/
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param filename the file to read topology information from
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
* @param pg the peergroup to create the topology on
* @param proc the connection processor to call to actually set
* up connections between two peers
+ * @param list the peer list to use
*
* @return the number of connections that were set up
*
_
("Creating no allowed topology (all peers can connect at core level)\n"));
#endif
- num_connections = 0;
+ num_connections = pg->total * pg->total; /* Clique is allowed! */
break;
default:
num_connections = 0;
* @param pg the peergroup we are dealing with
* @param num how many connections at least should each peer have (if possible)?
* @param proc processor to actually add the connections
+ * @param list the peer list to use
*/
void
add_closest (struct GNUNET_TESTING_PeerGroup *pg, unsigned int num,