diff options
author | rrs <rrs@FreeBSD.org> | 2008-07-31 11:08:30 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2008-07-31 11:08:30 +0000 |
commit | 7818f3ed80d17fe337ebaa5b51ecf26b785c41c7 (patch) | |
tree | 0e033aa257d8146537bb1dea4adc81527d15a2ef /sys/netinet/sctp_pcb.h | |
parent | b8596e4794a3aeb4fb1425b04700669f545743de (diff) | |
download | FreeBSD-src-7818f3ed80d17fe337ebaa5b51ecf26b785c41c7.zip FreeBSD-src-7818f3ed80d17fe337ebaa5b51ecf26b785c41c7.tar.gz |
Adds support for the SCTP_PORT_REUSE option
Fixes a refcount bug found in the process
Obtained from: With the help of Michael Tuexen
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r-- | sys/netinet/sctp_pcb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index 7f63dcd..0600e93 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -599,6 +599,8 @@ int sctp_is_vtag_good(struct sctp_inpcb *, uint32_t, struct timeval *, int); int sctp_destination_is_reachable(struct sctp_tcb *, struct sockaddr *); +int sctp_swap_inpcb_for_listen(struct sctp_inpcb *inp); + /*- * Null in last arg inpcb indicate run on ALL ep's. Specific inp in last arg * indicates run on ONLY assoc's of the specified endpoint. |