1163953Srrs/*- 2169382Srrs * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3235828Stuexen * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 4235828Stuexen * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 5163953Srrs * 6163953Srrs * Redistribution and use in source and binary forms, with or without 7163953Srrs * modification, are permitted provided that the following conditions are met: 8163953Srrs * 9163953Srrs * a) Redistributions of source code must retain the above copyright notice, 10228653Stuexen * this list of conditions and the following disclaimer. 11163953Srrs * 12163953Srrs * b) Redistributions in binary form must reproduce the above copyright 13163953Srrs * notice, this list of conditions and the following disclaimer in 14228653Stuexen * the documentation and/or other materials provided with the distribution. 15163953Srrs * 16163953Srrs * c) Neither the name of Cisco Systems, Inc. nor the names of its 17163953Srrs * contributors may be used to endorse or promote products derived 18163953Srrs * from this software without specific prior written permission. 19163953Srrs * 20163953Srrs * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21163953Srrs * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22163953Srrs * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23163953Srrs * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 24163953Srrs * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25163953Srrs * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26163953Srrs * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27163953Srrs * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28163953Srrs * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29163953Srrs * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30163953Srrs * THE POSSIBILITY OF SUCH DAMAGE. 31163953Srrs */ 32174510Sobrien 33235828Stuexen#include <sys/cdefs.h> 34235828Stuexen__FBSDID("$FreeBSD: releng/10.3/sys/netinet6/sctp6_var.h 243186 2012-11-17 20:04:04Z tuexen $"); 35235828Stuexen 36163953Srrs#ifndef _NETINET6_SCTP6_VAR_H_ 37163953Srrs#define _NETINET6_SCTP6_VAR_H_ 38174510Sobrien 39163953Srrs#if defined(_KERNEL) 40163953Srrs 41163953SrrsSYSCTL_DECL(_net_inet6_sctp6); 42163953Srrsextern struct pr_usrreqs sctp6_usrreqs; 43163953Srrs 44241916Sdelphijint sctp6_input(struct mbuf **, int *, int); 45243186Stuexenint sctp6_input_with_port(struct mbuf **, int *, uint16_t); 46242327Stuexenint 47242327Stuexensctp6_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *, 48241916Sdelphij struct mbuf *, struct proc *); 49242327Stuexenvoid sctp6_ctlinput(int, struct sockaddr *, void *); 50242327Stuexenextern void 51242327Stuexensctp6_notify(struct sctp_inpcb *, struct icmp6_hdr *, 52242327Stuexen struct sctphdr *, struct sockaddr *, 53242327Stuexen struct sctp_tcb *, struct sctp_nets *); 54163953Srrs 55163953Srrs#endif 56242327Stuexen#endif 57