skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_AX25);
netif_rx(skb);
+ dev->last_rx = jiffies;
sp->stats.rx_packets++;
}
skb->protocol = htons(ETH_P_AX25);
skb->mac.raw = skb->data;
netif_rx(skb);
+ dev->last_rx = jiffies;
bc->stats.rx_packets++;
}
skb->pkt_type = PACKET_HOST;
netif_rx(skb);
+ dev->last_rx = jiffies;
return 0;
}
skb->protocol = htons(ETH_P_AX25);
skb->mac.raw = skb->data;
netif_rx(skb);
+ dev->last_rx = jiffies;
s->stats.rx_packets++;
}
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_AX25);
netif_rx(skb);
+ dev->last_rx = jiffies;
tmp_ax->rx_packets++;
}
skb->pkt_type = PACKET_HOST;
netif_rx(skb);
+ dev->last_rx = jiffies;
return;
}
skb->protocol = htons(ETH_P_AX25);
skb->mac.raw = skb->data;
netif_rx(skb);
+ dev->last_rx = jiffies;
++yp->stats.rx_packets;
}
}
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_IRDA);
netif_rx(skb);
+ self->netdev->last_rx = jiffies;
}
}
new->mac.raw = new->data;
new->protocol = htons(ETH_P_IRDA);
netif_rx(new);
+ self->netdev->last_rx = jiffies;
done:
/* Note : at this point, the URB we've just received (urb)
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_IRDA);
netif_rx(skb);
+ self->netdev->last_rx = jiffies;
}
}
/* Restore bank register */
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_IRDA);
netif_rx(skb);
+ self->netdev->last_rx = jiffies;
}
/*
self->rxs++;
self->rxs %= RX_SLOTS;
- if (skb)
+ if (skb) {
netif_rx (skb);
+ self->netdev->last_rx = jiffies;
+ }
}
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_IRDA);
netif_rx(skb);
+ ndev->last_rx = jiffies;
}
else {
idev->stats.rx_dropped++;
skb->mac.raw = skb->data;
skb->protocol = htons(ETH_P_IRDA);
netif_rx(skb);
+ self->netdev->last_rx = jiffies;
}
}
/* Restore set register */
skb->protocol = eth_type_trans(skb,dev);
netif_rx(skb);
+ dev->last_rx = jiffies;
lp->stats.rx_packets++;
} else {
#if 0
lp->stats.rx_bytes += skb->len;
skb->protocol=eth_type_trans(skb,dev);
netif_rx(skb);
+ dev->last_rx = jiffies;
lp->stats.rx_packets++;
}
}
len, 0);
skb->protocol = eth_type_trans(skb, dev);
netif_rx(skb);
+ dev->last_rx = jiffies;
}
} else {
/* We got an error packet. */
/* Pass the packet to the networking stack */
netif_rx(skb);
+ dev->last_rx = jiffies;
stats->rx_packets++;
stats->rx_bytes += length;