|
@@ -183,6 +183,19 @@ static void tcp_periodic ( void ) {
|
183
|
183
|
}
|
184
|
184
|
}
|
185
|
185
|
|
|
186
|
+/**
|
|
187
|
+ * Kick a connection into life
|
|
188
|
+ *
|
|
189
|
+ * @v conn TCP connection
|
|
190
|
+ *
|
|
191
|
+ * Call this function when you have new data to send and are not
|
|
192
|
+ * already being called as part of TCP processing.
|
|
193
|
+ */
|
|
194
|
+void tcp_kick ( struct tcp_connection *conn __unused ) {
|
|
195
|
+ /* Just kick all the connections; this will work for now */
|
|
196
|
+ tcp_periodic();
|
|
197
|
+}
|
|
198
|
+
|
186
|
199
|
/**
|
187
|
200
|
* Single-step the TCP stack
|
188
|
201
|
*
|