summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_bsd_addr.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-04-03 11:15:32 +0000
committerrrs <rrs@FreeBSD.org>2007-04-03 11:15:32 +0000
commitad3d5670174784e5b920754b5b0f8f9902669d09 (patch)
treea29f21245853449d39286dd5084db358d0ca42a9 /sys/netinet/sctp_bsd_addr.h
parentc277843c2225aefe5e5c60e49de3fc0f95f7a798 (diff)
downloadFreeBSD-src-ad3d5670174784e5b920754b5b0f8f9902669d09.zip
FreeBSD-src-ad3d5670174784e5b920754b5b0f8f9902669d09.tar.gz
- 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
Diffstat (limited to 'sys/netinet/sctp_bsd_addr.h')
-rw-r--r--sys/netinet/sctp_bsd_addr.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet/sctp_bsd_addr.h b/sys/netinet/sctp_bsd_addr.h
index 0752ea3..5a4216f 100644
--- a/sys/netinet/sctp_bsd_addr.h
+++ b/sys/netinet/sctp_bsd_addr.h
@@ -33,8 +33,7 @@ __FBSDID("$FreeBSD$");
#ifndef __sctp_bsd_addr_h__
#define __sctp_bsd_addr_h__
-
-#include <netinet/sctp_header.h>
+#include <netinet/sctp_pcb.h>
#if defined(_KERNEL)
@@ -45,11 +44,9 @@ void sctp_startup_iterator(void);
#endif
-void
- sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa);
-
+void sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa);
-extern void sctp_addr_change(struct ifaddr *ifa, int cmd);
+void sctp_addr_change(struct ifaddr *ifa, int cmd);
#endif
#endif
OpenPOWER on IntegriCloud