udp6_var.h revision 83366
1193323Sed/*
2193323Sed * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3193323Sed * All rights reserved.
4193323Sed *
5193323Sed * Redistribution and use in source and binary forms, with or without
6193323Sed * modification, are permitted provided that the following conditions
7193323Sed * are met:
8193323Sed * 1. Redistributions of source code must retain the above copyright
9193323Sed *    notice, this list of conditions and the following disclaimer.
10193323Sed * 2. Redistributions in binary form must reproduce the above copyright
11193323Sed *    notice, this list of conditions and the following disclaimer in the
12193323Sed *    documentation and/or other materials provided with the distribution.
13193323Sed * 3. Neither the name of the project nor the names of its contributors
14193323Sed *    may be used to endorse or promote products derived from this software
15193323Sed *    without specific prior written permission.
16193323Sed *
17193323Sed * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
18193323Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20193323Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
21193323Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22193323Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23193323Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24193323Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25193323Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26218893Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27218893Sdim * SUCH DAMAGE.
28218893Sdim *
29218893Sdim * $FreeBSD: head/sys/netinet6/udp6_var.h 83366 2001-09-12 08:38:13Z julian $
30218893Sdim */
31218893Sdim
32218893Sdim/*
33193323Sed * Copyright (c) 1982, 1986, 1989, 1993
34218893Sdim *	The Regents of the University of California.  All rights reserved.
35193323Sed *
36193323Sed * Redistribution and use in source and binary forms, with or without
37193323Sed * modification, are permitted provided that the following conditions
38193323Sed * are met:
39193323Sed * 1. Redistributions of source code must retain the above copyright
40193323Sed *    notice, this list of conditions and the following disclaimer.
41193323Sed * 2. Redistributions in binary form must reproduce the above copyright
42193323Sed *    notice, this list of conditions and the following disclaimer in the
43218893Sdim *    documentation and/or other materials provided with the distribution.
44218893Sdim * 3. All advertising materials mentioning features or use of this software
45218893Sdim *    must display the following acknowledgement:
46218893Sdim *	This product includes software developed by the University of
47218893Sdim *	California, Berkeley and its contributors.
48218893Sdim * 4. Neither the name of the University nor the names of its contributors
49218893Sdim *    may be used to endorse or promote products derived from this software
50218893Sdim *    without specific prior written permission.
51193323Sed *
52193323Sed * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
53193323Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
54193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
55193323Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
56193323Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
57193323Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
58218893Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
59193323Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
60193323Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
61193323Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62198090Srdivacky * SUCH DAMAGE.
63198090Srdivacky *
64198090Srdivacky *	@(#)udp_var.h	8.1 (Berkeley) 6/10/93
65198090Srdivacky */
66198090Srdivacky
67193323Sed#ifndef _NETINET6_UDP6_VAR_H_
68193323Sed#define _NETINET6_UDP6_VAR_H_
69193323Sed
70193323Sed#ifdef _KERNEL
71218893SdimSYSCTL_DECL(_net_inet6_udp6);
72218893Sdim
73218893Sdimextern struct	pr_usrreqs udp6_usrreqs;
74193323Sed
75193323Sedvoid	udp6_ctlinput __P((int, struct sockaddr *, void *));
76193323Sedint	udp6_input __P((struct mbuf **, int *, int));
77193323Sedint	udp6_output __P((struct inpcb *inp, struct mbuf *m,
78218893Sdim			struct sockaddr *addr, struct mbuf *control,
79218893Sdim			struct thread *td));
80218893Sdim#endif
81218893Sdim
82218893Sdim#endif /*_NETINET6_UDP6_VAR_H_*/
83193323Sed