summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_uio.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2006-11-05 13:25:18 +0000
committerrrs <rrs@FreeBSD.org>2006-11-05 13:25:18 +0000
commit20dc61d3a46238522e738dd8dde26965d5ce46dd (patch)
tree0917b677ec5366916adb9fc52ff977feb016deb1 /sys/netinet/sctp_uio.h
parent21ab4f8a250dc1903e52406d7a88f2bc912fb733 (diff)
downloadFreeBSD-src-20dc61d3a46238522e738dd8dde26965d5ce46dd.zip
FreeBSD-src-20dc61d3a46238522e738dd8dde26965d5ce46dd.tar.gz
Tons of fixes to get all the 64bit issues removed.
This also moves two 16 bit int's to become 32 bit values so we do not have to use atomic_add_16. Most of the changes are %p, casts and other various nasty's that were in the orignal code base. With this commit my machine will now do a build universe.. however I as yet have not tested on a 64bit machine .. it may not work :-(
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r--sys/netinet/sctp_uio.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index abbc858..8532b4f 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -587,7 +587,7 @@ struct sctp_str_log {
};
struct sctp_sb_log {
- uint32_t stcb;
+ void *stcb;
uint32_t so_sbcc;
uint32_t stcb_sbcc;
uint32_t incr;
@@ -628,8 +628,8 @@ struct sctp_sack_log {
};
struct sctp_lock_log {
- uint32_t sock;
- uint32_t inp;
+ void *sock;
+ void *inp;
uint8_t tcb_lock;
uint8_t inp_lock;
uint8_t info_lock;
@@ -641,14 +641,14 @@ struct sctp_lock_log {
};
struct sctp_rto_log {
- uint32_t net;
+ void *net;
uint32_t rtt;
uint32_t rttvar;
uint8_t direction;
};
struct sctp_nagle_log {
- uint32_t stcb;
+ void *stcb;
uint32_t total_flight;
uint32_t total_in_queue;
uint16_t count_in_queue;
@@ -656,7 +656,7 @@ struct sctp_nagle_log {
};
struct sctp_sbwake_log {
- uint32_t stcb;
+ void *stcb;
uint16_t send_q;
uint16_t sent_q;
uint16_t flight;
@@ -675,8 +675,8 @@ struct sctp_misc_info {
};
struct sctp_log_closing {
- uint32_t inp;
- uint32_t stcb;
+ void *inp;
+ void *stcb;
uint32_t sctp_flags;
uint16_t state;
int16_t loc;
OpenPOWER on IntegriCloud