13cde9171SAlan Somers /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 33cde9171SAlan Somers * 43cde9171SAlan Somers * Copyright (C) 2019 Jan Sucan <jansucan@FreeBSD.org> 53cde9171SAlan Somers * All rights reserved. 63cde9171SAlan Somers * 73cde9171SAlan Somers * Redistribution and use in source and binary forms, with or without 83cde9171SAlan Somers * modification, are permitted provided that the following conditions 93cde9171SAlan Somers * are met: 103cde9171SAlan Somers * 1. Redistributions of source code must retain the above copyright 113cde9171SAlan Somers * notice, this list of conditions and the following disclaimer. 123cde9171SAlan Somers * 2. Redistributions in binary form must reproduce the above copyright 133cde9171SAlan Somers * notice, this list of conditions and the following disclaimer in the 143cde9171SAlan Somers * documentation and/or other materials provided with the distribution. 153cde9171SAlan Somers * 163cde9171SAlan Somers * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 173cde9171SAlan Somers * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 183cde9171SAlan Somers * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 193cde9171SAlan Somers * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 203cde9171SAlan Somers * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 213cde9171SAlan Somers * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 223cde9171SAlan Somers * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 233cde9171SAlan Somers * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 243cde9171SAlan Somers * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 253cde9171SAlan Somers * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 263cde9171SAlan Somers * SUCH DAMAGE. 273cde9171SAlan Somers */ 283cde9171SAlan Somers 293cde9171SAlan Somers #ifndef PING_H 303cde9171SAlan Somers #define PING_H 1 313cde9171SAlan Somers 323cde9171SAlan Somers int ping(int argc, char *const *argv); 333cde9171SAlan Somers 343cde9171SAlan Somers #endif 35