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