summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_bsd_addr.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-03-15 11:27:14 +0000
committerrrs <rrs@FreeBSD.org>2007-03-15 11:27:14 +0000
commitbd8786ed778eb3e2e64f4bc1078d8653aa1a6d54 (patch)
tree3a099c736ba497f25dc6fd964a7995f33f2282ad /sys/netinet/sctp_bsd_addr.h
parent7f1d3da162e9e7e9561d1b1ab3e88b00622c7b5e (diff)
downloadFreeBSD-src-bd8786ed778eb3e2e64f4bc1078d8653aa1a6d54.zip
FreeBSD-src-bd8786ed778eb3e2e64f4bc1078d8653aa1a6d54.tar.gz
- Sysctl's move to seperate file
- moved away from ifn/ifa access to sctp_ifa/sctp_ifn built and managed by the add-ip code. - cleaned up add-ip code to use the iterator - made iterator be a thread, which enables auto-asconf now. - rewrote and cleaned up source address selection (also made it use new structures). - Fixed a couple of memory leaks. - DACK now settable as to how many packets to delay as well as time. - connectx() to latest socket API, new associd arg. - Fixed issue with revoking and loosing potential to send when we inflate the flight size. We now inflate the cwnd too and deflate it later when the revoked chunk is sent or acked. - Got rid of some temp debug code - src addr selection moved to a common file (sctp_output.c) - Support for simple VRF's (we have support for multi-vfr via compile switch that is scrubbed from BSD but we won't need multi-vrf until we first get VRF :-D) - Rest of mib work for address information now done - Limit number of addresses in INIT/INIT-ACK to a #def (30). Reviewed by: gnn
Diffstat (limited to 'sys/netinet/sctp_bsd_addr.h')
-rw-r--r--sys/netinet/sctp_bsd_addr.h23
1 files changed, 7 insertions, 16 deletions
diff --git a/sys/netinet/sctp_bsd_addr.h b/sys/netinet/sctp_bsd_addr.h
index ad7b5b8..0752ea3 100644
--- a/sys/netinet/sctp_bsd_addr.h
+++ b/sys/netinet/sctp_bsd_addr.h
@@ -38,27 +38,18 @@ __FBSDID("$FreeBSD$");
#if defined(_KERNEL)
-int sctp_is_addr_restricted(struct sctp_tcb *, struct sockaddr *);
+#if defined(SCTP_USE_THREAD_BASED_ITERATOR)
+void sctp_wakeup_iterator(void);
+void sctp_startup_iterator(void);
-struct in_addr
-sctp_ipv4_source_address_selection(struct sctp_inpcb *inp,
- struct sctp_tcb *stcb,
- struct route *ro, struct sctp_nets *net,
- int non_asoc_addr_ok);
-
-struct in6_addr
-sctp_ipv6_source_address_selection(struct sctp_inpcb *,
- struct sctp_tcb *, struct route *,
- struct sctp_nets *, int);
+#endif
+void
+ sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa);
-struct mbuf *
-sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp,
- struct sctp_scoping *scope,
- struct mbuf *m_at,
- int cnt_inits_to);
+extern void sctp_addr_change(struct ifaddr *ifa, int cmd);
#endif
#endif
OpenPOWER on IntegriCloud