]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - wme_test/common.h
Task runs with RT priority, added run script, common code added to common.c.
[frescor/fwp.git] / wme_test / common.h
1 #ifndef COMMON_H
2 #define COMMON_H
3
4 #define BASE_PORT        5100
5 #define AC_QUEUES        4
6 #define MTU              800 
7 enum {
8         AC_VO = 0,
9         AC_VI = 1,
10         AC_BE = 2,
11         AC_BK = 3
12 };
13
14 extern const int prio_to_ac[8];
15 extern const unsigned int ac_to_tos[4];
16
17 void block_signals(void);
18 void set_rt_prio(int priority);
19
20
21 #endif