Lines Matching refs:hard
102 if (pkt->hard.dest == 0)
106 if (pkt->hard.dest != dev->dev_addr[0])
141 int saddr = pkt->hard.source, ofs;
362 skb->len, pkt->hard.source);
364 skb->len, pkt->hard.source);
375 /* Create the ARCnet hard/soft headers for RFC1201. */
421 pkt->hard.source = *dev->dev_addr;
429 pkt->hard.dest = 0;
433 pkt->hard.dest = daddr;
438 static void load_pkt(struct net_device *dev, struct arc_hardware *hard,
447 hard->offset[0] = 0;
448 hard->offset[1] = ofs = 512 - softlen;
456 hard->offset[0] = 0;
458 hard->offset[1] = ofs - RFC1201_HDR_SIZE;
462 hard->offset[0] = ofs = 256 - softlen;
464 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
467 lp->lastload_dest = hard->dest;
482 length -= ARC_HDR_SIZE; /* hard header is not included in packet length */
501 load_pkt(dev, &pkt->hard, &pkt->soft.rfc1201, length, bufnum);
511 struct arc_hardware *hard = &out->pkt->hard;
537 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum);