From 0b70de8b223563a30b52e27bc78fc66e2deb3755 Mon Sep 17 00:00:00 2001 From: tuexen Date: Fri, 22 Aug 2014 19:49:43 +0000 Subject: MFC r269376: Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes. --- sys/netinet/sctputil.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/netinet/sctputil.h') diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h index 1e0b478..559daa3 100644 --- a/sys/netinet/sctputil.h +++ b/sys/netinet/sctputil.h @@ -147,9 +147,11 @@ struct sctp_paramhdr * sctp_get_next_param(struct mbuf *, int, struct sctp_paramhdr *, int); -int sctp_add_pad_tombuf(struct mbuf *, int); +struct mbuf * + sctp_add_pad_tombuf(struct mbuf *, int); -int sctp_pad_lastmbuf(struct mbuf *, int, struct mbuf *); +struct mbuf * + sctp_pad_lastmbuf(struct mbuf *, int, struct mbuf *); void sctp_ulp_notify(uint32_t, struct sctp_tcb *, uint32_t, void *, int -- cgit v1.1