Files
openharmony_kernel_liteos_m/kal/posix/include/netinet/ether.h
caoruihong d3e54ea9aa Description: add posix api header files from musl
CommitID:70a1d0d4761c478b6b33c3eb29af254a445ada74
2021-01-22 16:32:15 +08:00

23 lines
543 B
C

#ifndef _NETINET_ETHER_H
#define _NETINET_ETHER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <netinet/if_ether.h>
char *ether_ntoa (const struct ether_addr *);
struct ether_addr *ether_aton (const char *);
char *ether_ntoa_r (const struct ether_addr *, char *);
struct ether_addr *ether_aton_r (const char *, struct ether_addr *);
int ether_line(const char *, struct ether_addr *, char *);
int ether_ntohost(char *, const struct ether_addr *);
int ether_hostton(const char *, struct ether_addr *);
#ifdef __cplusplus
}
#endif
#endif