Found 7 other functions taking a
tcp_seg
argument:
Deallocates a list of TCP segments (tcp_seg structures).
Frees a TCP segment (tcp_seg structure).
Returns a copy of the given TCP segment. The pbuf and data are not copied, only the pointers
Check if a segment's pbufs are used by someone else than TCP. This can happen on retransmission if the pbuf of this segment is still referenced by the netif driver due to deferred transmission. This is the case (only!) if someone down the TX call path called pbuf_ref() on one of the pbufs! @arg seg the tcp segment to check
Remove segments from a list if the incoming ACK acknowledges them
Called by tcp_output() to actually send a TCP segment over IP.