159874Speter/* $FreeBSD$ */
225603Skjc/*      $NetBSD: if_atm.h,v 1.2 1996/07/03 17:17:17 chuck Exp $       */
325603Skjc
4139823Simp/*-
525603Skjc *
625603Skjc * Copyright (c) 1996 Charles D. Cranor and Washington University.
725603Skjc * All rights reserved.
825603Skjc *
925603Skjc * Redistribution and use in source and binary forms, with or without
1025603Skjc * modification, are permitted provided that the following conditions
1125603Skjc * are met:
1225603Skjc * 1. Redistributions of source code must retain the above copyright
1325603Skjc *    notice, this list of conditions and the following disclaimer.
1425603Skjc * 2. Redistributions in binary form must reproduce the above copyright
1525603Skjc *    notice, this list of conditions and the following disclaimer in the
1625603Skjc *    documentation and/or other materials provided with the distribution.
1725603Skjc * 3. All advertising materials mentioning features or use of this software
1825603Skjc *    must display the following acknowledgement:
19133874Srwatson *      This product includes software developed by Charles D. Cranor and
20133874Srwatson *      Washington University.
2125603Skjc * 4. The name of the author may not be used to endorse or promote products
2225603Skjc *    derived from this software without specific prior written permission.
2325603Skjc *
2425603Skjc * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2525603Skjc * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2625603Skjc * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2725603Skjc * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2825603Skjc * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2925603Skjc * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3025603Skjc * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3125603Skjc * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3225603Skjc * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3325603Skjc * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3425603Skjc */
3525603Skjc
3625603Skjc/*
3725603Skjc * if_atm.h
3825603Skjc */
3925603Skjc
4033054Sbdestruct atm_pseudohdr;
4133054Sbdestruct mbuf;
4233054Sbdestruct rtentry;
4333054Sbdestruct sockaddr;
4433054Sbde
4592723Salfredvoid atm_rtrequest(int, struct rtentry *, struct rt_addrinfo *);
46249925Sglebiusint atmresolve(struct rtentry *, struct mbuf *, const struct sockaddr *,
4792723Salfred		struct atm_pseudohdr *);
48