HelenOS sources

e1000_inc_tail   1180 uspace/drv/nic/e1k/e1k.c 	uint32_t next_tail = e1000_inc_tail(*tail_addr, E1000_RX_FRAME_COUNT);
e1000_inc_tail   1198 uspace/drv/nic/e1k/e1k.c 		*tail_addr = e1000_inc_tail(*tail_addr, E1000_RX_FRAME_COUNT);
e1000_inc_tail   1199 uspace/drv/nic/e1k/e1k.c 		next_tail = e1000_inc_tail(*tail_addr, E1000_RX_FRAME_COUNT);
HelenOS homepage, sources at GitHub