Blame sysdeps/mach/hurd/res_enable_icmp.c
|
Packit Bot |
fffdfa |
/* Enable full ICMP errors on a socket. No-op version for Hurd.
|
|
Packit Bot |
fffdfa |
Copyright (C) 2019 Free Software Foundation, Inc.
|
|
Packit Bot |
fffdfa |
This file is part of the GNU C Library.
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Bot |
fffdfa |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Bot |
fffdfa |
License as published by the Free Software Foundation; either
|
|
Packit Bot |
fffdfa |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Bot |
fffdfa |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Bot |
fffdfa |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Bot |
fffdfa |
Lesser General Public License for more details.
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Bot |
fffdfa |
License along with the GNU C Library; if not, see
|
|
Packit Bot |
fffdfa |
<http://www.gnu.org/licenses/>. */
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
/* Mach does not support the IP_RECVERR extension. */
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
#include <resolv.h>
|
|
Packit Bot |
fffdfa |
|
|
Packit Bot |
fffdfa |
int
|
|
Packit Bot |
fffdfa |
__res_enable_icmp (int family, int fd)
|
|
Packit Bot |
fffdfa |
{
|
|
Packit Bot |
fffdfa |
return 0;
|
|
Packit Bot |
fffdfa |
}
|