#ifndef PRRT_DEFINES_H #define PRRT_DEFINES_H #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define PRRT_MAX_RECEIVER_COUNT 255 #define MAX_PAYLOAD_LENGTH 65528 // maximum UDP packet length (2^16 - 8) #define SEQNO_SPACE UINT16_MAX // 2**16 as seqno is uint16_t #define TIMESTAMP_SPACE UINT32_MAX #define GF_BITS 8 #define K_START 4 #define N_START 7 #define N_P_START 1 #define RRT_ALPHA 0.125 // Uncomment the line below if you are compiling on Windows. // #define WINDOWS #include #include #include #endif //PRRT_DEFINES_H