1118824Sharti/*
2118824Sharti * Copyright (c) 2001-2003
3118824Sharti *	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4118824Sharti * 	All rights reserved.
5118824Sharti *
6118824Sharti * Redistribution and use in source and binary forms, with or without
7118824Sharti * modification, are permitted provided that the following conditions
8118824Sharti * are met:
9118824Sharti * 1. Redistributions of source code must retain the above copyright
10118824Sharti *    notice, this list of conditions and the following disclaimer.
11118824Sharti * 2. Redistributions in binary form must reproduce the above copyright
12118824Sharti *    notice, this list of conditions and the following disclaimer in the
13118824Sharti *    documentation and/or other materials provided with the distribution.
14118824Sharti *
15118824Sharti * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16118824Sharti * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17118824Sharti * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18118824Sharti * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19118824Sharti * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20118824Sharti * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21118824Sharti * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22118824Sharti * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23118824Sharti * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24118824Sharti * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25118824Sharti * SUCH DAMAGE.
26118824Sharti *
27118824Sharti * Author: Hartmut Brandt <harti@freebsd.org>
28118824Sharti *
29118824Sharti * $FreeBSD$
30118824Sharti */
31118824Sharti#include <sys/param.h>
32118824Sharti#include <sys/socket.h>
33118824Sharti#include <sys/queue.h>
34118824Sharti#include <sys/time.h>
35118824Sharti#include <stdio.h>
36118824Sharti#include <stdlib.h>
37118824Sharti#include <string.h>
38118824Sharti#include <unistd.h>
39118824Sharti#include <err.h>
40118824Sharti#include <errno.h>
41118824Sharti#include <netgraph.h>
42118824Sharti#include <net/if.h>
43118824Sharti#include <netinet/in.h>
44118824Sharti
45132492Sharti#ifndef PATH_HELP
46132492Sharti#define	PATH_HELP	"/usr/share/doc/atm:/usr/local/share/doc/atm"
47132492Sharti#endif
48132492Sharti#ifndef FILE_HELP
49118824Sharti#define	FILE_HELP	"atmconfig.help"
50132492Sharti#endif
51132492Sharti#ifndef FILE_HELP_OTHERS
52132492Sharti#define	FILE_HELP_OTHERS "atmconfig_*.help"
53132492Sharti#endif
54133565Sharti#ifndef PATH_ILMI_SOCK
55133565Sharti#define	PATH_ILMI_SOCK	"/var/run/ilmid.sock"
56133565Sharti#endif
57118824Sharti
58118824Sharti/*
59118824Sharti * Builtin commands
60118824Sharti */
61118824Shartiextern const struct cmdtab diag_tab[];
62118824Shartiextern const struct cmdtab natm_tab[];
63