sctp_bsd_addr.h revision 169382
1130803Smarcel/*-
2130803Smarcel * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3130803Smarcel *
4130803Smarcel * Redistribution and use in source and binary forms, with or without
5130803Smarcel * modification, are permitted provided that the following conditions are met:
6130803Smarcel *
7130803Smarcel * a) Redistributions of source code must retain the above copyright notice,
8130803Smarcel *   this list of conditions and the following disclaimer.
9130803Smarcel *
10130803Smarcel * b) Redistributions in binary form must reproduce the above copyright
11130803Smarcel *    notice, this list of conditions and the following disclaimer in
12130803Smarcel *   the documentation and/or other materials provided with the distribution.
13130803Smarcel *
14130803Smarcel * c) Neither the name of Cisco Systems, Inc. nor the names of its
15130803Smarcel *    contributors may be used to endorse or promote products derived
16130803Smarcel *    from this software without specific prior written permission.
17130803Smarcel *
18130803Smarcel * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19130803Smarcel * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20130803Smarcel * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21130803Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22130803Smarcel * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23130803Smarcel * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24130803Smarcel * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25130803Smarcel * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26130803Smarcel * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27130803Smarcel * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28130803Smarcel * THE POSSIBILITY OF SUCH DAMAGE.
29130803Smarcel */
30130803Smarcel
31130803Smarcel#include <sys/cdefs.h>
32130803Smarcel__FBSDID("$FreeBSD: head/sys/netinet/sctp_bsd_addr.h 169382 2007-05-08 17:01:12Z rrs $");
33130803Smarcel
34130803Smarcel#ifndef __sctp_bsd_addr_h__
35130803Smarcel#define __sctp_bsd_addr_h__
36130803Smarcel#include <netinet/sctp_pcb.h>
37130803Smarcel
38130803Smarcel#if defined(_KERNEL)
39130803Smarcel
40130803Smarcel#if defined(SCTP_USE_THREAD_BASED_ITERATOR)
41130803Smarcelvoid sctp_wakeup_iterator(void);
42130803Smarcel
43130803Smarcelvoid sctp_startup_iterator(void);
44130803Smarcel
45130803Smarcel#endif
46130803Smarcel
47130803Smarcelvoid sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa);
48130803Smarcel
49130803Smarcelvoid sctp_addr_change(struct ifaddr *ifa, int cmd);
50130803Smarcel
51130803Smarcel#endif
52130803Smarcel#endif
53130803Smarcel