11.1Srjs/*	$KAME: dccp6_var.h,v 1.3 2003/11/18 04:55:43 ono Exp $	*/
21.4Srtr/*	$NetBSD: dccp6_var.h,v 1.4 2015/05/02 17:18:03 rtr Exp $ */
31.1Srjs
41.1Srjs/*
51.1Srjs * Copyright (c) 2003 Joacim H�ggmark
61.1Srjs * All rights reserved.
71.1Srjs *
81.1Srjs * Redistribution and use in source and binary forms, with or without
91.1Srjs * modification, are permitted provided that the following conditions
101.1Srjs * are met:
111.1Srjs *
121.1Srjs * 1. Redistributions of source code must retain the above copyright
131.1Srjs *    notice, this list of conditions and the following disclaimer.
141.1Srjs * 2. Redistributions in binary form must reproduce the above copyright
151.1Srjs *    notice, this list of conditions and the following disclaimer in the
161.1Srjs *    documentation and/or other materials provided with the distribution.
171.1Srjs * 3. The name of the author may not be used to endorse or promote products
181.1Srjs *    derived from this software without specific prior written permission.
191.1Srjs *
201.1Srjs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
211.1Srjs * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
221.1Srjs * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
231.1Srjs * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
241.1Srjs * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
251.1Srjs * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
261.1Srjs * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
271.1Srjs * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
281.1Srjs * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
291.1Srjs * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
301.1Srjs *
311.1Srjs * Id: dccp6_var.h,v 1.1 2003/07/31 21:34:16 joahag-9 Exp
321.1Srjs */
331.1Srjs
341.1Srjs#ifndef _NETINET_DCCP6_VAR_H_
351.1Srjs#define _NETINET_DCCP6_VAR_H_
361.1Srjs
371.1Srjs#ifdef _KERNEL
381.1Srjs
391.1Srjsextern const struct	pr_usrreqs dccp6_usrreqs;
401.1Srjsextern struct	in6pcb dccpb6;
411.1Srjs
421.1Srjsvoid *	dccp6_ctlinput(int, const struct sockaddr *, void *);
431.1Srjsint	dccp6_input(struct mbuf **, int *, int);
441.1Srjsint	dccp6_usrreq(struct socket *, int, struct mbuf *, struct mbuf *,
451.1Srjs		     struct mbuf *, struct lwp *);
461.2Srtrint	dccp6_bind(struct socket *, struct sockaddr *, struct lwp *);
471.1Srjsint	dccp6_listen(struct socket *, struct lwp *);
481.4Srtrint	dccp6_connect(struct socket *, struct sockaddr *, struct lwp *);
491.3Srtrint	dccp6_accept(struct socket *, struct sockaddr *);
501.1Srjs
511.1Srjs#endif
521.1Srjs#endif
53