Searched defs:ether_addr (Results 1 - 2 of 2) sorted by relevance

/external/libpcap/
H A Dnametoaddr.c462 struct ether_addr { struct
466 extern int ether_hostton(const char *, struct ether_addr *);
477 if (ether_hostton(name, (struct ether_addr *)a) == 0) {
/external/tcpdump/
H A Daddrtoname.c48 struct ether_addr { struct
52 extern int ether_ntohost(char *, const struct ether_addr *);
481 * We don't cast it to "const struct ether_addr *"
486 if (ether_ntohost(buf2, (struct ether_addr *)ep) == 0) {
846 * We don't cast it to "const struct ether_addr *"
851 if (ether_ntohost(name, (struct ether_addr *)el->addr) == 0) {

Completed in 365 milliseconds