Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/netinet
File: ether.h
/* Functions for storing Ethernet addresses in ASCII and mapping to hostnames.
[0] Fix | Delete
Copyright (C) 1996-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _NETINET_ETHER_H
[18] Fix | Delete
#define _NETINET_ETHER_H 1
[19] Fix | Delete
[20] Fix | Delete
#include <features.h>
[21] Fix | Delete
[22] Fix | Delete
/* Get definition of `struct ether_addr'. */
[23] Fix | Delete
#include <netinet/if_ether.h>
[24] Fix | Delete
[25] Fix | Delete
#ifdef __USE_MISC
[26] Fix | Delete
__BEGIN_DECLS
[27] Fix | Delete
[28] Fix | Delete
/* Convert 48 bit Ethernet ADDRess to ASCII. */
[29] Fix | Delete
extern char *ether_ntoa (const struct ether_addr *__addr) __THROW;
[30] Fix | Delete
extern char *ether_ntoa_r (const struct ether_addr *__addr, char *__buf)
[31] Fix | Delete
__THROW;
[32] Fix | Delete
[33] Fix | Delete
/* Convert ASCII string S to 48 bit Ethernet address. */
[34] Fix | Delete
extern struct ether_addr *ether_aton (const char *__asc) __THROW;
[35] Fix | Delete
extern struct ether_addr *ether_aton_r (const char *__asc,
[36] Fix | Delete
struct ether_addr *__addr) __THROW;
[37] Fix | Delete
[38] Fix | Delete
/* Map 48 bit Ethernet number ADDR to HOSTNAME. */
[39] Fix | Delete
extern int ether_ntohost (char *__hostname, const struct ether_addr *__addr)
[40] Fix | Delete
__THROW;
[41] Fix | Delete
[42] Fix | Delete
/* Map HOSTNAME to 48 bit Ethernet address. */
[43] Fix | Delete
extern int ether_hostton (const char *__hostname, struct ether_addr *__addr)
[44] Fix | Delete
__THROW;
[45] Fix | Delete
[46] Fix | Delete
/* Scan LINE and set ADDR and HOSTNAME. */
[47] Fix | Delete
extern int ether_line (const char *__line, struct ether_addr *__addr,
[48] Fix | Delete
char *__hostname) __THROW;
[49] Fix | Delete
[50] Fix | Delete
__END_DECLS
[51] Fix | Delete
#endif /* Use misc. */
[52] Fix | Delete
[53] Fix | Delete
#endif /* netinet/ether.h */
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function