summaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_os_bsd.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-05-02 12:50:13 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-05-02 12:50:13 +0000
commitd06c82f1697e5f6a95e01181872aae88b5fee388 (patch)
tree93ea4f957056813b10463b788259dc0304a365e3 /sys/netinet/sctp_os_bsd.h
parentd562befcdd823e65c76d813af28142d0356b8665 (diff)
downloadsrc-test2-d06c82f1697e5f6a95e01181872aae88b5fee388.tar.gz
src-test2-d06c82f1697e5f6a95e01181872aae88b5fee388.zip
Notes
Diffstat (limited to 'sys/netinet/sctp_os_bsd.h')
-rw-r--r--sys/netinet/sctp_os_bsd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index 81e028ca681b..b01287e5e832 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -226,6 +226,7 @@ typedef struct callout sctp_os_timer_t;
#define SCTP_HEADER_TO_CHAIN(m) (m)
#define SCTP_HEADER_LEN(m) (m->m_pkthdr.len)
#define SCTP_GET_HEADER_FOR_OUTPUT(len) sctp_get_mbuf_for_msg(len, 1, M_DONTWAIT, 1, MT_DATA)
+#define SCTP_RELEASE_PAK(i_pak)
/* Attach the chain of data into the sendable packet. */
#define SCTP_ATTACH_CHAIN(pak, m, packet_length) do { \
@@ -242,7 +243,6 @@ typedef struct callout sctp_os_timer_t;
* into the chain of data holders, for BSD
* its a NOP.
*/
-#define SCTP_PAK_TO_BUF(i_pak) (i_pak)
/* Macro's for getting length from V6/V4 header */
#define SCTP_GET_IPV4_LENGTH(iph) (iph->ip_len)
@@ -273,6 +273,11 @@ typedef struct callout sctp_os_timer_t;
typedef struct route sctp_route_t;
+struct mbuf *
+sctp_get_mbuf_for_msg(unsigned int space_needed,
+ int want_header, int how, int allonebuf, int type);
+
+
/*
* SCTP AUTH
*/