Lines Matching refs:hard
101 if (pkt->hard.dest == 0) {
105 if (pkt->hard.dest != dev->dev_addr[0])
139 int saddr = pkt->hard.source, ofs;
364 skb->len, pkt->hard.source);
366 skb->len, pkt->hard.source);
376 /* Create the ARCnet hard/soft headers for RFC1201. */
421 pkt->hard.source = *dev->dev_addr;
434 pkt->hard.dest = 0;
438 pkt->hard.dest = daddr;
442 static void load_pkt(struct net_device *dev, struct arc_hardware *hard,
451 hard->offset[0] = 0;
452 hard->offset[1] = ofs = 512 - softlen;
460 hard->offset[0] = 0;
462 hard->offset[1] = ofs - RFC1201_HDR_SIZE;
466 hard->offset[0] = ofs = 256 - softlen;
469 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
472 lp->lastload_dest = hard->dest;
485 /* hard header is not included in packet length */
505 load_pkt(dev, &pkt->hard, &pkt->soft.rfc1201, length, bufnum);
514 struct arc_hardware *hard = &out->pkt->hard;
540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum);