lwip: Allow configuring/disabling some TCP options to save RAM

RAM savings are small, but may add up when running large numbers of sockets.
This commit is contained in:
Angus Gratton
2017-06-22 17:14:21 +10:00
committed by Angus Gratton
parent 8aa09aea10
commit 1c6510ed96
4 changed files with 101 additions and 6 deletions

View File

@@ -110,9 +110,11 @@ static void dbg_lwip_tcp_pcb_one_show(struct tcp_pcb* pcb)
seg = pcb->unacked;
DBG_LWIP_SEG_SHOW(seg);
ESP_LWIP_LOGI("ooseg semengts:");
#if TCP_QUEUE_OOSEQ
ESP_LWIP_LOGI("ooseq semengts:");
seg = pcb->ooseq;
DBG_LWIP_SEG_SHOW(seg);
#endif
ESP_LWIP_LOGI("refused data=%p", pcb->refused_data);