Added some explaining comments.

This commit is contained in:
goldsimon 2007-10-28 17:43:21 +00:00
parent 7077d51f1f
commit 7a99d73092
2 changed files with 3 additions and 1 deletions

View File

@ -1075,7 +1075,8 @@ tcp_poll(struct tcp_pcb *pcb,
} }
/** /**
* Purges a TCP PCB. Removes any buffered data and frees the buffer memory. * Purges a TCP PCB. Removes any buffered data and frees the buffer memory
* (pcb->ooseq, pcb->unsent and pcb->unacked are freed).
* *
* @param pcb tcp_pcb to purge. The pcb itself is not deallocated! * @param pcb tcp_pcb to purge. The pcb itself is not deallocated!
*/ */

View File

@ -1235,6 +1235,7 @@ tcp_receive(struct tcp_pcb *pcb)
* from uIP with only small changes.) * from uIP with only small changes.)
* *
* Called from tcp_listen_input() and tcp_process(). * Called from tcp_listen_input() and tcp_process().
* Currently, only the MSS option is supported!
* *
* @param pcb the tcp_pcb for which a segment arrived * @param pcb the tcp_pcb for which a segment arrived
*/ */