1 #ifndef MESHLINK_TEST_NETNS_UTILS_H
2 #define MESHLINK_TEST_NETNS_UTILS_H
4 typedef struct peer_config {
6 const dev_class_t devclass;
11 meshlink_handle_t *mesh;
14 extern void change_peer_ip(peer_config_t *peer);
15 extern peer_config_t *setup_relay_peer_nut(const char *prefix);
16 extern peer_config_t *setup_relay_peer_nut_indirect(const char *prefix);
17 extern void set_peers_tcponly(peer_config_t *peers, int npeers);
18 extern void close_relay_peer_nut(peer_config_t *peers);