diff options
author | chuck <chuck@cvs.openbsd.org> | 1996-06-21 15:14:36 +0000 |
---|---|---|
committer | chuck <chuck@cvs.openbsd.org> | 1996-06-21 15:14:36 +0000 |
commit | 5729aed5f06b06d46c3f14085e8ec702e0b52fbf (patch) | |
tree | 07af9a76444bde182a898ebc25aaf26c7ce3b7ce /sys/netinet/if_atm.h | |
parent | 750a8db140259c9fe21cd465f178259641d05a62 (diff) |
network support for ATM networks (ATM == Async Transfer Mode, not
Automatic Teller Machine).
Currently supports PVCs only (no ATM ARP either).
Diffstat (limited to 'sys/netinet/if_atm.h')
-rw-r--r-- | sys/netinet/if_atm.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys/netinet/if_atm.h b/sys/netinet/if_atm.h new file mode 100644 index 00000000000..054cd1a2e99 --- /dev/null +++ b/sys/netinet/if_atm.h @@ -0,0 +1,42 @@ +/* $OpenBSD: if_atm.h,v 1.1 1996/06/21 15:14:35 chuck Exp $ */ + +/* + * + * Copyright (c) 1996 Charles D. Cranor + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Charles D. Cranor. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * if_atm.h + */ + +#ifdef _KERNEL +void atm_rtrequest __P((int, struct rtentry *, struct sockaddr *)); +int atmresolve __P((struct rtentry *, struct mbuf *, struct sockaddr *, + struct atm_pseudohdr *)); +#endif /* _KERNEL */ |