sctp_bsd_addr.h revision 167598
1292925Sdim/*- 2292925Sdim * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved. 3292925Sdim * 4292925Sdim * Redistribution and use in source and binary forms, with or without 5292925Sdim * modification, are permitted provided that the following conditions are met: 6292925Sdim * 7292925Sdim * a) Redistributions of source code must retain the above copyright notice, 8292925Sdim * this list of conditions and the following disclaimer. 9292925Sdim * 10292925Sdim * b) Redistributions in binary form must reproduce the above copyright 11292925Sdim * notice, this list of conditions and the following disclaimer in 12292925Sdim * the documentation and/or other materials provided with the distribution. 13292925Sdim * 14292925Sdim * c) Neither the name of Cisco Systems, Inc. nor the names of its 15292925Sdim * contributors may be used to endorse or promote products derived 16292925Sdim * from this software without specific prior written permission. 17292925Sdim * 18292925Sdim * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19292925Sdim * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 20292925Sdim * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21292925Sdim * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 22292925Sdim * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23292925Sdim * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24292925Sdim * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25292925Sdim * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26292925Sdim * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27292925Sdim * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28292925Sdim * THE POSSIBILITY OF SUCH DAMAGE. 29292925Sdim */ 30292925Sdim 31292925Sdim#include <sys/cdefs.h> 32292925Sdim__FBSDID("$FreeBSD: head/sys/netinet/sctp_bsd_addr.h 167598 2007-03-15 11:27:14Z rrs $"); 33292925Sdim 34292925Sdim#ifndef __sctp_bsd_addr_h__ 35292925Sdim#define __sctp_bsd_addr_h__ 36292925Sdim 37292925Sdim#include <netinet/sctp_header.h> 38292925Sdim 39292925Sdim#if defined(_KERNEL) 40292925Sdim 41292925Sdim#if defined(SCTP_USE_THREAD_BASED_ITERATOR) 42292925Sdimvoid sctp_wakeup_iterator(void); 43292925Sdim 44292925Sdimvoid sctp_startup_iterator(void); 45292925Sdim 46292925Sdim#endif 47292925Sdim 48292925Sdimvoid 49292925Sdim sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa); 50292925Sdim 51292925Sdim 52292925Sdimextern void sctp_addr_change(struct ifaddr *ifa, int cmd); 53292925Sdim 54292925Sdim#endif 55292925Sdim#endif 56292925Sdim