1570af302Sopenharmony_ci#ifndef _NETINET_ETHER_H 2570af302Sopenharmony_ci#define _NETINET_ETHER_H 3570af302Sopenharmony_ci 4570af302Sopenharmony_ci#ifdef __cplusplus 5570af302Sopenharmony_ciextern "C" { 6570af302Sopenharmony_ci#endif 7570af302Sopenharmony_ci 8570af302Sopenharmony_ci#include <netinet/if_ether.h> 9570af302Sopenharmony_ci 10570af302Sopenharmony_cichar *ether_ntoa (const struct ether_addr *); 11570af302Sopenharmony_cistruct ether_addr *ether_aton (const char *); 12570af302Sopenharmony_cichar *ether_ntoa_r (const struct ether_addr *, char *); 13570af302Sopenharmony_cistruct ether_addr *ether_aton_r (const char *, struct ether_addr *); 14570af302Sopenharmony_ciint ether_line(const char *, struct ether_addr *, char *); 15570af302Sopenharmony_ciint ether_ntohost(char *, const struct ether_addr *); 16570af302Sopenharmony_ciint ether_hostton(const char *, struct ether_addr *); 17570af302Sopenharmony_ci 18570af302Sopenharmony_ci#ifdef __cplusplus 19570af302Sopenharmony_ci} 20570af302Sopenharmony_ci#endif 21570af302Sopenharmony_ci 22570af302Sopenharmony_ci#endif 23