sctp_bsd_addr.h revision 169382
1185029Spjd/*-
2185029Spjd * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3185029Spjd *
4185029Spjd * Redistribution and use in source and binary forms, with or without
5185029Spjd * modification, are permitted provided that the following conditions are met:
6185029Spjd *
7185029Spjd * a) Redistributions of source code must retain the above copyright notice,
8185029Spjd *   this list of conditions and the following disclaimer.
9185029Spjd *
10185029Spjd * b) Redistributions in binary form must reproduce the above copyright
11185029Spjd *    notice, this list of conditions and the following disclaimer in
12185029Spjd *   the documentation and/or other materials provided with the distribution.
13185029Spjd *
14185029Spjd * c) Neither the name of Cisco Systems, Inc. nor the names of its
15185029Spjd *    contributors may be used to endorse or promote products derived
16185029Spjd *    from this software without specific prior written permission.
17185029Spjd *
18185029Spjd * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19185029Spjd * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20185029Spjd * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21185029Spjd * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22185096Sdfr * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23185096Sdfr * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24185096Sdfr * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25185029Spjd * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26185029Spjd * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27185029Spjd * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28185029Spjd * THE POSSIBILITY OF SUCH DAMAGE.
29185029Spjd */
30200309Sjhb
31185029Spjd#include <sys/cdefs.h>
32185029Spjd__FBSDID("$FreeBSD: head/sys/netinet/sctp_bsd_addr.h 169382 2007-05-08 17:01:12Z rrs $");
33185029Spjd
34185029Spjd#ifndef __sctp_bsd_addr_h__
35185029Spjd#define __sctp_bsd_addr_h__
36185029Spjd#include <netinet/sctp_pcb.h>
37185029Spjd
38185029Spjd#if defined(_KERNEL)
39185029Spjd
40213136Spjd#if defined(SCTP_USE_THREAD_BASED_ITERATOR)
41213136Spjdvoid sctp_wakeup_iterator(void);
42213136Spjd
43213136Spjdvoid sctp_startup_iterator(void);
44185029Spjd
45185029Spjd#endif
46185029Spjd
47185029Spjdvoid sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa);
48226506Sdes
49226506Sdesvoid sctp_addr_change(struct ifaddr *ifa, int cmd);
50199714Srnoland
51185029Spjd#endif
52185029Spjd#endif
53185029Spjd