Lines Matching refs:src_mac
378 unsigned char src_mac[ETH_ALEN]; member
619 is_zero_ether_addr(pkt_dev->src_mac) ? in pktgen_if_show()
620 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show()
1554 if (!mac_pton(valstr, pkt_dev->src_mac)) in pktgen_if_write()
1557 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); in pktgen_if_write()
1559 sprintf(pg_result, "OK: srcmac %pM", pkt_dev->src_mac); in pktgen_if_write()
2161 if (is_zero_ether_addr(pkt_dev->src_mac)) in pktgen_setup_inject()
2422 tmp = pkt_dev->src_mac[5] + (mc & 0xFF); in mod_cur_headers()
2424 tmp = (pkt_dev->src_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2426 tmp = (pkt_dev->src_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2428 tmp = (pkt_dev->src_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2430 tmp = (pkt_dev->src_mac[1] + (tmp >> 8)); in mod_cur_headers()