aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2011-12-17 19:21:40 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2011-12-17 19:21:40 +0000
commit7215cc1b742060c62d6d541cbcaf84cd33a0dbc0 (patch)
tree028996ed733914976c1e3a0b8fa01b3207695ee6 /sys/netinet/sctputil.h
parentcb3b0d8fb9574628ef66732551bc5e03d7a7a65e (diff)
downloadsrc-7215cc1b742060c62d6d541cbcaf84cd33a0dbc0.tar.gz
src-7215cc1b742060c62d6d541cbcaf84cd33a0dbc0.zip
Fix unused parameter warnings.
While there, fix some whitespace issues. MFC after: 3 months.
Notes
Notes: svn path=/head/; revision=228653
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h
index 460adc7b1928..bbaaaa409a74 100644
--- a/sys/netinet/sctputil.h
+++ b/sys/netinet/sctputil.h
@@ -7,11 +7,11 @@
* modification, are permitted provided that the following conditions are met:
*
* a) Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
+ * this list of conditions and the following disclaimer.
*
* b) Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the distribution.
+ * the documentation and/or other materials provided with the distribution.
*
* c) Neither the name of Cisco Systems, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
@@ -127,7 +127,7 @@ sctp_append_to_readq(struct sctp_inpcb *inp,
void sctp_iterator_worker(void);
uint32_t sctp_get_prev_mtu(uint32_t);
-uint32_t sctp_get_next_mtu(struct sctp_inpcb *, uint32_t);
+uint32_t sctp_get_next_mtu(uint32_t);
void
sctp_timeout_handler(void *);
@@ -250,7 +250,7 @@ sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp,
struct sockaddr *sa, sctp_assoc_t assoc_id,
uint32_t vrf_id, int *error, void *p);
void
-sctp_bindx_delete_address(struct socket *so, struct sctp_inpcb *inp,
+sctp_bindx_delete_address(struct sctp_inpcb *inp,
struct sockaddr *sa, sctp_assoc_t assoc_id,
uint32_t vrf_id, int *error);
@@ -333,7 +333,6 @@ void
void
sctp_wakeup_log(struct sctp_tcb *stcb,
- uint32_t cumtsn,
uint32_t wake_cnt, int from);
void sctp_log_strm_del_alt(struct sctp_tcb *stcb, uint32_t, uint16_t, uint16_t, int);
@@ -359,7 +358,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 socket *, struct sctp_association *, int);
+void sctp_log_block(uint8_t, struct sctp_association *, int);
void sctp_log_rwnd(uint8_t, uint32_t, uint32_t, uint32_t);
void sctp_log_mbcnt(uint8_t, uint32_t, uint32_t, uint32_t, uint32_t);
void sctp_log_rwnd_set(uint8_t, uint32_t, uint32_t, uint32_t, uint32_t);