git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
net
/
sctp
/
tsnmap.h
diff --git
a/include/net/sctp/tsnmap.h
b/include/net/sctp/tsnmap.h
index
021947d
..
70a824d
100644
(file)
--- a/
include/net/sctp/tsnmap.h
+++ b/
include/net/sctp/tsnmap.h
@@
-105,7
+105,7
@@
struct sctp_tsnmap {
* every SACK. Store up to SCTP_MAX_DUP_TSNS worth of
* information.
*/
* every SACK. Store up to SCTP_MAX_DUP_TSNS worth of
* information.
*/
- __
u
32 dup_tsns[SCTP_MAX_DUP_TSNS];
+ __
be
32 dup_tsns[SCTP_MAX_DUP_TSNS];
__u16 num_dup_tsns;
/* Record gap ack block information here. */
__u16 num_dup_tsns;
/* Record gap ack block information here. */
@@
-162,7
+162,7
@@
static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map)
}
/* Return pointer to duplicate tsn array as needed by SACK. */
}
/* Return pointer to duplicate tsn array as needed by SACK. */
-static inline __
u
32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map)
+static inline __
be
32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map)
{
map->num_dup_tsns = 0;
return map->dup_tsns;
{
map->num_dup_tsns = 0;
return map->dup_tsns;