xref: /freebsd/usr.sbin/traceroute/as.h (revision 9b7a920a12a9377b9c8227f72748ab32fbbb4822)
1*9b7a920aSLexi Winter /*	$NetBSD: as.h,v 1.1 2001/11/04 23:14:36 atatat Exp $	*/
2*9b7a920aSLexi Winter 
3*9b7a920aSLexi Winter /*
4*9b7a920aSLexi Winter  * Copyright (c) 2001 The NetBSD Foundation, Inc.
5*9b7a920aSLexi Winter  * All rights reserved.
6*9b7a920aSLexi Winter  *
7*9b7a920aSLexi Winter  * This code is derived from software contributed to The NetBSD Foundation
8*9b7a920aSLexi Winter  * by Andrew Brown.
9*9b7a920aSLexi Winter  *
10*9b7a920aSLexi Winter  * Redistribution and use in source and binary forms, with or without
11*9b7a920aSLexi Winter  * modification, are permitted provided that the following conditions
12*9b7a920aSLexi Winter  * are met:
13*9b7a920aSLexi Winter  * 1. Redistributions of source code must retain the above copyright
14*9b7a920aSLexi Winter  *    notice, this list of conditions and the following disclaimer.
15*9b7a920aSLexi Winter  * 2. Redistributions in binary form must reproduce the above copyright
16*9b7a920aSLexi Winter  *    notice, this list of conditions and the following disclaimer in the
17*9b7a920aSLexi Winter  *    documentation and/or other materials provided with the distribution.
18*9b7a920aSLexi Winter  *
19*9b7a920aSLexi Winter  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*9b7a920aSLexi Winter  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*9b7a920aSLexi Winter  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*9b7a920aSLexi Winter  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*9b7a920aSLexi Winter  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*9b7a920aSLexi Winter  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*9b7a920aSLexi Winter  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*9b7a920aSLexi Winter  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*9b7a920aSLexi Winter  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*9b7a920aSLexi Winter  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*9b7a920aSLexi Winter  * POSSIBILITY OF SUCH DAMAGE.
30*9b7a920aSLexi Winter  */
31*9b7a920aSLexi Winter 
32*9b7a920aSLexi Winter void *as_setup(const char *);
33*9b7a920aSLexi Winter unsigned int as_lookup(void *, char *, sa_family_t);
34*9b7a920aSLexi Winter void as_shutdown(void *);
35