Lines Matching defs:src_mac
109 * Fixed src_mac command to set source mac of packet to value specified in
380 unsigned char src_mac[ETH_ALEN];
620 seq_puts(seq, " src_mac: ");
623 is_zero_ether_addr(pkt_dev->src_mac) ?
624 pkt_dev->odev->dev_addr : pkt_dev->src_mac);
1599 if (!strcmp(name, "src_mac")) {
1609 if (!mac_pton(valstr, pkt_dev->src_mac))
1612 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac);
1614 sprintf(pg_result, "OK: srcmac %pM", pkt_dev->src_mac);
2222 if (is_zero_ether_addr(pkt_dev->src_mac))
2483 tmp = pkt_dev->src_mac[5] + (mc & 0xFF);
2485 tmp = (pkt_dev->src_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8));
2487 tmp = (pkt_dev->src_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8));
2489 tmp = (pkt_dev->src_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8));
2491 tmp = (pkt_dev->src_mac[1] + (tmp >> 8));