[TIPC] Updated link priority macros
Added macros for min/default/max link priority in tipc_config.h. Also renamed TIPC_NUM_LINK_PRI to TIPC_MEDIA_LINK_PRI since that is a more accurate description of what it is used for. Signed-off-by: Per Liden <per.liden@ericsson.com>
This commit is contained in:
@@ -168,10 +168,13 @@
|
||||
#define TIPC_MAX_LINK_NAME 60 /* format = Z.C.N:interface-Z.C.N:interface */
|
||||
|
||||
/*
|
||||
* Link priority limits (range from 0 to # priorities - 1)
|
||||
* Link priority limits (min, default, max, media default)
|
||||
*/
|
||||
|
||||
#define TIPC_NUM_LINK_PRI 32
|
||||
#define TIPC_MIN_LINK_PRI 0
|
||||
#define TIPC_DEF_LINK_PRI 10
|
||||
#define TIPC_MAX_LINK_PRI 31
|
||||
#define TIPC_MEDIA_LINK_PRI (TIPC_MAX_LINK_PRI + 1)
|
||||
|
||||
/*
|
||||
* Link tolerance limits (min, default, max), in ms
|
||||
|
Reference in New Issue
Block a user