diff options
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index fd42e106c185..0207db04179a 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -60,7 +60,9 @@ | |||
60 | 60 | ||
61 | #define TIPC_MOD_VER "2.0.0" | 61 | #define TIPC_MOD_VER "2.0.0" |
62 | 62 | ||
63 | #define ULTRA_STRING_MAX_LEN 32768 | 63 | #define ULTRA_STRING_MAX_LEN 32768 |
64 | #define TIPC_MAX_SUBSCRIPTIONS 65535 | ||
65 | #define TIPC_MAX_PUBLICATIONS 65535 | ||
64 | 66 | ||
65 | struct tipc_msg; /* msg.h */ | 67 | struct tipc_msg; /* msg.h */ |
66 | 68 | ||
@@ -74,19 +76,15 @@ int tipc_snprintf(char *buf, int len, const char *fmt, ...); | |||
74 | /* | 76 | /* |
75 | * Global configuration variables | 77 | * Global configuration variables |
76 | */ | 78 | */ |
77 | extern u32 tipc_own_addr; | 79 | extern u32 tipc_own_addr __read_mostly; |
78 | extern int tipc_max_ports; | 80 | extern int tipc_max_ports __read_mostly; |
79 | extern int tipc_max_subscriptions; | 81 | extern int tipc_net_id __read_mostly; |
80 | extern int tipc_max_publications; | 82 | extern int tipc_remote_management __read_mostly; |
81 | extern int tipc_net_id; | ||
82 | extern int tipc_remote_management; | ||
83 | 83 | ||
84 | /* | 84 | /* |
85 | * Other global variables | 85 | * Other global variables |
86 | */ | 86 | */ |
87 | extern int tipc_random; | 87 | extern int tipc_random __read_mostly; |
88 | extern const char tipc_alphabet[]; | ||
89 | |||
90 | 88 | ||
91 | /* | 89 | /* |
92 | * Routines available to privileged subsystems | 90 | * Routines available to privileged subsystems |