Lines Matching full:hard
98 if (pkt->hard.dest == 0) { in type_trans()
102 if (pkt->hard.dest != dev->dev_addr[0]) in type_trans()
161 /* Create the ARCnet hard/soft headers for RFC1051 */
191 pkt->hard.source = *dev->dev_addr; in build_header()
199 pkt->hard.dest = 0; in build_header()
203 pkt->hard.dest = daddr; in build_header()
212 struct arc_hardware *hard = &pkt->hard; in prepare_tx() local
218 /* hard header is not included in packet length */ in prepare_tx()
228 hard->offset[0] = 0; in prepare_tx()
229 hard->offset[1] = ofs = 512 - length; in prepare_tx()
231 hard->offset[0] = 0; in prepare_tx()
232 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx()
234 hard->offset[0] = ofs = 256 - length; in prepare_tx()
237 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx()
240 lp->lastload_dest = hard->dest; in prepare_tx()