aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2018-08-21 13:25:32 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2018-08-21 13:25:32 +0000
commit1a0b02167717b55ed89f5738187b0fc5777000b7 (patch)
tree04cbbcdcac0d7cec32bac6c061923aac6b397a71 /sys/netinet/sctputil.h
parent0b9079bf95d0a777c073ecd51c81958dd2036010 (diff)
downloadsrc-1a0b02167717b55ed89f5738187b0fc5777000b7.tar.gz
src-1a0b02167717b55ed89f5738187b0fc5777000b7.zip
Refactor the SHUTDOWN_PENDING state handling.
This is not a functional change but a preperation for the upcoming DTrace support. It is necessary to change the state in one logical operation, even if it involves clearing the sub state SHUTDOWN_PENDING. MFC after: 1 month
Notes
Notes: svn path=/head/; revision=338134
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h
index c7ffc34d1ec8..c12fb210a9a3 100644
--- a/sys/netinet/sctputil.h
+++ b/sys/netinet/sctputil.h
@@ -388,5 +388,7 @@ void sctp_audit_log(uint8_t, uint8_t);
uint32_t sctp_min_mtu(uint32_t, uint32_t, uint32_t);
void sctp_hc_set_mtu(union sctp_sockstore *, uint16_t, uint32_t);
uint32_t sctp_hc_get_mtu(union sctp_sockstore *, uint16_t);
+void sctp_set_state(struct sctp_tcb *, int);
+void sctp_add_substate(struct sctp_tcb *, int);
#endif /* _KERNEL */
#endif