Searched refs:eth_rcv_current (Results 1 – 1 of 1) sorted by relevance
35 static unsigned int eth_rcv_current, eth_rcv_last; variable375 if ((eth_rcv_last+1) % PKTBUFSRX == eth_rcv_current) in eth_save_packet()394 if (eth_rcv_current == eth_rcv_last) { in eth_receive()399 if (eth_rcv_current == eth_rcv_last) in eth_receive()403 length = min(eth_rcv_bufs[eth_rcv_current].length, length); in eth_receive()406 p[i] = eth_rcv_bufs[eth_rcv_current].data[i]; in eth_receive()408 eth_rcv_current = (eth_rcv_current + 1) % PKTBUFSRX; in eth_receive()