sctp_bsd_addr.h (166086) | sctp_bsd_addr.h (167598) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/netinet/sctp_bsd_addr.h 166086 2007-01-18 09:58:43Z rrs $"); | 32__FBSDID("$FreeBSD: head/sys/netinet/sctp_bsd_addr.h 167598 2007-03-15 11:27:14Z rrs $"); |
33 34#ifndef __sctp_bsd_addr_h__ 35#define __sctp_bsd_addr_h__ 36 37#include <netinet/sctp_header.h> 38 39#if defined(_KERNEL) 40 | 33 34#ifndef __sctp_bsd_addr_h__ 35#define __sctp_bsd_addr_h__ 36 37#include <netinet/sctp_header.h> 38 39#if defined(_KERNEL) 40 |
41int sctp_is_addr_restricted(struct sctp_tcb *, struct sockaddr *); | 41#if defined(SCTP_USE_THREAD_BASED_ITERATOR) 42void sctp_wakeup_iterator(void); |
42 | 43 |
44void sctp_startup_iterator(void); |
|
43 | 45 |
44struct in_addr 45sctp_ipv4_source_address_selection(struct sctp_inpcb *inp, 46 struct sctp_tcb *stcb, 47 struct route *ro, struct sctp_nets *net, 48 int non_asoc_addr_ok); | 46#endif |
49 | 47 |
50struct in6_addr 51sctp_ipv6_source_address_selection(struct sctp_inpcb *, 52 struct sctp_tcb *, struct route *, 53 struct sctp_nets *, int); | 48void 49 sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa); |
54 55 | 50 51 |
56struct mbuf * 57sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, 58 struct sctp_scoping *scope, 59 struct mbuf *m_at, 60 int cnt_inits_to); | 52extern void sctp_addr_change(struct ifaddr *ifa, int cmd); |
61 | 53 |
62 | |
63#endif 64#endif | 54#endif 55#endif |