Home
last modified time | relevance | path

Searched refs:eaddr (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/networking/
Dether-wake.c126 static void get_dest_addr(const char *hostid, struct ether_addr *eaddr) in get_dest_addr() argument
130 eap = ether_aton_r(hostid, eaddr); in get_dest_addr()
134 } else if (ether_hostton(hostid, eaddr) == 0) { in get_dest_addr()
135 bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr)); in get_dest_addr()
143 static int fill_pkt_header(unsigned char *pkt, struct ether_addr *eaddr, int broadcast) in fill_pkt_header() argument
146 unsigned char *station_addr = eaddr->ether_addr_octet; in fill_pkt_header()
210 struct ether_addr eaddr; in ether_wake_main() local
226 get_dest_addr(argv[optind], &eaddr); in ether_wake_main()
229 pktsize = fill_pkt_header(outpack, &eaddr, flags /* & 1 OPT_BROADCAST */); in ether_wake_main()