Lines Matching refs:soft
545 struct arc_rfc1201 *soft; in arcnet_send_packet() local
556 soft = &pkt->soft.rfc1201; in arcnet_send_packet()
557 proto = arc_proto_map[soft->proto]; in arcnet_send_packet()
951 struct arc_rfc1201 *soft; in arcnet_rx() local
954 soft = &pkt.soft.rfc1201; in arcnet_rx()
966 if (sizeof(pkt.soft) <= length) in arcnet_rx()
967 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(pkt.soft)); in arcnet_rx()
969 memset(&pkt.soft, 0, sizeof(pkt.soft)); in arcnet_rx()
970 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
981 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx()
985 *newp = arc_proto_map[soft->proto]; in arcnet_rx()
990 " (was '%c')\n", soft->proto, pkt.hard.source, in arcnet_rx()
996 lp->default_proto[0] = soft->proto; in arcnet_rx()
999 lp->default_proto[pkt.hard.source] = soft->proto; in arcnet_rx()
1002 arc_proto_map[soft->proto]->rx(dev, bufnum, &pkt, length); in arcnet_rx()
1011 pkthdr->soft.rfc1201.proto, pkthdr->hard.source); in null_rx()