| 569 | } |
| 570 | |
| 571 | void tcpSent(struct net_context *context, int status, void *user_data) |
| 572 | { |
| 573 | TCPWrite tw = user_data; |
| 574 | if (!tw) return; |
| 575 | TCP tcp = tw->tcp; |
| 576 | tcp->sendBytesInFlight -= tw->byteLength; |
| 577 | c_free(tw); |
| 578 | |
| 579 | tcpTrigger(tcp, (status < 0) ? kTCPError : kTCPWritable); |
| 580 | } |
| 581 | |
| 582 | void tcpTrigger(TCP tcp, uint8_t trigger) |
| 583 | { |
nothing calls this directly
no test coverage detected