X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_optimal_pmtu.h;h=fa241a29908c3a185945fd6b8a4f44d20cedcf2f;hp=b3333c71a8382bed9f39e7a669c91406d2f06893;hb=a2d26f530dccbaa73cd490b6a0e40da8d3916e00;hpb=3a73d524bf6ea79f8badb83ec15863a546602b7b diff --git a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.h b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.h index b3333c71..fa241a29 100644 --- a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.h +++ b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.h @@ -22,8 +22,6 @@ #include -#pragma pack(1) - extern int test_optimal_pmtu(void); extern int total_tests; extern char *lxc_path; @@ -47,8 +45,8 @@ typedef struct pmtu_attr { int mtu_size; } pmtu_attr_t; -#define NODE_PMTU_RELAY 0 -#define NODE_PMTU_PEER 1 +#define NODE_PMTU_RELAY 1 +#define NODE_PMTU_PEER 2 #define find_node_index(i, node_name) if(!strcasecmp(node_name, "peer")) { \ i = NODE_PMTU_PEER; \ @@ -58,6 +56,7 @@ typedef struct pmtu_attr { abort(); \ } -#define PING_TRACK_TIMEOUT 500 +#define PING_TRACK_TIMEOUT 100 +#define CHANNEL_PORT 1234 #endif // TEST_CASES_OPTIMAL_PMTU_H