xref: /netbsd-src/usr.bin/netstat/netstat_hostops.c (revision 92aab12c024c8d14b80bc4dbb072694155431ab6)
1*92aab12cSchristos /*	$NetBSD: netstat_hostops.c,v 1.4 2020/04/03 16:41:59 christos Exp $	*/
2f2ee3162Spooka 
3f2ee3162Spooka /*
4f2ee3162Spooka  * Copyright (c) 2010 The NetBSD Foundation, Inc.
5f2ee3162Spooka  * All rights reserved.
6f2ee3162Spooka  *
7f2ee3162Spooka  * Redistribution and use in source and binary forms, with or without
8f2ee3162Spooka  * modification, are permitted provided that the following conditions
9f2ee3162Spooka  * are met:
10f2ee3162Spooka  * 1. Redistributions of source code must retain the above copyright
11f2ee3162Spooka  *    notice, this list of conditions and the following disclaimer.
12f2ee3162Spooka  * 2. Redistributions in binary form must reproduce the above copyright
13f2ee3162Spooka  *    notice, this list of conditions and the following disclaimer in the
14f2ee3162Spooka  *    documentation and/or other materials provided with the distribution.
15f2ee3162Spooka  *
16f2ee3162Spooka  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17f2ee3162Spooka  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18f2ee3162Spooka  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19f2ee3162Spooka  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20f2ee3162Spooka  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21f2ee3162Spooka  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22f2ee3162Spooka  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23f2ee3162Spooka  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24f2ee3162Spooka  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25f2ee3162Spooka  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26f2ee3162Spooka  * POSSIBILITY OF SUCH DAMAGE.
27f2ee3162Spooka  */
28f2ee3162Spooka 
29*92aab12cSchristos #include "route_hostops.c"
30