tcp_output_segment_busy() function
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
Syntax
static int
tcp_output_segment_busy(const struct tcp_seg *seg);
Return value
1 if ref != 1, 0 if ref == 1