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