Lines Matching refs:dst_mac
344 unsigned char dst_mac[ETH_ALEN]; member
581 seq_printf(seq, "%pM\n", pkt_dev->dst_mac); in pktgen_if_show()
1468 if (!mac_pton(valstr, pkt_dev->dst_mac)) in pktgen_if_write()
1471 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write()
1473 sprintf(pg_result, "OK: dstmac %pM", pkt_dev->dst_mac); in pktgen_if_write()
2094 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject()
2382 tmp = pkt_dev->dst_mac[5] + (mc & 0xFF); in mod_cur_headers()
2384 tmp = (pkt_dev->dst_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2386 tmp = (pkt_dev->dst_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2388 tmp = (pkt_dev->dst_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2390 tmp = (pkt_dev->dst_mac[1] + (tmp >> 8)); in mod_cur_headers()