Lines Matching refs:eaddr
110 static void get_dest_addr(const char *hostid, struct ether_addr *eaddr)
116 *eaddr = *eap;
117 bb_debug_msg("The target station address is %s\n\n", ether_ntoa(eaddr));
119 } else if (ether_hostton(hostid, eaddr) == 0) {
120 bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr));
126 static int get_fill(unsigned char *pkt, struct ether_addr *eaddr, int broadcast)
129 unsigned char *station_addr = eaddr->ether_addr_octet;
192 struct ether_addr eaddr;
209 get_dest_addr(argv[optind], &eaddr);
212 pktsize = get_fill(outpack, &eaddr, flags /* & 1 OPT_BROADCAST */);