sctp6_var.h revision 242327
143412Snewton/*-
243412Snewton * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
343412Snewton * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
443412Snewton * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
552333Snewton *
6227692Sed * Redistribution and use in source and binary forms, with or without
743412Snewton * modification, are permitted provided that the following conditions are met:
843412Snewton *
964002Speter * a) Redistributions of source code must retain the above copyright notice,
1043412Snewton *    this list of conditions and the following disclaimer.
1143412Snewton *
1243412Snewton * b) Redistributions in binary form must reproduce the above copyright
1343412Snewton *    notice, this list of conditions and the following disclaimer in
1443412Snewton *    the documentation and/or other materials provided with the distribution.
1543412Snewton *
1643412Snewton * c) Neither the name of Cisco Systems, Inc. nor the names of its
1743412Snewton *    contributors may be used to endorse or promote products derived
1843412Snewton *    from this software without specific prior written permission.
1943412Snewton *
2043412Snewton * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2143412Snewton * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
2243412Snewton * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2343412Snewton * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2443412Snewton * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2543412Snewton * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2643412Snewton * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2743412Snewton * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2843412Snewton * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2943412Snewton * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
3043412Snewton * THE POSSIBILITY OF SUCH DAMAGE.
3143412Snewton */
3243412Snewton
3343412Snewton#include <sys/cdefs.h>
3443412Snewton__FBSDID("$FreeBSD: head/sys/netinet6/sctp6_var.h 242327 2012-10-29 20:47:32Z tuexen $");
3543412Snewton
3643412Snewton#ifndef _NETINET6_SCTP6_VAR_H_
3743412Snewton#define _NETINET6_SCTP6_VAR_H_
3843412Snewton
3943412Snewton#if defined(_KERNEL)
4043412Snewton
4143412SnewtonSYSCTL_DECL(_net_inet6_sctp6);
4243412Snewtonextern struct pr_usrreqs sctp6_usrreqs;
4343412Snewton
4443412Snewtonint sctp6_input(struct mbuf **, int *, int);
4543412Snewtonint
4643412Snewtonsctp6_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *,
4743412Snewton    struct mbuf *, struct proc *);
48147966Sjhbvoid sctp6_ctlinput(int, struct sockaddr *, void *);
49147966Sjhbextern void
5043412Snewtonsctp6_notify(struct sctp_inpcb *, struct icmp6_hdr *,
5143412Snewton    struct sctphdr *, struct sockaddr *,
5243412Snewton    struct sctp_tcb *, struct sctp_nets *);
5343412Snewton
5443412Snewton#endif
5543412Snewton#endif
5643412Snewton