| 1 |
/* |
| 2 |
Copyright (C) 2001-2026 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
This file is part of GNU Inetutils. |
| 5 |
|
| 6 |
GNU Inetutils is free software: you can redistribute it and/or modify |
| 7 |
it under the terms of the GNU General Public License as published by |
| 8 |
the Free Software Foundation, either version 3 of the License, or (at |
| 9 |
your option) any later version. |
| 10 |
|
| 11 |
GNU Inetutils is distributed in the hope that it will be useful, but |
| 12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
General Public License for more details. |
| 15 |
|
| 16 |
You should have received a copy of the GNU General Public License |
| 17 |
along with this program. If not, see `http://www.gnu.org/licenses/'. */ |
| 18 |
|
| 19 |
#include <config.h> |
| 20 |
|
| 21 |
#include <sys/param.h> |
| 22 |
#include <sys/socket.h> |
| 23 |
#include <sys/file.h> |
| 24 |
#include <sys/time.h> |
| 25 |
|
| 26 |
#include <netinet/in.h> |
| 27 |
#include <arpa/inet.h> |
| 28 |
|
| 29 |
/*#include <netinet/ip_icmp.h> -- deliberately not including this */ |
| 30 |
#ifdef HAVE_NETINET_IP_VAR_H |
| 31 |
# include <netinet/ip_var.h> |
| 32 |
#endif |
| 33 |
|
| 34 |
#include <netdb.h> |
| 35 |
#include <unistd.h> |
| 36 |
#include <stdlib.h> |
| 37 |
#include <string.h> |
| 38 |
#include <stdio.h> |
| 39 |
#include <ctype.h> |
| 40 |
#include <errno.h> |
| 41 |
#include <attribute.h> |
| 42 |
|
| 43 |
#include <ping.h> |
| 44 |
#include <ping_impl.h> |
| 45 |
|
| 46 |
int |
| 47 |
ping_router (char *hostname MAYBE_UNUSED) |
| 48 |
{ |
| 49 |
return 0; |
| 50 |
} |