]> git.sesse.net Git - greproxy/blob - rs_parm.h
Unbreak pacing in tungre.
[greproxy] / rs_parm.h
1 #ifndef _RS_PARM_H
2 #define _RS_PARM_H
3
4 // (255,171); pretty much 50% overhead, can protect against loss bursts of
5 // 84 packets (more if they straddle blocks). Sounds overkill, but sometimes
6 // conditions can be really really crappy...
7 #define RS_SYM_SIZE 8
8 #define RS_NUM_SYM ((1 << RS_SYM_SIZE) - 1)
9 #define RS_PARITY_SIZE 84
10 #define RS_PAD 0  // RS_PAD currently needs to be 0.
11
12 #define RS_GROUP_SIZE (RS_NUM_SYM - RS_PAD)
13 #define RS_PAYLOAD_SIZE (RS_GROUP_SIZE - RS_PARITY_SIZE)
14
15 #endif  /* !defined_(RS_PARM_H) */