Added tcp_kick(). This speed up LILO and GRUB booting by almost two

orders of magnitude.
This commit is contained in:
Michael Brown
2006-05-27 19:01:20 +00:00
parent cd3ecac809
commit f743de4858
3 changed files with 15 additions and 0 deletions

View File

@@ -183,6 +183,19 @@ static void tcp_periodic ( void ) {
}
}
/**
* Kick a connection into life
*
* @v conn TCP connection
*
* Call this function when you have new data to send and are not
* already being called as part of TCP processing.
*/
void tcp_kick ( struct tcp_connection *conn __unused ) {
/* Just kick all the connections; this will work for now */
tcp_periodic();
}
/**
* Single-step the TCP stack
*