diff options
author | rrs <rrs@FreeBSD.org> | 2007-07-24 20:06:02 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-07-24 20:06:02 +0000 |
commit | 1db8ba247453b3da31775f1a39199179ca75bfb7 (patch) | |
tree | d2ea0fd9ef19605e959e0ed17a4723e94186c995 /sys/netinet/sctp_asconf.h | |
parent | 4177278d87cbfa0b06b72d4b526e3a39dbd7838b (diff) | |
download | FreeBSD-src-1db8ba247453b3da31775f1a39199179ca75bfb7.zip FreeBSD-src-1db8ba247453b3da31775f1a39199179ca75bfb7.tar.gz |
- take out a needless panic under invariants for sctp_output.c
- Fix addrs's error checking of sctp_sendx(3) when addrcnt is less than
SCTP_SMALL_IOVEC_SIZE
- re-add back inpcb_bind local address check bypass capability
- Fix it so sctp_opt_info is independant of assoc_id postion.
- Fix cookie life set to use MSEC_TO_TICKS() macro.
- asconf changes
o More comment changes/clarifications related to the old local address
"not" list which is now an explicit restricted list.
o Rename some functions for clarity:
- sctp_add/del_local_addr_assoc to xxx_local_addr_restricted()
- asconf related iterator functions to sctp_asconf_iterator_xxx()
o Fix bug when the same address is deleted and added (and removed from
the asconf queue) where the ifa is "freed" twice refcount wise,
possibly freeing it completely.
o Fix bug in output where the first ASCONF would not go out after the
last address is changed (e.g. only goes out when retransmitted).
o Fix bug where multiple ASCONFs can be bundled in the same packet with
the and with the same serial numbers.
o Fix asconf stcb iterator to not send ASCONF until after all work
queue entries have been processed.
o Change behavior so that when the last address is deleted (auto asconf
on a bound all endpoint) no action is taken until an address is
added; at that time, an ASCONF add+delete is sent (if the assoc
is still up).
o Fix local address counting so that address scoping is taken into
account.
o #ifdef SCTP_TIMER_BASED_ASCONF the old timer triggered sending
of ASCONF (after an RTO). The default now is to send
ASCONF immediately (except for the case of changing/deleting the
last usable address).
Approved by: re(ken smith)@freebsd.org
Diffstat (limited to 'sys/netinet/sctp_asconf.h')
-rw-r--r-- | sys/netinet/sctp_asconf.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/netinet/sctp_asconf.h b/sys/netinet/sctp_asconf.h index d47aa96..33da27e 100644 --- a/sys/netinet/sctp_asconf.h +++ b/sys/netinet/sctp_asconf.h @@ -58,10 +58,14 @@ sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *, uint32_t, uint32_t, struct sctp_ifa *); -int sctp_iterator_ep(struct sctp_inpcb *inp, void *ptr, uint32_t val); -void sctp_iterator_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, void *ptr, uint32_t type); -int sctp_iterator_ep_end(struct sctp_inpcb *inp, void *ptr, uint32_t val); -void sctp_iterator_end(void *ptr, uint32_t val); +extern int +sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, + uint32_t val); +extern void +sctp_asconf_iterator_stcb(struct sctp_inpcb *inp, + struct sctp_tcb *stcb, + void *ptr, uint32_t type); +extern void sctp_asconf_iterator_end(void *ptr, uint32_t val); extern int32_t |