1284882Sgjb/*- 2284882Sgjb * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3284882Sgjb * All rights reserved. 4284882Sgjb * 5284882Sgjb * Redistribution and use in source and binary forms, with or without 6284882Sgjb * modification, are permitted provided that the following conditions 7284882Sgjb * are met: 8284882Sgjb * 1. Redistributions of source code must retain the above copyright 9284882Sgjb * notice, this list of conditions and the following disclaimer. 10284882Sgjb * 2. Redistributions in binary form must reproduce the above copyright 11284882Sgjb * notice, this list of conditions and the following disclaimer in the 12284882Sgjb * documentation and/or other materials provided with the distribution. 13284882Sgjb * 3. Neither the name of the project nor the names of its contributors 14284882Sgjb * may be used to endorse or promote products derived from this software 15284882Sgjb * without specific prior written permission. 16284882Sgjb * 17284882Sgjb * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 18284882Sgjb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19284882Sgjb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20333608Sgjb * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 21284882Sgjb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22331876Sgjb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23331876Sgjb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24331876Sgjb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25331876Sgjb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26284882Sgjb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27334963Sgjb * SUCH DAMAGE. 28334963Sgjb */ 29331876Sgjb 30284882Sgjb/*- 31284882Sgjb * Copyright (c) 1982, 1986, 1989, 1993 32284882Sgjb * The Regents of the University of California. 33284882Sgjb * All rights reserved. 34284882Sgjb * 35284882Sgjb * Redistribution and use in source and binary forms, with or without 36284882Sgjb * modification, are permitted provided that the following conditions 37284882Sgjb * are met: 38284882Sgjb * 1. Redistributions of source code must retain the above copyright 39284882Sgjb * notice, this list of conditions and the following disclaimer. 40284882Sgjb * 2. Redistributions in binary form must reproduce the above copyright 41284882Sgjb * notice, this list of conditions and the following disclaimer in the 42284882Sgjb * documentation and/or other materials provided with the distribution. 43284882Sgjb * 4. Neither the name of the University nor the names of its contributors 44284882Sgjb * may be used to endorse or promote products derived from this software 45303917Sgjb * without specific prior written permission. 46285049Sgjb * 47284882Sgjb * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 48284882Sgjb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 49284882Sgjb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 50285049Sgjb * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 51284882Sgjb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 52285049Sgjb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 53284882Sgjb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 54284882Sgjb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 55284882Sgjb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 56284882Sgjb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 57284882Sgjb * SUCH DAMAGE. 58284882Sgjb * 59284882Sgjb * @(#)udp_var.h 8.1 (Berkeley) 6/10/93 60284882Sgjb * $FreeBSD$ 61284882Sgjb */ 62284882Sgjb 63284882Sgjb#ifndef _NETINET6_UDP6_VAR_H_ 64284882Sgjb#define _NETINET6_UDP6_VAR_H_ 65284882Sgjb 66284882Sgjb#ifdef _KERNEL 67284882SgjbSYSCTL_DECL(_net_inet6_udp6); 68284882Sgjb 69284882Sgjbextern struct pr_usrreqs udp6_usrreqs; 70284882Sgjb 71284882Sgjbvoid udp6_ctlinput(int, struct sockaddr *, void *); 72284882Sgjbvoid udplite6_ctlinput(int, struct sockaddr *, void *); 73303917Sgjbint udp6_input(struct mbuf **, int *, int); 74333608Sgjb#endif 75303917Sgjb 76284882Sgjb#endif /*_NETINET6_UDP6_VAR_H_*/ 77284882Sgjb