diff options
-rw-r--r-- | include/linux/tipc.h | 6 | ||||
-rw-r--r-- | include/net/tipc/tipc.h | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/linux/tipc.h b/include/linux/tipc.h index 9536d8aeadf1..181c8d0e6f73 100644 --- a/include/linux/tipc.h +++ b/include/linux/tipc.h | |||
@@ -107,7 +107,7 @@ static inline unsigned int tipc_node(__u32 addr) | |||
107 | * Message importance levels | 107 | * Message importance levels |
108 | */ | 108 | */ |
109 | 109 | ||
110 | #define TIPC_LOW_IMPORTANCE 0 /* default */ | 110 | #define TIPC_LOW_IMPORTANCE 0 |
111 | #define TIPC_MEDIUM_IMPORTANCE 1 | 111 | #define TIPC_MEDIUM_IMPORTANCE 1 |
112 | #define TIPC_HIGH_IMPORTANCE 2 | 112 | #define TIPC_HIGH_IMPORTANCE 2 |
113 | #define TIPC_CRITICAL_IMPORTANCE 3 | 113 | #define TIPC_CRITICAL_IMPORTANCE 3 |
@@ -182,7 +182,7 @@ struct sockaddr_tipc { | |||
182 | struct tipc_name_seq nameseq; | 182 | struct tipc_name_seq nameseq; |
183 | struct { | 183 | struct { |
184 | struct tipc_name name; | 184 | struct tipc_name name; |
185 | __u32 domain; /* 0: own zone */ | 185 | __u32 domain; |
186 | } name; | 186 | } name; |
187 | } addr; | 187 | } addr; |
188 | }; | 188 | }; |
@@ -200,7 +200,7 @@ struct sockaddr_tipc { | |||
200 | */ | 200 | */ |
201 | 201 | ||
202 | #define TIPC_IMPORTANCE 127 /* Default: TIPC_LOW_IMPORTANCE */ | 202 | #define TIPC_IMPORTANCE 127 /* Default: TIPC_LOW_IMPORTANCE */ |
203 | #define TIPC_SRC_DROPPABLE 128 /* Default: 0 (resend congested msg) */ | 203 | #define TIPC_SRC_DROPPABLE 128 /* Default: based on socket type */ |
204 | #define TIPC_DEST_DROPPABLE 129 /* Default: based on socket type */ | 204 | #define TIPC_DEST_DROPPABLE 129 /* Default: based on socket type */ |
205 | #define TIPC_CONN_TIMEOUT 130 /* Default: 8000 (ms) */ | 205 | #define TIPC_CONN_TIMEOUT 130 /* Default: 8000 (ms) */ |
206 | #define TIPC_NODE_RECVQ_DEPTH 131 /* Default: none (read only) */ | 206 | #define TIPC_NODE_RECVQ_DEPTH 131 /* Default: none (read only) */ |
diff --git a/include/net/tipc/tipc.h b/include/net/tipc/tipc.h index 9566608c88cf..15af6dca0b49 100644 --- a/include/net/tipc/tipc.h +++ b/include/net/tipc/tipc.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * include/net/tipc/tipc.h: Main include file for TIPC users | 2 | * include/net/tipc/tipc.h: Main include file for TIPC users |
3 | * | 3 | * |
4 | * Copyright (c) 2003-2006, Ericsson AB | 4 | * Copyright (c) 2003-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005,2010 Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -126,7 +126,7 @@ int tipc_createport(unsigned int tipc_user, | |||
126 | tipc_msg_event message_cb, | 126 | tipc_msg_event message_cb, |
127 | tipc_named_msg_event named_message_cb, | 127 | tipc_named_msg_event named_message_cb, |
128 | tipc_conn_msg_event conn_message_cb, | 128 | tipc_conn_msg_event conn_message_cb, |
129 | tipc_continue_event continue_event_cb,/* May be zero */ | 129 | tipc_continue_event continue_event_cb, |
130 | u32 *portref); | 130 | u32 *portref); |
131 | 131 | ||
132 | int tipc_deleteport(u32 portref); | 132 | int tipc_deleteport(u32 portref); |
@@ -145,13 +145,13 @@ int tipc_set_portunreturnable(u32 portref, unsigned int isunreturnable); | |||
145 | int tipc_publish(u32 portref, unsigned int scope, | 145 | int tipc_publish(u32 portref, unsigned int scope, |
146 | struct tipc_name_seq const *name_seq); | 146 | struct tipc_name_seq const *name_seq); |
147 | int tipc_withdraw(u32 portref, unsigned int scope, | 147 | int tipc_withdraw(u32 portref, unsigned int scope, |
148 | struct tipc_name_seq const *name_seq); /* 0: all */ | 148 | struct tipc_name_seq const *name_seq); |
149 | 149 | ||
150 | int tipc_connect2port(u32 portref, struct tipc_portid const *port); | 150 | int tipc_connect2port(u32 portref, struct tipc_portid const *port); |
151 | 151 | ||
152 | int tipc_disconnect(u32 portref); | 152 | int tipc_disconnect(u32 portref); |
153 | 153 | ||
154 | int tipc_shutdown(u32 ref); /* Sends SHUTDOWN msg */ | 154 | int tipc_shutdown(u32 ref); |
155 | 155 | ||
156 | int tipc_isconnected(u32 portref, int *isconnected); | 156 | int tipc_isconnected(u32 portref, int *isconnected); |
157 | 157 | ||
@@ -176,7 +176,7 @@ int tipc_send_buf(u32 portref, | |||
176 | 176 | ||
177 | int tipc_send2name(u32 portref, | 177 | int tipc_send2name(u32 portref, |
178 | struct tipc_name const *name, | 178 | struct tipc_name const *name, |
179 | u32 domain, /* 0:own zone */ | 179 | u32 domain, |
180 | unsigned int num_sect, | 180 | unsigned int num_sect, |
181 | struct iovec const *msg_sect); | 181 | struct iovec const *msg_sect); |
182 | 182 | ||
@@ -188,7 +188,7 @@ int tipc_send_buf2name(u32 portref, | |||
188 | 188 | ||
189 | int tipc_forward2name(u32 portref, | 189 | int tipc_forward2name(u32 portref, |
190 | struct tipc_name const *name, | 190 | struct tipc_name const *name, |
191 | u32 domain, /*0: own zone */ | 191 | u32 domain, |
192 | unsigned int section_count, | 192 | unsigned int section_count, |
193 | struct iovec const *msg_sect, | 193 | struct iovec const *msg_sect, |
194 | struct tipc_portid const *origin, | 194 | struct tipc_portid const *origin, |
@@ -228,14 +228,14 @@ int tipc_forward_buf2port(u32 portref, | |||
228 | 228 | ||
229 | int tipc_multicast(u32 portref, | 229 | int tipc_multicast(u32 portref, |
230 | struct tipc_name_seq const *seq, | 230 | struct tipc_name_seq const *seq, |
231 | u32 domain, /* 0:own zone */ | 231 | u32 domain, /* currently unused */ |
232 | unsigned int section_count, | 232 | unsigned int section_count, |
233 | struct iovec const *msg); | 233 | struct iovec const *msg); |
234 | 234 | ||
235 | #if 0 | 235 | #if 0 |
236 | int tipc_multicast_buf(u32 portref, | 236 | int tipc_multicast_buf(u32 portref, |
237 | struct tipc_name_seq const *seq, | 237 | struct tipc_name_seq const *seq, |
238 | u32 domain, /* 0:own zone */ | 238 | u32 domain, |
239 | void *buf, | 239 | void *buf, |
240 | unsigned int size); | 240 | unsigned int size); |
241 | #endif | 241 | #endif |