diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-09 15:27:01 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-12 16:24:31 -0500 |
commit | 859fc7c0cedca0f84dac471fa31e9512259e1ecd (patch) | |
tree | f2a691e4a01426aa4c44f202a409eca43e18f7c6 /net/tipc/link.h | |
parent | 2f55c43788df7358be8c6e78ae2a3d3268e7afb6 (diff) | |
download | op-kernel-dev-859fc7c0cedca0f84dac471fa31e9512259e1ecd.zip op-kernel-dev-859fc7c0cedca0f84dac471fa31e9512259e1ecd.tar.gz |
tipc: cleanup core.c and core.h files
Only the works of initializing and shutting down tipc module are done
in core.h and core.c files, so all stuffs which are not closely
associated with the two tasks should be moved to appropriate places.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Tested-by: Tero Aho <Tero.Aho@coriant.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 15ca850..e96c318 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h @@ -41,6 +41,10 @@ #include "msg.h" #include "node.h" +/* TIPC-specific error codes +*/ +#define ELINKCONG EAGAIN /* link congestion <=> resource unavailable */ + /* Out-of-range value for link sequence numbers */ #define INVALID_LINK_SEQ 0x10000 |