From bff64a4db3bb361cddf2a3b1265ded2de18307b3 Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Tue, 3 Apr 2007 11:15:32 +0000 Subject: - fixed several places where we did not release INP locks. - fixed a refcount bug in the new ifa structures. - use vrf's from default stcb or inp whenever possible. - Address limits raised to account for a full IP fragmented packet (1000 addresses). - flight size correcting updated to include one message only and to handle case where the peer does not cumack the next segment aka lists 1/1 in sack blocks.. - Various bad init/init-ack handling could cause a panic since we tried to unlock the destroyed mutex. Fixes so we properly exit when we need to destroy an assoc. (Found by Cisco DevTest team :D) - name rename in src-addr-selection from pass to sifa. - route structure typedef'd to allow different platforms and updated into sctp_os_bsd file. - Max retransmissions a chunk can be made added. Reviewed by: gnn --- sys/netinet/sctp_os_bsd.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/netinet/sctp_os_bsd.h') diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h index e74ccfa1250f..81e028ca681b 100644 --- a/sys/netinet/sctp_os_bsd.h +++ b/sys/netinet/sctp_os_bsd.h @@ -93,10 +93,8 @@ __FBSDID("$FreeBSD$"); #endif /* INET6 */ - #include - #ifndef in6pcb #define in6pcb inpcb #endif @@ -269,6 +267,12 @@ typedef struct callout sctp_os_timer_t; #define SCTP_SB_LIMIT_RCV(so) so->so_rcv.sb_hiwat #define SCTP_SB_LIMIT_SND(so) so->so_snd.sb_hiwat +/* + * routes, output, etc. + */ +typedef struct route sctp_route_t; + + /* * SCTP AUTH */ -- cgit v1.2.3