aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2016-03-27 10:04:25 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2016-03-27 10:04:25 +0000
commit9a8e308861bb317b13aee8a3a09715299d40de61 (patch)
tree654ec2067da803b350ca34ceef32bf225fbf33df /sys/netinet/sctputil.h
parentc79dff0fbe38cff932e21ac439c62ed5870e62ff (diff)
Improve compilation on windows 64-bit (for the userland stack).
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=297312
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h
index 354d40e6c83c..2d3279281e04 100644
--- a/sys/netinet/sctputil.h
+++ b/sys/netinet/sctputil.h
@@ -220,7 +220,8 @@ sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr,
struct sctp_tcb *
sctp_connectx_helper_find(struct sctp_inpcb *inp, struct sockaddr *addr,
- int *totaddr, int *num_v4, int *num_v6, int *error, int limit, int *bad_addr);
+ unsigned int *totaddr, unsigned int *num_v4, unsigned int *num_v6,
+ int *error, unsigned int limit, int *bad_addr);
int sctp_is_there_an_abort_here(struct mbuf *, int, uint32_t *);
@@ -376,7 +377,7 @@ void sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc
void sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from);
void sctp_log_maxburst(struct sctp_tcb *stcb, struct sctp_nets *, int, int, uint8_t);
-void sctp_log_block(uint8_t, struct sctp_association *, int);
+void sctp_log_block(uint8_t, struct sctp_association *, size_t);
void sctp_log_rwnd(uint8_t, uint32_t, uint32_t, uint32_t);
void sctp_log_rwnd_set(uint8_t, uint32_t, uint32_t, uint32_t, uint32_t);
int sctp_fill_stat_log(void *, size_t *);