1 #pragma once
2 
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 #include <netinet/if_ether.h>
8 
9 char* ether_ntoa(const struct ether_addr*);
10 struct ether_addr* ether_aton(const char*);
11 char* ether_ntoa_r(const struct ether_addr*, char*);
12 struct ether_addr* ether_aton_r(const char*, struct ether_addr*);
13 int ether_line(const char*, struct ether_addr*, char*);
14 int ether_ntohost(char*, const struct ether_addr*);
15 int ether_hostton(const char*, struct ether_addr*);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20